summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src/stdafx.h')
-rw-r--r--plugins/SmileyAdd/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/stdafx.h b/plugins/SmileyAdd/src/stdafx.h
index 22ac7afc7d..94092b9044 100644
--- a/plugins/SmileyAdd/src/stdafx.h
+++ b/plugins/SmileyAdd/src/stdafx.h
@@ -50,7 +50,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define NETLIB_NOLOGGING
-#define __NO_CMPLUGIN_NEEDED
#include <win2k.h>
#include <newpluginapi.h>
#include <m_clist.h>
@@ -88,7 +87,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "smileyroutines.h"
#include "smltool.h"
-extern HINSTANCE g_hInst;
extern HNETLIBUSER hNetlibUser;
extern HANDLE hEvent1;
extern HGENMENU hContactMenuItem;
@@ -98,6 +96,13 @@ extern LIST<void> menuHandleArray;
#define MODULENAME "SmileyAdd"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULENAME)
+ {}
+};
+
#define DM_REMAKELOG (WM_USER + 11)
#define DM_OPTIONSAPPLIED (WM_USER + 14)
#define DM_APPENDTOLOG (WM_USER + 17)