From 2a81bd5a12324512985116f17674c65a5906ed1d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 25 Jul 2015 14:41:41 +0000 Subject: MenuEx: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14689 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/images.cpp | 2 +- plugins/MenuItemEx/src/main.cpp | 2 +- plugins/MenuItemEx/src/menuex.h | 67 -------------------------------------- plugins/MenuItemEx/src/options.cpp | 2 +- plugins/MenuItemEx/src/stdafx.cpp | 18 ---------- plugins/MenuItemEx/src/stdafx.cxx | 18 ++++++++++ plugins/MenuItemEx/src/stdafx.h | 67 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 88 insertions(+), 88 deletions(-) delete mode 100644 plugins/MenuItemEx/src/menuex.h delete mode 100644 plugins/MenuItemEx/src/stdafx.cpp create mode 100644 plugins/MenuItemEx/src/stdafx.cxx create mode 100644 plugins/MenuItemEx/src/stdafx.h (limited to 'plugins/MenuItemEx/src') diff --git a/plugins/MenuItemEx/src/images.cpp b/plugins/MenuItemEx/src/images.cpp index 451e694903..a6753392fb 100644 --- a/plugins/MenuItemEx/src/images.cpp +++ b/plugins/MenuItemEx/src/images.cpp @@ -1,4 +1,4 @@ -#include "menuex.h" +#include "stdafx.h" extern HINSTANCE hinstance; diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 57a8e7db05..21936d2049 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -1,4 +1,4 @@ -#include "menuex.h" +#include "stdafx.h" #define MS_SETINVIS "MenuEx/SetInvis" #define MS_SETVIS "MenuEx/SetVis" diff --git a/plugins/MenuItemEx/src/menuex.h b/plugins/MenuItemEx/src/menuex.h deleted file mode 100644 index cc23ddfb39..0000000000 --- a/plugins/MenuItemEx/src/menuex.h +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef MENUEX_H__ -#define MENUEX_H__ - -#define _CRT_SECURE_NO_DEPRECATE - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include "images.h" -#include "version.h" -#include "resource.h" - -#define MODULENAME "MenuItemEx" - -#define MIIM_STRING 0x00000040 - -extern PLUGININFOEX pluginInfoEx; - -int OptionsInit(WPARAM, LPARAM); - -#define MAX_PROTOS 32 -#define MAX_GROUPS 32 -#define MAX_IDLEN 16 - -#define VF_VS 0x00000001 -#define VF_SMNAME 0x00000002 -#define VF_HFL 0x00000004 -#define VF_IGN 0x00000008 -#define VF_PROTO 0x00000010 -#define VF_SHOWID 0x00000020 -#define VF_ADD 0x00000040 -#define VF_REQ 0x00000080 -#define VF_CID 0x00000100 -#define VF_RECV 0x00000200 -#define VF_STAT 0x00000400 -#define VF_CIDN 0x00000800 -#define VF_CIP 0x00001000 -#define VF_SAI 0x00002000 -#define VF_TRIMID 0x00004000 -#define VF_CMV 0x00008000 -#define VF_IGNH 0x00010000 - -#define CTRL_IS_PRESSED (GetAsyncKeyState(VK_CONTROL)&0x8000) - -extern const int vf_default; - -#endif diff --git a/plugins/MenuItemEx/src/options.cpp b/plugins/MenuItemEx/src/options.cpp index 40960b4c0b..03cc15895e 100644 --- a/plugins/MenuItemEx/src/options.cpp +++ b/plugins/MenuItemEx/src/options.cpp @@ -1,4 +1,4 @@ -#include "menuex.h" +#include "stdafx.h" extern HINSTANCE hinstance; extern BOOL bPopupService; diff --git a/plugins/MenuItemEx/src/stdafx.cpp b/plugins/MenuItemEx/src/stdafx.cpp deleted file mode 100644 index 15f54ac2a9..0000000000 --- a/plugins/MenuItemEx/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "menuex.h" \ No newline at end of file diff --git a/plugins/MenuItemEx/src/stdafx.cxx b/plugins/MenuItemEx/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/MenuItemEx/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/MenuItemEx/src/stdafx.h b/plugins/MenuItemEx/src/stdafx.h new file mode 100644 index 0000000000..cc23ddfb39 --- /dev/null +++ b/plugins/MenuItemEx/src/stdafx.h @@ -0,0 +1,67 @@ +#ifndef MENUEX_H__ +#define MENUEX_H__ + +#define _CRT_SECURE_NO_DEPRECATE + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "images.h" +#include "version.h" +#include "resource.h" + +#define MODULENAME "MenuItemEx" + +#define MIIM_STRING 0x00000040 + +extern PLUGININFOEX pluginInfoEx; + +int OptionsInit(WPARAM, LPARAM); + +#define MAX_PROTOS 32 +#define MAX_GROUPS 32 +#define MAX_IDLEN 16 + +#define VF_VS 0x00000001 +#define VF_SMNAME 0x00000002 +#define VF_HFL 0x00000004 +#define VF_IGN 0x00000008 +#define VF_PROTO 0x00000010 +#define VF_SHOWID 0x00000020 +#define VF_ADD 0x00000040 +#define VF_REQ 0x00000080 +#define VF_CID 0x00000100 +#define VF_RECV 0x00000200 +#define VF_STAT 0x00000400 +#define VF_CIDN 0x00000800 +#define VF_CIP 0x00001000 +#define VF_SAI 0x00002000 +#define VF_TRIMID 0x00004000 +#define VF_CMV 0x00008000 +#define VF_IGNH 0x00010000 + +#define CTRL_IS_PRESSED (GetAsyncKeyState(VK_CONTROL)&0x8000) + +extern const int vf_default; + +#endif -- cgit v1.2.3