Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cAppStateMain Class Reference

#include <cAppState.h>

Public Member Functions

 cAppStateMain (int argc, APP_ARGS_t argv)
 
 ~cAppStateMain () noexcept
 

Public Attributes

cAppStatem_AppState
 

Detailed Description

Define an instance of this at the top of WinMain(), _tmain() or main() to indicate we are in the main body of the application. For use with cAppState and cAppImpl. this is technically a singleton but its instantiated in main() e.g. cAppStateMain inmain();

Constructor & Destructor Documentation

◆ cAppStateMain()

Gray::cAppStateMain::cAppStateMain ( int  argc,
APP_ARGS_t  argv 
)

main() or _tmain() Current state should be APPSTATE_Init

Only call this once.

◆ ~cAppStateMain()

Gray::cAppStateMain::~cAppStateMain ( )
inlinenoexcept

Member Data Documentation

◆ m_AppState

cAppState& Gray::cAppStateMain::m_AppState

The documentation for this class was generated from the following files: