![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cAppState.h>
Public Member Functions | |
cAppStateMain (int argc, APP_ARGS_t argv) | |
~cAppStateMain () noexcept | |
Public Attributes | |
cAppState & | m_AppState |
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();
Gray::cAppStateMain::cAppStateMain | ( | int | argc, |
APP_ARGS_t | argv | ||
) |
main() or _tmain() Current state should be APPSTATE_Init
Only call this once.
|
inlinenoexcept |
cAppState& Gray::cAppStateMain::m_AppState |