ZFFramework
 
Loading...
Searching...
No Matches
ZFApp Namespace Reference


More...

Functions

void appExit (zfint appExitCode=(ZFApp::appExitCode()))
 exit the app
 
void appRestart ()
 restart the app
 
zfidentity E_AppParamDispatch (void)
 see ZFObject::observerNotify
 
zfidentity E_AppEntry (void)
 see ZFObject::observerNotify
 
const ZFCoreArray< zfstring > & appParams ()
 get the app params
 
void appExitCode (zfint exitCode)
 exit code for app, 0 by default
 
zfint appExitCode ()
 exit code for app, 0 by default
 

Detailed Description


Function Documentation

◆ E_AppParamDispatch()

zfidentity ZFApp::E_AppParamDispatch ( void )
extern

see ZFObject::observerNotify

notified when ZFMainExecute, before ZFMAIN_ENTRY and ZFApp::E_AppEntry, to let impl to supply custom ZFApp::appParams dispatch

◆ E_AppEntry()

zfidentity ZFApp::E_AppEntry ( void )
extern

◆ appParams()

const ZFCoreArray< zfstring > & ZFApp::appParams ( )
extern

get the app params

NOTE: the app params only avaialble after ZFMAIN_ENTRY