From 467560928b83c1d6c405d2cbaf7127de65298ae7 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 20:34:40 +0000 Subject: watrack_mpd: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14797 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack_MPD/src/commonheaders.h | 48 ----- plugins/Watrack_MPD/src/init.cpp | 2 +- plugins/Watrack_MPD/src/main.cpp | 2 +- plugins/Watrack_MPD/src/options.cpp | 2 +- plugins/Watrack_MPD/src/stdafx.cpp | 18 -- plugins/Watrack_MPD/src/stdafx.cxx | 18 ++ plugins/Watrack_MPD/src/stdafx.h | 46 +++++ plugins/Watrack_MPD/src/utilities.cpp | 2 +- plugins/Watrack_MPD/watrack_mpd.vcxproj | 28 +++ plugins/Watrack_MPD/watrack_mpd.vcxproj.filters | 4 + plugins/Watrack_MPD/watrack_mpd_10.vcxproj | 208 -------------------- plugins/Watrack_MPD/watrack_mpd_10.vcxproj.filters | 53 ------ plugins/Watrack_MPD/watrack_mpd_12.vcxproj | 211 --------------------- plugins/Watrack_MPD/watrack_mpd_12.vcxproj.filters | 53 ------ plugins/Watrack_MPD/watrack_mpd_14.vcxproj | 211 --------------------- plugins/Watrack_MPD/watrack_mpd_14.vcxproj.filters | 53 ------ 16 files changed, 100 insertions(+), 859 deletions(-) delete mode 100755 plugins/Watrack_MPD/src/commonheaders.h delete mode 100644 plugins/Watrack_MPD/src/stdafx.cpp create mode 100644 plugins/Watrack_MPD/src/stdafx.cxx create mode 100755 plugins/Watrack_MPD/src/stdafx.h create mode 100755 plugins/Watrack_MPD/watrack_mpd.vcxproj create mode 100755 plugins/Watrack_MPD/watrack_mpd.vcxproj.filters delete mode 100755 plugins/Watrack_MPD/watrack_mpd_10.vcxproj delete mode 100755 plugins/Watrack_MPD/watrack_mpd_10.vcxproj.filters delete mode 100644 plugins/Watrack_MPD/watrack_mpd_12.vcxproj delete mode 100644 plugins/Watrack_MPD/watrack_mpd_12.vcxproj.filters delete mode 100644 plugins/Watrack_MPD/watrack_mpd_14.vcxproj delete mode 100644 plugins/Watrack_MPD/watrack_mpd_14.vcxproj.filters (limited to 'plugins/Watrack_MPD') diff --git a/plugins/Watrack_MPD/src/commonheaders.h b/plugins/Watrack_MPD/src/commonheaders.h deleted file mode 100755 index 6accba7365..0000000000 --- a/plugins/Watrack_MPD/src/commonheaders.h +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright © 2008 sss, chaos.persei -// -// 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 COMMONHEADERS_H -#define COMMONHEADERS_H - -#define _CRT_SECURE_NO_WARNINGS - -#include - -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "utilities.h" -#include "Version.h" - -#define szModuleName "Watrack_MPD" - -extern HINSTANCE hInst; -extern HANDLE ghNetlibUser; -extern BOOL bWatrackService; -extern TCHAR *gbHost, *gbPassword; -extern WORD gbPort; -extern char *date(); - -extern int WaMpdOptInit(WPARAM, LPARAM); -extern void RegisterPlayer(); - -#endif diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp index 2d50447cdd..7f7a1f5f9c 100755 --- a/plugins/Watrack_MPD/src/init.cpp +++ b/plugins/Watrack_MPD/src/init.cpp @@ -14,7 +14,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 "commonheaders.h" +#include "stdafx.h" HINSTANCE hInst; BOOL bWatrackService = FALSE; diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp index 567d1c00d7..4a157b7f5e 100755 --- a/plugins/Watrack_MPD/src/main.cpp +++ b/plugins/Watrack_MPD/src/main.cpp @@ -14,7 +14,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 "commonheaders.h" +#include "stdafx.h" HANDLE ghConnection; HANDLE ghPacketReciever; diff --git a/plugins/Watrack_MPD/src/options.cpp b/plugins/Watrack_MPD/src/options.cpp index 2e40d2f098..5ce485d475 100755 --- a/plugins/Watrack_MPD/src/options.cpp +++ b/plugins/Watrack_MPD/src/options.cpp @@ -14,7 +14,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 "commonheaders.h" +#include "stdafx.h" static INT_PTR CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { diff --git a/plugins/Watrack_MPD/src/stdafx.cpp b/plugins/Watrack_MPD/src/stdafx.cpp deleted file mode 100644 index 048b14e9d2..0000000000 --- a/plugins/Watrack_MPD/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 "commonheaders.h" \ No newline at end of file diff --git a/plugins/Watrack_MPD/src/stdafx.cxx b/plugins/Watrack_MPD/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Watrack_MPD/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/Watrack_MPD/src/stdafx.h b/plugins/Watrack_MPD/src/stdafx.h new file mode 100755 index 0000000000..c35bd05288 --- /dev/null +++ b/plugins/Watrack_MPD/src/stdafx.h @@ -0,0 +1,46 @@ +// Copyright © 2008 sss, chaos.persei +// +// 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 COMMONHEADERS_H +#define COMMONHEADERS_H + +#include + +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "utilities.h" +#include "Version.h" + +#define szModuleName "Watrack_MPD" + +extern HINSTANCE hInst; +extern HANDLE ghNetlibUser; +extern BOOL bWatrackService; +extern TCHAR *gbHost, *gbPassword; +extern WORD gbPort; +extern char *date(); + +extern int WaMpdOptInit(WPARAM, LPARAM); +extern void RegisterPlayer(); + +#endif diff --git a/plugins/Watrack_MPD/src/utilities.cpp b/plugins/Watrack_MPD/src/utilities.cpp index 1375cc2bc1..735c5f121a 100755 --- a/plugins/Watrack_MPD/src/utilities.cpp +++ b/plugins/Watrack_MPD/src/utilities.cpp @@ -15,7 +15,7 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#include "commonheaders.h" +#include "stdafx.h" TCHAR* __stdcall UniGetContactSettingUtf(MCONTACT hContact, const char *szModule,const char* szSetting, TCHAR* szDef) { diff --git a/plugins/Watrack_MPD/watrack_mpd.vcxproj b/plugins/Watrack_MPD/watrack_mpd.vcxproj new file mode 100755 index 0000000000..f032d1b73f --- /dev/null +++ b/plugins/Watrack_MPD/watrack_mpd.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + Watrack_MPD + {A7D9DFA5-C34F-4B98-BEE8-5140EFCD2E8C} + + + + + \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd.vcxproj.filters b/plugins/Watrack_MPD/watrack_mpd.vcxproj.filters new file mode 100755 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/Watrack_MPD/watrack_mpd.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd_10.vcxproj b/plugins/Watrack_MPD/watrack_mpd_10.vcxproj deleted file mode 100755 index 694206a807..0000000000 --- a/plugins/Watrack_MPD/watrack_mpd_10.vcxproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Watrack_MPD - {A7D9DFA5-C34F-4B98-BEE8-5140EFCD2E8C} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - Unicode - DynamicLibrary - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - true - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - Windows - - - - - Full - OnlyExplicitInline - Size - true - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - Windows - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - Windows - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - Windows - - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd_10.vcxproj.filters b/plugins/Watrack_MPD/watrack_mpd_10.vcxproj.filters deleted file mode 100755 index 10468a5690..0000000000 --- a/plugins/Watrack_MPD/watrack_mpd_10.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {2c37ce60-87c1-44a6-85ff-147b48dd84f4} - - - {1d016f21-3dfc-4617-a16d-2543db03d939} - - - {67db7959-3d43-439b-ae9b-8223911c651d} - - - - - Sources - - - Sources - - - Sources - - - Sources - - - Sources - - - - - Headers - - - Headers - - - Headers - - - Headers - - - - - Resources - - - Resources - - - \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd_12.vcxproj b/plugins/Watrack_MPD/watrack_mpd_12.vcxproj deleted file mode 100644 index bcee50b250..0000000000 --- a/plugins/Watrack_MPD/watrack_mpd_12.vcxproj +++ /dev/null @@ -1,211 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Watrack_MPD - {A7D9DFA5-C34F-4B98-BEE8-5140EFCD2E8C} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - Unicode - DynamicLibrary - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - true - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - - - - - Full - OnlyExplicitInline - Size - true - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - false - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd_12.vcxproj.filters b/plugins/Watrack_MPD/watrack_mpd_12.vcxproj.filters deleted file mode 100644 index 10468a5690..0000000000 --- a/plugins/Watrack_MPD/watrack_mpd_12.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {2c37ce60-87c1-44a6-85ff-147b48dd84f4} - - - {1d016f21-3dfc-4617-a16d-2543db03d939} - - - {67db7959-3d43-439b-ae9b-8223911c651d} - - - - - Sources - - - Sources - - - Sources - - - Sources - - - Sources - - - - - Headers - - - Headers - - - Headers - - - Headers - - - - - Resources - - - Resources - - - \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd_14.vcxproj b/plugins/Watrack_MPD/watrack_mpd_14.vcxproj deleted file mode 100644 index 3911fee4dd..0000000000 --- a/plugins/Watrack_MPD/watrack_mpd_14.vcxproj +++ /dev/null @@ -1,211 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Watrack_MPD - {A7D9DFA5-C34F-4B98-BEE8-5140EFCD2E8C} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - Unicode - DynamicLibrary - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - true - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - - - - - Full - OnlyExplicitInline - Size - true - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - false - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Watrack_MPD/watrack_mpd_14.vcxproj.filters b/plugins/Watrack_MPD/watrack_mpd_14.vcxproj.filters deleted file mode 100644 index 10468a5690..0000000000 --- a/plugins/Watrack_MPD/watrack_mpd_14.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {2c37ce60-87c1-44a6-85ff-147b48dd84f4} - - - {1d016f21-3dfc-4617-a16d-2543db03d939} - - - {67db7959-3d43-439b-ae9b-8223911c651d} - - - - - Sources - - - Sources - - - Sources - - - Sources - - - Sources - - - - - Headers - - - Headers - - - Headers - - - Headers - - - - - Resources - - - Resources - - - \ No newline at end of file -- cgit v1.2.3