15 lines
326 B
Plaintext
15 lines
326 B
Plaintext
#include "globalsearchpopup.h"
|
|
|
|
#include "ApplicationServices/ApplicationServices.h"
|
|
|
|
void GlobalSearchPopup::StorePreviousProcess() {
|
|
mac_psn_ = new ProcessSerialNumber;
|
|
GetFrontProcess(mac_psn_);
|
|
}
|
|
|
|
void GlobalSearchPopup::ActivatePreviousProcess() {
|
|
SetFrontProcess(mac_psn_);
|
|
delete mac_psn_;
|
|
mac_psn_ = NULL;
|
|
}
|