#include <macApplication.h>
Public Types | |
| enum | { ApplicationPresentationDefault = 0, ApplicationPresentationAutoHideDock = (1 << 0), ApplicationPresentationHideDock = (1 << 1), ApplicationPresentationAutoHideMenuBar = (1 << 2), ApplicationPresentationHideMenuBar = (1 << 3) } |
| The constants control the presentation of the application. More... | |
| typedef unsigned int | PresentationOptions |
| Application presentation options storage type. | |
Static Public Member Functions | |
| static void | indicateBusyState (const std::string &message=std::string()) |
| Show busy state indicator, possibly displaying a descriptive message (UTF8). | |
| static void | removeBusyStateIndicator () |
| Hide busy state indicator. | |
| static void | initializeCocoa () |
| Startup function to call when running Cocoa code from a Carbon application. | |
| static void | setPresentationOptions (PresentationOptions options) |
| Sets the application presentation options to use when this application is active. Only certain combinations of “PresentationOptions” flags are supported. | |
| static bool | activate (pid_t pid=0, uint32_t timeout=800) |
| Activate application and bring all process windows forward, timeout allows to wait for application to connect to window server (milliseconds). | |
| static void | enableSuddenTermination () |
| Enables the application for quick killing using sudden termination. | |
| static void | disableSuddenTermination () |
| Disables the application for quickly killing using sudden termination. | |
Definition at line 18 of file macApplication.h.
| typedef unsigned int macx::Application::PresentationOptions |
| anonymous enum |
The constants control the presentation of the application.
Definition at line 42 of file macApplication.h.
| static bool macx::Application::activate | ( | pid_t | pid = 0, |
|
| uint32_t | timeout = 800 | |||
| ) | [static] |
Activate application and bring all process windows forward, timeout allows to wait for application to connect to window server (milliseconds).
| static void macx::Application::disableSuddenTermination | ( | ) | [static] |
Disables the application for quickly killing using sudden termination.
| static void macx::Application::enableSuddenTermination | ( | ) | [static] |
Enables the application for quick killing using sudden termination.
| static void macx::Application::indicateBusyState | ( | const std::string & | message = std::string() |
) | [static] |
Show busy state indicator, possibly displaying a descriptive message (UTF8).
| static void macx::Application::initializeCocoa | ( | ) | [static] |
Startup function to call when running Cocoa code from a Carbon application.
| static void macx::Application::removeBusyStateIndicator | ( | ) | [static] |
Hide busy state indicator.
| static void macx::Application::setPresentationOptions | ( | PresentationOptions | options | ) | [static] |
Sets the application presentation options to use when this application is active. Only certain combinations of “PresentationOptions” flags are supported.
1.5.8