#include <application.h>
Inheritance diagram for os::Application::
Public Methods | |
Application (const char *pzMimeType) | |
virtual | ~Application () |
uint32 | GetQualifiers () |
Returnes the current state of keyboards qualifiers. More... | |
virtual void | HandleMessage (Message *pcMessage) |
Handle a message targeted at this handler. More... | |
virtual void | __reserved1__ () |
virtual void | __reserved2__ () |
virtual void | __reserved3__ () |
virtual void | __reserved4__ () |
virtual void | __reserved5__ () |
virtual void | __reserved6__ () |
virtual void | __reserved7__ () |
virtual void | __reserved8__ () |
virtual void | __reserved9__ () |
virtual void | __reserved10__ () |
void | PushCursor (mouse_ptr_mode eMode, void *pImage, int nWidth, int nHeight, const IPoint &cHotSpot=IPoint(0, 0)) |
void | PopCursor () |
bigtime_t | GetIdleTime () |
void | GetKeyboardConfig (std::string *pcKeymapName, int *pnKeyDelay, int *pnKeyRepeat) |
status_t | SetKeymap (const char *pzName) |
status_t | SetKeyboardTimings (int nDelay, int nRepeat) |
int | GetScreenModeCount () |
int | GetScreenModeInfo (int nIndex, screen_mode *psMode) |
void | SetWindowDecorator (const char *pzPath) |
void | CommitColorConfig () |
thread_id | Run () |
Entry point for the message loop. More... | |
Static Public Methods | |
Application * | GetInstance () |
Get the (one and only) instance of the Application class. More... | |
Friends | |
class | Window |
class | Desktop |
class | Bitmap |
class | Sprite |
class | View |
class | Font |
class | AppserverConfig |
|
|
|
|
|
|
|
|
|
When the Application class is instantiated it will assign a pointer to the instance to a static member that can be obtained through this function. Many other classes expect this function to return a valid pointer, so it is importen that you instantiate the Application class once (and only once) before calling any other functions in the native AtheOS API.
|
|
|
|
Sends a requester to the appserver to obtain the current state of keyboard qualifiers.
|
|
|
|
|
|
Reimplemented from os::Handler. |
|
|
|
|
|
The Application class is different from other loopers in that it does not spawn a new thread when the Run() member is called. Instead the Run() member directly enter the message loop, and does not return until the message loop quits.
Reimplemented from os::Looper. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from os::Looper. |