From 07209607fbe1018503f1304bedff37daea7e9e82 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 25 Apr 2015 11:41:23 +0000 Subject: BuddyExpectator - common project git-svn-id: http://svn.miranda-ng.org/main/trunk@13132 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BuddyExpectator/src/BuddyExpectator.cpp | 2 +- plugins/BuddyExpectator/src/common.h | 57 ------------------------- plugins/BuddyExpectator/src/options.cpp | 2 +- plugins/BuddyExpectator/src/stdafx.cpp | 18 -------- plugins/BuddyExpectator/src/stdafx.cxx | 18 ++++++++ plugins/BuddyExpectator/src/stdafx.h | 56 ++++++++++++++++++++++++ 6 files changed, 76 insertions(+), 77 deletions(-) delete mode 100644 plugins/BuddyExpectator/src/common.h delete mode 100644 plugins/BuddyExpectator/src/stdafx.cpp create mode 100644 plugins/BuddyExpectator/src/stdafx.cxx create mode 100644 plugins/BuddyExpectator/src/stdafx.h (limited to 'plugins/BuddyExpectator/src') diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index 9f5a9eac05..1e5af0dac8 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "common.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack; diff --git a/plugins/BuddyExpectator/src/common.h b/plugins/BuddyExpectator/src/common.h deleted file mode 100644 index 128fce7859..0000000000 --- a/plugins/BuddyExpectator/src/common.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - Buddy Expectator+ plugin for Miranda-IM (www.miranda-im.org) - (c)2005 Anar Ibragimoff (ai91@mail.ru) - (c)2006 Scott Ellis (mail@scottellis.com.au) - (c)2007 Alexander Turyak (thief@miranda-im.org.ua) - - 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 2 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, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#define _CRT_SECURE_NO_WARNINGS -#ifndef _COMMON_INC -#define _COMMON_INC - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "resource.h" -#include "options.h" -#include "version.h" - -#define MODULE_NAME "BuddyExpectator" - -extern HINSTANCE hInst; -extern HANDLE hExtraIcon; - -void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); -extern DWORD timer_id; - -#endif diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp index 3a597f4175..d936da7738 100644 --- a/plugins/BuddyExpectator/src/options.cpp +++ b/plugins/BuddyExpectator/src/options.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "common.h" +#include "stdafx.h" #define DEF_COLOR_BACK 0xCEF7AD #define DEF_COLOR_FORE 0x000000 diff --git a/plugins/BuddyExpectator/src/stdafx.cpp b/plugins/BuddyExpectator/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/BuddyExpectator/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/BuddyExpectator/src/stdafx.cxx b/plugins/BuddyExpectator/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/BuddyExpectator/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/BuddyExpectator/src/stdafx.h b/plugins/BuddyExpectator/src/stdafx.h new file mode 100644 index 0000000000..493aa9a4d1 --- /dev/null +++ b/plugins/BuddyExpectator/src/stdafx.h @@ -0,0 +1,56 @@ +/* + Buddy Expectator+ plugin for Miranda-IM (www.miranda-im.org) + (c)2005 Anar Ibragimoff (ai91@mail.ru) + (c)2006 Scott Ellis (mail@scottellis.com.au) + (c)2007 Alexander Turyak (thief@miranda-im.org.ua) + + 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 2 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, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _COMMON_INC +#define _COMMON_INC + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "options.h" +#include "version.h" + +#define MODULE_NAME "BuddyExpectator" + +extern HINSTANCE hInst; +extern HANDLE hExtraIcon; + +void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); +extern DWORD timer_id; + +#endif -- cgit v1.2.3