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/QuickReplies/src/common.h | 62 ------------------------------- plugins/QuickReplies/src/events.cpp | 2 +- plugins/QuickReplies/src/options.cpp | 2 +- plugins/QuickReplies/src/quickreplies.cpp | 2 +- plugins/QuickReplies/src/stdafx.cpp | 18 --------- plugins/QuickReplies/src/stdafx.cxx | 18 +++++++++ plugins/QuickReplies/src/stdafx.h | 62 +++++++++++++++++++++++++++++++ 7 files changed, 83 insertions(+), 83 deletions(-) delete mode 100644 plugins/QuickReplies/src/common.h delete mode 100644 plugins/QuickReplies/src/stdafx.cpp create mode 100644 plugins/QuickReplies/src/stdafx.cxx create mode 100644 plugins/QuickReplies/src/stdafx.h (limited to 'plugins/QuickReplies/src') diff --git a/plugins/QuickReplies/src/common.h b/plugins/QuickReplies/src/common.h deleted file mode 100644 index 6ea75ae0c6..0000000000 --- a/plugins/QuickReplies/src/common.h +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright (C) 2010 Unsane - -This is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this file; see the file license.txt. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ - - -#ifndef __QUICK_REPLY_H__ -#define __QUICK_REPLY_H__ - -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "version.h" -#include "resource.h" - -#define MODULE "QuickReplies" -#define IDC_MESSAGE 1002 -#define IDC_CHATMESSAGE 1009 - -#define MS_QUICKREPLIES_SERVICE MODULE"/Service" - -extern HINSTANCE hInstance; - -extern BYTE iNumber; - -extern HANDLE hOnOptInitialized; -extern HANDLE hOnButtonPressed; -extern HANDLE hQuickRepliesService; -extern HANDLE hOnModulesLoaded; -extern HANDLE hOnPreShutdown; - -INT_PTR QuickRepliesService(WPARAM wParam, LPARAM lParam); - -int OnModulesLoaded(WPARAM wParam, LPARAM lParam); -int OnOptInitialized(WPARAM wParam, LPARAM lParam); -int OnButtonPressed(WPARAM wParam, LPARAM lParam); -int OnPreShutdown(WPARAM wParam, LPARAM lParam); - -#endif //__QUICK_REPLY_H__ \ No newline at end of file diff --git a/plugins/QuickReplies/src/events.cpp b/plugins/QuickReplies/src/events.cpp index 8b45833498..224f8cb621 100644 --- a/plugins/QuickReplies/src/events.cpp +++ b/plugins/QuickReplies/src/events.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" using namespace std; diff --git a/plugins/QuickReplies/src/options.cpp b/plugins/QuickReplies/src/options.cpp index 3b773487fc..9a3d9067cc 100644 --- a/plugins/QuickReplies/src/options.cpp +++ b/plugins/QuickReplies/src/options.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" static LRESULT CALLBACK MessageEditSubclassProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { diff --git a/plugins/QuickReplies/src/quickreplies.cpp b/plugins/QuickReplies/src/quickreplies.cpp index 063ef0c8d3..7b77d8b8cb 100644 --- a/plugins/QuickReplies/src/quickreplies.cpp +++ b/plugins/QuickReplies/src/quickreplies.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" HINSTANCE hInstance = NULL; int hLangpack; diff --git a/plugins/QuickReplies/src/stdafx.cpp b/plugins/QuickReplies/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/QuickReplies/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 "common.h" \ No newline at end of file diff --git a/plugins/QuickReplies/src/stdafx.cxx b/plugins/QuickReplies/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/QuickReplies/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/QuickReplies/src/stdafx.h b/plugins/QuickReplies/src/stdafx.h new file mode 100644 index 0000000000..6ea75ae0c6 --- /dev/null +++ b/plugins/QuickReplies/src/stdafx.h @@ -0,0 +1,62 @@ +/* +Copyright (C) 2010 Unsane + +This is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This 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 +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with this file; see the file license.txt. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. +*/ + + +#ifndef __QUICK_REPLY_H__ +#define __QUICK_REPLY_H__ + +#include + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "version.h" +#include "resource.h" + +#define MODULE "QuickReplies" +#define IDC_MESSAGE 1002 +#define IDC_CHATMESSAGE 1009 + +#define MS_QUICKREPLIES_SERVICE MODULE"/Service" + +extern HINSTANCE hInstance; + +extern BYTE iNumber; + +extern HANDLE hOnOptInitialized; +extern HANDLE hOnButtonPressed; +extern HANDLE hQuickRepliesService; +extern HANDLE hOnModulesLoaded; +extern HANDLE hOnPreShutdown; + +INT_PTR QuickRepliesService(WPARAM wParam, LPARAM lParam); + +int OnModulesLoaded(WPARAM wParam, LPARAM lParam); +int OnOptInitialized(WPARAM wParam, LPARAM lParam); +int OnButtonPressed(WPARAM wParam, LPARAM lParam); +int OnPreShutdown(WPARAM wParam, LPARAM lParam); + +#endif //__QUICK_REPLY_H__ \ No newline at end of file -- cgit v1.2.3