Go to the documentation of this file.
40 #if defined( DOXYGEN_INCLUDE ) || ( \
41 (defined( _WIN32 ) || defined ( _WIN64 ) || defined( WINAPI_FAMILY )) \
42 && ((defined(_AFXDLL) && _AFXDLL) || defined(_MFC_BLD) || defined(__AFX_H__)) )
66 template<
typename CWinApp = ::CWinApp>
76 static std::unique_ptr<CWinApp> g_theApp;
86 AFX_MANAGE_STATE(AfxGetStaticModuleState());
87 g_theApp.reset(
new CWinApp);
89 g_theApp->InitInstance();
104 template<
typename CWinApp>
105 std::unique_ptr<CWinApp> PluginMFCWindows<CWinApp>::g_theApp;
108 #endif // of __cplusplus
109 #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