From a8e117528d873b0129e832cd6f7f23b4b8a6c3ea Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 25 Jul 2015 19:12:09 +0000 Subject: msg_export: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Msg_Export/src/FileViewer.cpp | 2 +- plugins/Msg_Export/src/Glob.h | 61 ----------------------------------- plugins/Msg_Export/src/main.cpp | 2 +- plugins/Msg_Export/src/options.cpp | 2 +- plugins/Msg_Export/src/stdafx.cpp | 18 ----------- plugins/Msg_Export/src/stdafx.cxx | 18 +++++++++++ plugins/Msg_Export/src/stdafx.h | 59 +++++++++++++++++++++++++++++++++ plugins/Msg_Export/src/utils.cpp | 2 +- 8 files changed, 81 insertions(+), 83 deletions(-) delete mode 100755 plugins/Msg_Export/src/Glob.h delete mode 100644 plugins/Msg_Export/src/stdafx.cpp create mode 100644 plugins/Msg_Export/src/stdafx.cxx create mode 100755 plugins/Msg_Export/src/stdafx.h (limited to 'plugins/Msg_Export/src') diff --git a/plugins/Msg_Export/src/FileViewer.cpp b/plugins/Msg_Export/src/FileViewer.cpp index b5027a7506..75341df4f6 100755 --- a/plugins/Msg_Export/src/FileViewer.cpp +++ b/plugins/Msg_Export/src/FileViewer.cpp @@ -16,7 +16,7 @@ //along with this program; if not, write to the Free Software //Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#include "Glob.h" +#include "stdafx.h" static UINT UM_FIND_CMD = RegisterWindowMessage(FINDMSGSTRING); diff --git a/plugins/Msg_Export/src/Glob.h b/plugins/Msg_Export/src/Glob.h deleted file mode 100755 index 3d21adb29e..0000000000 --- a/plugins/Msg_Export/src/Glob.h +++ /dev/null @@ -1,61 +0,0 @@ - -//This file is part of Msg_Export a Miranda IM plugin -//Copyright (C)2002 Kennet Nielsen ( http://sourceforge.net/projects/msg-export/ ) -// -//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., 675 Mass Ave, Cambridge, MA 02139, USA. - -#ifndef MSG_EXP_GLOB_H -#define MSG_EXP_GLOB_H - -#define _CRT_SECURE_NO_WARNINGS - -#include -#include -#include -using namespace std; -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "utils.h" -#include "options.h" -#include "FileViewer.h" -#include "resource.h" -#include "version.h" - -#define MODULE "Msg_Export" -#define MSG_BOX_TITEL TranslateT("Miranda NG (Message Export Plugin)") -#define MS_SHOW_EXPORT_HISTORY "History/ShowExportHistory" -#define szFileViewDB "FileV_" -#define WM_RELOAD_FILE (WM_USER+10) - -extern HINSTANCE hInstance; - -extern MWindowList hInternalWindowList; - -#endif \ No newline at end of file diff --git a/plugins/Msg_Export/src/main.cpp b/plugins/Msg_Export/src/main.cpp index 9a5abd1248..ed19d2c7c5 100755 --- a/plugins/Msg_Export/src/main.cpp +++ b/plugins/Msg_Export/src/main.cpp @@ -16,7 +16,7 @@ //along with this program; if not, write to the Free Software //Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#include "Glob.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE hInstance = NULL; diff --git a/plugins/Msg_Export/src/options.cpp b/plugins/Msg_Export/src/options.cpp index dd6ebaae35..3a46bc8617 100755 --- a/plugins/Msg_Export/src/options.cpp +++ b/plugins/Msg_Export/src/options.cpp @@ -16,7 +16,7 @@ //along with this program; if not, write to the Free Software //Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#include "Glob.h" +#include "stdafx.h" #define STRINGIZE(x) #x #define EVAL_STRINGIZE(x) STRINGIZE(x) diff --git a/plugins/Msg_Export/src/stdafx.cpp b/plugins/Msg_Export/src/stdafx.cpp deleted file mode 100644 index edfaf34cef..0000000000 --- a/plugins/Msg_Export/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 "Glob.h" \ No newline at end of file diff --git a/plugins/Msg_Export/src/stdafx.cxx b/plugins/Msg_Export/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Msg_Export/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/Msg_Export/src/stdafx.h b/plugins/Msg_Export/src/stdafx.h new file mode 100755 index 0000000000..88a0a36c5e --- /dev/null +++ b/plugins/Msg_Export/src/stdafx.h @@ -0,0 +1,59 @@ + +//This file is part of Msg_Export a Miranda IM plugin +//Copyright (C)2002 Kennet Nielsen ( http://sourceforge.net/projects/msg-export/ ) +// +//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., 675 Mass Ave, Cambridge, MA 02139, USA. + +#ifndef MSG_EXP_GLOB_H +#define MSG_EXP_GLOB_H + +#include +#include +#include +using namespace std; +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "utils.h" +#include "options.h" +#include "FileViewer.h" +#include "resource.h" +#include "version.h" + +#define MODULE "Msg_Export" +#define MSG_BOX_TITEL TranslateT("Miranda NG (Message Export Plugin)") +#define MS_SHOW_EXPORT_HISTORY "History/ShowExportHistory" +#define szFileViewDB "FileV_" +#define WM_RELOAD_FILE (WM_USER+10) + +extern HINSTANCE hInstance; + +extern MWindowList hInternalWindowList; + +#endif \ No newline at end of file diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 56e178cb03..26a012403f 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -16,7 +16,7 @@ //along with this program; if not, write to the Free Software //Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -#include "Glob.h" +#include "stdafx.h" // Default error string used upon errors const TCHAR *pszNickError = LPGENT("No_Nick"); -- cgit v1.2.3