summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AVS/src/stdafx.h')
-rw-r--r--plugins/AVS/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/AVS/src/stdafx.h b/plugins/AVS/src/stdafx.h
index 596b29fecd..162b642359 100644
--- a/plugins/AVS/src/stdafx.h
+++ b/plugins/AVS/src/stdafx.h
@@ -57,6 +57,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define SHVIEW_THUMBNAIL 0x702D
#endif
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(AVS_MODULE)
+ {}
+};
+
/* most free()'s are invalid when the code is executed from a dll, so this changes
all the bad free()'s to good ones, however it's still incorrect code. The reasons for not
changing them include:
@@ -122,8 +129,6 @@ extern wchar_t g_szDataPath[]; // user datae path (read at startup only)
extern BOOL g_AvatarHistoryAvail;
extern HWND hwndSetMyAvatar;
-extern HINSTANCE g_hInst;
-
extern HANDLE hMyAvatarsFolder;
extern HANDLE hGlobalAvatarFolder;
extern HANDLE hLoaderEvent, hShutdownEvent;