From 4a966be3c32e745b2567e51c27766942f798f77d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 26 Jul 2015 12:33:08 +0000 Subject: common projects git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickMessages/src/Utils.cpp | 2 +- plugins/QuickMessages/src/main.cpp | 2 +- plugins/QuickMessages/src/options.cpp | 2 +- plugins/QuickMessages/src/quickmessages.h | 57 ------------------------------- plugins/QuickMessages/src/stdafx.cpp | 18 ---------- plugins/QuickMessages/src/stdafx.cxx | 18 ++++++++++ plugins/QuickMessages/src/stdafx.h | 57 +++++++++++++++++++++++++++++++ 7 files changed, 78 insertions(+), 78 deletions(-) delete mode 100644 plugins/QuickMessages/src/quickmessages.h delete mode 100644 plugins/QuickMessages/src/stdafx.cpp create mode 100644 plugins/QuickMessages/src/stdafx.cxx create mode 100644 plugins/QuickMessages/src/stdafx.h (limited to 'plugins/QuickMessages/src') diff --git a/plugins/QuickMessages/src/Utils.cpp b/plugins/QuickMessages/src/Utils.cpp index 17ce160dac..97cba3ee70 100644 --- a/plugins/QuickMessages/src/Utils.cpp +++ b/plugins/QuickMessages/src/Utils.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "quickmessages.h" +#include "stdafx.h" ListData* ButtonsList[100]; diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp index c4fabc73b8..4939789cc0 100644 --- a/plugins/QuickMessages/src/main.cpp +++ b/plugins/QuickMessages/src/main.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "quickmessages.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE hinstance; diff --git a/plugins/QuickMessages/src/options.cpp b/plugins/QuickMessages/src/options.cpp index ce1a2995c9..4ed6acf0c1 100644 --- a/plugins/QuickMessages/src/options.cpp +++ b/plugins/QuickMessages/src/options.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "quickmessages.h" +#include "stdafx.h" int g_iOPButtonsCount; BOOL bNeedRestart = FALSE; diff --git a/plugins/QuickMessages/src/quickmessages.h b/plugins/QuickMessages/src/quickmessages.h deleted file mode 100644 index 044d0137c7..0000000000 --- a/plugins/QuickMessages/src/quickmessages.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -Quick Messages plugin for Miranda IM - -Copyright (C) 2008 Danil Mozhar - -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, either version 3 of the License, or -(at your option) any later version. - -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 . -*/ - -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "Version.h" -#include "Utils.h" - -#define PLGNAME "QuickMessages" - -extern HINSTANCE hinstance; -extern HANDLE hIcolib; -extern ListData* ButtonsList[100]; -extern SortedList* QuickList; -extern BOOL g_bRClickAuto; -extern BOOL g_bLClickAuto; -extern BOOL g_bQuickMenu; -extern int g_iButtonsCount; - -int OptionsInit(WPARAM,LPARAM); - -#define IDC_MESSAGE 1002 -#define IDC_CHATMESSAGE 1009 diff --git a/plugins/QuickMessages/src/stdafx.cpp b/plugins/QuickMessages/src/stdafx.cpp deleted file mode 100644 index dc40b1b7df..0000000000 --- a/plugins/QuickMessages/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 "quickmessages.h" \ No newline at end of file diff --git a/plugins/QuickMessages/src/stdafx.cxx b/plugins/QuickMessages/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/QuickMessages/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/QuickMessages/src/stdafx.h b/plugins/QuickMessages/src/stdafx.h new file mode 100644 index 0000000000..044d0137c7 --- /dev/null +++ b/plugins/QuickMessages/src/stdafx.h @@ -0,0 +1,57 @@ +/* +Quick Messages plugin for Miranda IM + +Copyright (C) 2008 Danil Mozhar + +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, either version 3 of the License, or +(at your option) any later version. + +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 . +*/ + +#define _CRT_SECURE_NO_DEPRECATE + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "Version.h" +#include "Utils.h" + +#define PLGNAME "QuickMessages" + +extern HINSTANCE hinstance; +extern HANDLE hIcolib; +extern ListData* ButtonsList[100]; +extern SortedList* QuickList; +extern BOOL g_bRClickAuto; +extern BOOL g_bLClickAuto; +extern BOOL g_bQuickMenu; +extern int g_iButtonsCount; + +int OptionsInit(WPARAM,LPARAM); + +#define IDC_MESSAGE 1002 +#define IDC_CHATMESSAGE 1009 -- cgit v1.2.3