From 17255af4df794fec9365acfbb6019c74515cc877 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 26 Jul 2015 10:35:25 +0000 Subject: OpenFolder: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14713 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/OpenFolder/src/openFolder.cpp | 8 ++++---- plugins/OpenFolder/src/openFolder.h | 19 ------------------- plugins/OpenFolder/src/stdafx.cpp | 18 ------------------ plugins/OpenFolder/src/stdafx.cxx | 18 ++++++++++++++++++ plugins/OpenFolder/src/stdafx.h | 19 +++++++++++++++++++ 5 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 plugins/OpenFolder/src/openFolder.h delete mode 100644 plugins/OpenFolder/src/stdafx.cpp create mode 100644 plugins/OpenFolder/src/stdafx.cxx create mode 100644 plugins/OpenFolder/src/stdafx.h (limited to 'plugins/OpenFolder/src') diff --git a/plugins/OpenFolder/src/openFolder.cpp b/plugins/OpenFolder/src/openFolder.cpp index fb2aea650f..09aa256d42 100644 --- a/plugins/OpenFolder/src/openFolder.cpp +++ b/plugins/OpenFolder/src/openFolder.cpp @@ -1,4 +1,4 @@ -#include "openFolder.h" +#include "stdafx.h" int hLangpack = 0; HINSTANCE hInst; @@ -21,7 +21,7 @@ PLUGININFOEX pluginInfoEx = static IconItem icon = { LPGEN("Open Folder"), "open", IDI_FOLDER }; -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) { hInst = hinstDLL; return TRUE; @@ -61,14 +61,14 @@ static int ModulesLoaded(WPARAM, LPARAM) return 0; } -HICON LoadIconExEx(const char* IcoLibName, int NonIcoLibIcon) +HICON LoadIconExEx(const char* IcoLibName, int) { char szSettingName[64]; mir_snprintf(szSettingName, _countof(szSettingName), "%s_%s", OPENFOLDER_MODULE_NAME, IcoLibName); return IcoLib_GetIcon(szSettingName); } -extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) { return &pluginInfoEx; } diff --git a/plugins/OpenFolder/src/openFolder.h b/plugins/OpenFolder/src/openFolder.h deleted file mode 100644 index dc4b22df18..0000000000 --- a/plugins/OpenFolder/src/openFolder.h +++ /dev/null @@ -1,19 +0,0 @@ -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "Version.h" - -#define MS_OPENFOLDER_OPEN "openFolder/Open" - -#define OPENFOLDER_MODULE_NAME "openfolder" diff --git a/plugins/OpenFolder/src/stdafx.cpp b/plugins/OpenFolder/src/stdafx.cpp deleted file mode 100644 index 2351f40ce5..0000000000 --- a/plugins/OpenFolder/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 "openFolder.h" \ No newline at end of file diff --git a/plugins/OpenFolder/src/stdafx.cxx b/plugins/OpenFolder/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/OpenFolder/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/OpenFolder/src/stdafx.h b/plugins/OpenFolder/src/stdafx.h new file mode 100644 index 0000000000..dc4b22df18 --- /dev/null +++ b/plugins/OpenFolder/src/stdafx.h @@ -0,0 +1,19 @@ +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "Version.h" + +#define MS_OPENFOLDER_OPEN "openFolder/Open" + +#define OPENFOLDER_MODULE_NAME "openfolder" -- cgit v1.2.3