From 7895cc6fe02c577394578d0d45cbcf20cbdfc80b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 24 Jul 2015 09:52:32 +0000 Subject: ieview: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/ChatHTMLBuilder.cpp | 2 +- plugins/IEView/src/HTMLBuilder.cpp | 2 +- plugins/IEView/src/HistoryHTMLBuilder.cpp | 2 +- plugins/IEView/src/IEView.cpp | 2 +- plugins/IEView/src/IEView.h | 2 +- plugins/IEView/src/MUCCHTMLBuilder.cpp | 2 +- plugins/IEView/src/Options.cpp | 2 +- plugins/IEView/src/Options.h | 2 +- plugins/IEView/src/ScriverHTMLBuilder.cpp | 2 +- plugins/IEView/src/TabSRMMHTMLBuilder.cpp | 2 +- plugins/IEView/src/Template.cpp | 2 +- plugins/IEView/src/Template.h | 2 +- plugins/IEView/src/TemplateHTMLBuilder.cpp | 2 +- plugins/IEView/src/TextToken.cpp | 2 +- plugins/IEView/src/Utils.cpp | 2 +- plugins/IEView/src/Utils.h | 2 +- plugins/IEView/src/ieview_common.h | 82 ------------------------------ plugins/IEView/src/ieview_main.cpp | 2 +- plugins/IEView/src/ieview_services.cpp | 2 +- plugins/IEView/src/ieview_services.h | 2 +- plugins/IEView/src/stdafx.cpp | 18 ------- plugins/IEView/src/stdafx.cxx | 18 +++++++ plugins/IEView/src/stdafx.h | 81 +++++++++++++++++++++++++++++ 23 files changed, 118 insertions(+), 119 deletions(-) delete mode 100644 plugins/IEView/src/ieview_common.h delete mode 100644 plugins/IEView/src/stdafx.cpp create mode 100644 plugins/IEView/src/stdafx.cxx create mode 100644 plugins/IEView/src/stdafx.h (limited to 'plugins/IEView/src') diff --git a/plugins/IEView/src/ChatHTMLBuilder.cpp b/plugins/IEView/src/ChatHTMLBuilder.cpp index 46c079293b..12c0308a3e 100644 --- a/plugins/IEView/src/ChatHTMLBuilder.cpp +++ b/plugins/IEView/src/ChatHTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" #define CHATMOD "Chat" #define CHATFONTMOD "ChatFonts" diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp index 611d7c74de..69833aa9f8 100644 --- a/plugins/IEView/src/HTMLBuilder.cpp +++ b/plugins/IEView/src/HTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" int HTMLBuilder::mimFlags = 0; diff --git a/plugins/IEView/src/HistoryHTMLBuilder.cpp b/plugins/IEView/src/HistoryHTMLBuilder.cpp index 6ce6b6cc19..5885305f4d 100644 --- a/plugins/IEView/src/HistoryHTMLBuilder.cpp +++ b/plugins/IEView/src/HistoryHTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" // srmm stuff #define SMF_LOG_SHOWNICK 1 diff --git a/plugins/IEView/src/IEView.cpp b/plugins/IEView/src/IEView.cpp index 45bee1cf40..d92c3ce688 100644 --- a/plugins/IEView/src/IEView.cpp +++ b/plugins/IEView/src/IEView.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" #define WM_WAITWHILEBUSY (WM_USER+600) //#define GECKO diff --git a/plugins/IEView/src/IEView.h b/plugins/IEView/src/IEView.h index 8c5692c7d5..bb464d45e0 100644 --- a/plugins/IEView/src/IEView.h +++ b/plugins/IEView/src/IEView.h @@ -23,7 +23,7 @@ class IEView; #ifndef IEVIEW_INCLUDED #define IEVIEW_INCLUDED -#include "ieview_common.h" +#include "stdafx.h" #include "HTMLBuilder.h" //#include "SmileyWindow.h" diff --git a/plugins/IEView/src/MUCCHTMLBuilder.cpp b/plugins/IEView/src/MUCCHTMLBuilder.cpp index 740fd36264..b232f3d5e1 100644 --- a/plugins/IEView/src/MUCCHTMLBuilder.cpp +++ b/plugins/IEView/src/MUCCHTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" #define MUCCMOD "MUCC" diff --git a/plugins/IEView/src/Options.cpp b/plugins/IEView/src/Options.cpp index cb4d82d711..08f4948d52 100644 --- a/plugins/IEView/src/Options.cpp +++ b/plugins/IEView/src/Options.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" #define UM_CHECKSTATECHANGE (WM_USER+100) HANDLE hHookOptionsChanged; diff --git a/plugins/IEView/src/Options.h b/plugins/IEView/src/Options.h index d0420cdc5f..8e626cb9b4 100644 --- a/plugins/IEView/src/Options.h +++ b/plugins/IEView/src/Options.h @@ -23,7 +23,7 @@ class Options; #ifndef OPTIONS_INCLUDED #define OPTIONS_INCLUDED //#include "FontList.h" -#include "ieview_common.h" +#include "stdafx.h" #define DBS_BASICFLAGS "GeneralFlags" diff --git a/plugins/IEView/src/ScriverHTMLBuilder.cpp b/plugins/IEView/src/ScriverHTMLBuilder.cpp index 4faadcca27..566bdf8e51 100644 --- a/plugins/IEView/src/ScriverHTMLBuilder.cpp +++ b/plugins/IEView/src/ScriverHTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" // srmm stuff #define SMF_LOG_SHOWNICK 1 diff --git a/plugins/IEView/src/TabSRMMHTMLBuilder.cpp b/plugins/IEView/src/TabSRMMHTMLBuilder.cpp index fc739de97e..e904b93f38 100644 --- a/plugins/IEView/src/TabSRMMHTMLBuilder.cpp +++ b/plugins/IEView/src/TabSRMMHTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" // tabsrmm stuff diff --git a/plugins/IEView/src/Template.cpp b/plugins/IEView/src/Template.cpp index afbbeceab5..3355a4ec13 100644 --- a/plugins/IEView/src/Template.cpp +++ b/plugins/IEView/src/Template.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" TokenDef::TokenDef(const char *tokenString) { diff --git a/plugins/IEView/src/Template.h b/plugins/IEView/src/Template.h index 4d1f0846cc..18ebf40c52 100644 --- a/plugins/IEView/src/Template.h +++ b/plugins/IEView/src/Template.h @@ -23,7 +23,7 @@ class Template; #ifndef TEMPLATE_INCLUDED #define TEMPLATE_INCLUDED -#include "ieview_common.h" +#include "stdafx.h" class TokenDef { public: diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp index 8f42cf907a..6a20622f41 100644 --- a/plugins/IEView/src/TemplateHTMLBuilder.cpp +++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" TemplateHTMLBuilder::TemplateHTMLBuilder() { diff --git a/plugins/IEView/src/TextToken.cpp b/plugins/IEView/src/TextToken.cpp index 1818154309..6934043d22 100644 --- a/plugins/IEView/src/TextToken.cpp +++ b/plugins/IEView/src/TextToken.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" TextToken::TextToken(int _type, const char *_text, int _len) { diff --git a/plugins/IEView/src/Utils.cpp b/plugins/IEView/src/Utils.cpp index 1330f14e89..a7e55a5541 100644 --- a/plugins/IEView/src/Utils.cpp +++ b/plugins/IEView/src/Utils.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" wchar_t Utils::base_dir[MAX_PATH]; diff --git a/plugins/IEView/src/Utils.h b/plugins/IEView/src/Utils.h index 38d8cdddc2..a5d9400244 100644 --- a/plugins/IEView/src/Utils.h +++ b/plugins/IEView/src/Utils.h @@ -23,7 +23,7 @@ class Utils; #ifndef UTILS_INCLUDED #define UTILS_INCLUDED -#include "ieview_common.h" +#include "stdafx.h" class Utils { private: diff --git a/plugins/IEView/src/ieview_common.h b/plugins/IEView/src/ieview_common.h deleted file mode 100644 index 8e182aeba1..0000000000 --- a/plugins/IEView/src/ieview_common.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - -IEView Plugin for Miranda IM -Copyright (C) 2005-2010 Piotr Piastucki - -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 IEVIEW_COMMON_H -#define IEVIEW_COMMON_H - -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_NONSTDC_NO_DEPRECATE - -#include -#include -#include -#include -#include -#include - -#include - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "IEView.h" -#include "Utils.h" -#include "ieview_services.h" -#include "Options.h" -#include "Version.h" -#include "ChatHTMLBuilder.h" -#include "HistoryHTMLBuilder.h" -#include "HTMLBuilder.h" -#include "resource.h" -#include "ScriverHTMLBuilder.h" -#include "TabSRMMHTMLBuilder.h" -#include "TemplateHTMLBuilder.h" -#include "MUCCHTMLBuilder.h" -#include "Template.h" -#include "TextToken.h" - -#define ieviewModuleName "IEVIEW" - -extern HINSTANCE hInstance; -extern IEView *debugView; -extern char *workingDirUtf8; -extern HANDLE hHookOptionsChanged; - -#endif diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp index cc61f03939..b155b45129 100644 --- a/plugins/IEView/src/ieview_main.cpp +++ b/plugins/IEView/src/ieview_main.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" HINSTANCE hInstance; CLIST_INTERFACE *pcli; diff --git a/plugins/IEView/src/ieview_services.cpp b/plugins/IEView/src/ieview_services.cpp index 8a79a035f3..47dbc1a997 100644 --- a/plugins/IEView/src/ieview_services.cpp +++ b/plugins/IEView/src/ieview_services.cpp @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "ieview_common.h" +#include "stdafx.h" INT_PTR HandleIEWindow(WPARAM, LPARAM lParam) { diff --git a/plugins/IEView/src/ieview_services.h b/plugins/IEView/src/ieview_services.h index a25f8ead97..3ab3772a6a 100644 --- a/plugins/IEView/src/ieview_services.h +++ b/plugins/IEView/src/ieview_services.h @@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef IEVIEW_SERVICES_INCLUDED #define IEVIEW_SERVICES_INCLUDED -#include "ieview_common.h" +#include "stdafx.h" extern INT_PTR HandleIEWindow(WPARAM wParam, LPARAM lParam); extern INT_PTR HandleIEEvent(WPARAM wParam, LPARAM lParam); diff --git a/plugins/IEView/src/stdafx.cpp b/plugins/IEView/src/stdafx.cpp deleted file mode 100644 index ec058d6a79..0000000000 --- a/plugins/IEView/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 "ieview_common.h" \ No newline at end of file diff --git a/plugins/IEView/src/stdafx.cxx b/plugins/IEView/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/IEView/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/IEView/src/stdafx.h b/plugins/IEView/src/stdafx.h new file mode 100644 index 0000000000..c12a6df4a4 --- /dev/null +++ b/plugins/IEView/src/stdafx.h @@ -0,0 +1,81 @@ +/* + +IEView Plugin for Miranda IM +Copyright (C) 2005-2010 Piotr Piastucki + +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 IEVIEW_COMMON_H +#define IEVIEW_COMMON_H + +#define _CRT_NONSTDC_NO_DEPRECATE + +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "IEView.h" +#include "Utils.h" +#include "ieview_services.h" +#include "Options.h" +#include "Version.h" +#include "ChatHTMLBuilder.h" +#include "HistoryHTMLBuilder.h" +#include "HTMLBuilder.h" +#include "resource.h" +#include "ScriverHTMLBuilder.h" +#include "TabSRMMHTMLBuilder.h" +#include "TemplateHTMLBuilder.h" +#include "MUCCHTMLBuilder.h" +#include "Template.h" +#include "TextToken.h" + +#define ieviewModuleName "IEVIEW" + +extern HINSTANCE hInstance; +extern IEView *debugView; +extern char *workingDirUtf8; +extern HANDLE hHookOptionsChanged; + +#endif -- cgit v1.2.3