Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

PalmApp.hpp File Reference

Go to the source code of this file.

Compounds

class  PalmApp
 A base class for a Palm OS application. More...

class  PalmApp::XPalmApp

Defines

#define BEGIN_ENTRY_POINT(_app)
#define C_STUB(_handler)
#define DEFAULT_C_STUB()
#define END_ENTRY_POINT(_app)

Functions

uint32 PilotMainCStub (uint16, void *, uint16)


Define Documentation

#define BEGIN_ENTRY_POINT _app   
 

Value:

extern "C"                                                                                  \
uint32 PilotMain(uint16 _command, void* _command_pbp, uint16 _flags)                        \
{                                                                                           \
    try                                                                                     \
    {                                                                                       \
        if(!(_flags & sysAppLaunchFlagNewGlobals) && !(_flags & sysAppLaunchFlagSubCall))   \
        {                                                                                   \

Definition at line 210 of file PalmApp.hpp.

#define C_STUB _handler   
 

Value:

return _handler(_command, _command_pbp, _flags);                                \
        }                                                                                   \

Definition at line 219 of file PalmApp.hpp.

 
#define DEFAULT_C_STUB  
 

Value:

return PilotMainCStub(_command, _command_pbp, _flags);                          \
        }                                                                                   \

Definition at line 223 of file PalmApp.hpp.

#define END_ENTRY_POINT _app   
 

Value:

std::auto_ptr<_app> app(new _app());                                                \
        return app->PilotMain(_command, _command_pbp, _flags);                              \
    }                                                                                       \
    catch(...)                                                                              \
    {                                                                                       \
        NON_FATAL_ERROR("The Application unexpectedly terminated");                         \
        return uint32(-1);                                                                          \
    }                                                                                       \
}                                                                                           \

Definition at line 227 of file PalmApp.hpp.


Function Documentation

uint32 PilotMainCStub uint16   ,
void *   ,
uint16   
 


Generated on Tue Jan 22 21:51:22 2002 for AIL by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001