diff options
author | Kirill Volinsky <Mataes2007@gmail.com> | 2018-05-17 09:57:44 +0300 |
---|---|---|
committer | Kirill Volinsky <Mataes2007@gmail.com> | 2018-05-17 09:57:44 +0300 |
commit | f8a6d5631667c382ecc9148f07163cb36681ddc4 (patch) | |
tree | 7f6df83cb7734852f00c4896d9da0bd8db0c2773 /plugins/IEHistory/src/stdafx.h | |
parent | 56239fcddd46400d812d83e38597d593b5c0356d (diff) |
IEHistory: cmplugin adaptation
Diffstat (limited to 'plugins/IEHistory/src/stdafx.h')
-rw-r--r-- | plugins/IEHistory/src/stdafx.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h index 4ef48c89ed..55a4f4aa59 100644 --- a/plugins/IEHistory/src/stdafx.h +++ b/plugins/IEHistory/src/stdafx.h @@ -34,8 +34,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <stdlib.h> #include <uxtheme.h> -#define __NO_CMPLUGIN_NEEDED - #include <newpluginapi.h> #include <m_database.h> #include <m_utils.h> @@ -72,10 +70,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # define sntprintf snwprintf #endif +#define ModuleName "IEHistory" + +struct CMPlugin : public PLUGIN<CMPlugin> +{ + CMPlugin() : + PLUGIN<CMPlugin>(ModuleName) + {} +}; + extern HICON hIcon; //history icon extern int hLangpack; -extern char ModuleName[]; -extern HINSTANCE hInstance; //dll instance extern MWindowList hOpenWindowsList; extern PLUGININFOEX pluginInfo; |