Table of Contents

Wwise SDK 2021.1.1
AK.Wwise::Plugin::PluginMFCWindows< CWinApp > Class Template Reference

Initializes MFC for this plug-in. More...

#include <PluginMFCWindows.h>

Public Member Functions

  PluginMFCWindows ()
  Initializes g_theApp singleton. More...
 

Static Public Member Functions

static CWinApp *  GetMFCApp ()
  Retrieves the CWinApp singleton. More...
 

Detailed Description

template<typename CWinApp = ::CWinApp>
class AK.Wwise::Plugin::PluginMFCWindows< CWinApp >

Initializes MFC for this plug-in.

By default, an MFC-based DLL initializes itself when the DLL is loaded. However, not all plug-ins in a DLL container require MFC, so this makes sure to initialize MFC only on instantiation of a particular plug-in.

If you need to modify the CWinApp class on your own, you can update the template.

Note: This should be the first interface of the plug-in, as it needs to be initialized before anything.

Definition at line 68 of file PluginMFCWindows.h.

Initializes MFC for this plug-in.
Definition: PluginMFCWindows.h:69