Go to the documentation of this file.
41 #if defined( DOXYGEN_INCLUDE ) || ( \
42 (defined( _WIN32 ) || defined ( _WIN64 ) || defined( WINAPI_FAMILY )) \
43 && ((defined(_AFXDLL) && _AFXDLL) || defined(_MFC_BLD) || defined(__AFX_H__)) \
44 && __has_include(<afxwin.h>) )
68 template<
typename CWinApp = ::CWinApp>
78 static std::unique_ptr<CWinApp> g_theApp;
88 AFX_MANAGE_STATE(AfxGetStaticModuleState());
89 g_theApp.reset(
new CWinApp);
91 g_theApp->InitInstance();
106 template<
typename CWinApp>
107 std::unique_ptr<CWinApp> PluginMFCWindows<CWinApp>::g_theApp;
110 #endif // of __cplusplus
111 #endif // of Windows detection
PluginMFCWindows()
Initializes g_theApp singleton.
static CWinApp * GetMFCApp()
Retrieves the CWinApp singleton.
Initializes MFC for this plug-in.
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise