From 6c18e42ff55c8bf4c4b11dbe2e970bc553d00467 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 16:37:27 +0000 Subject: StartPosition: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StartPosition/StartPosition.vcxproj | 28 +++ .../StartPosition/StartPosition.vcxproj.filters | 4 + plugins/StartPosition/StartPosition_10.vcxproj | 199 -------------------- .../StartPosition/StartPosition_10.vcxproj.filters | 44 ----- plugins/StartPosition/StartPosition_12.vcxproj | 204 --------------------- .../StartPosition/StartPosition_12.vcxproj.filters | 44 ----- plugins/StartPosition/StartPosition_14.vcxproj | 204 --------------------- .../StartPosition/StartPosition_14.vcxproj.filters | 44 ----- plugins/StartPosition/src/Common.h | 39 ---- plugins/StartPosition/src/main.cpp | 2 +- plugins/StartPosition/src/stdafx.cpp | 18 -- plugins/StartPosition/src/stdafx.cxx | 18 ++ plugins/StartPosition/src/stdafx.h | 39 ++++ 13 files changed, 90 insertions(+), 797 deletions(-) create mode 100644 plugins/StartPosition/StartPosition.vcxproj create mode 100644 plugins/StartPosition/StartPosition.vcxproj.filters delete mode 100644 plugins/StartPosition/StartPosition_10.vcxproj delete mode 100644 plugins/StartPosition/StartPosition_10.vcxproj.filters delete mode 100644 plugins/StartPosition/StartPosition_12.vcxproj delete mode 100644 plugins/StartPosition/StartPosition_12.vcxproj.filters delete mode 100644 plugins/StartPosition/StartPosition_14.vcxproj delete mode 100644 plugins/StartPosition/StartPosition_14.vcxproj.filters delete mode 100644 plugins/StartPosition/src/Common.h delete mode 100644 plugins/StartPosition/src/stdafx.cpp create mode 100644 plugins/StartPosition/src/stdafx.cxx create mode 100644 plugins/StartPosition/src/stdafx.h (limited to 'plugins/StartPosition') diff --git a/plugins/StartPosition/StartPosition.vcxproj b/plugins/StartPosition/StartPosition.vcxproj new file mode 100644 index 0000000000..e35727004d --- /dev/null +++ b/plugins/StartPosition/StartPosition.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {046C5F80-ABE5-488F-BFC8-B024D4AACC8C} + StartPosition + + + + + \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition.vcxproj.filters b/plugins/StartPosition/StartPosition.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/StartPosition/StartPosition.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition_10.vcxproj b/plugins/StartPosition/StartPosition_10.vcxproj deleted file mode 100644 index 7c2e0c7337..0000000000 --- a/plugins/StartPosition/StartPosition_10.vcxproj +++ /dev/null @@ -1,199 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {046C5F80-ABE5-488F-BFC8-B024D4AACC8C} - StartPosition - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - true - true - Full - Level3 - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;%(AdditionalIncludeDirectories) - Size - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin10\lib - - - - - true - true - Full - Level3 - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;%(AdditionalIncludeDirectories) - Size - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin10\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - ..\..\include;%(AdditionalIncludeDirectories) - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ProgramDatabase - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - ..\..\include;%(AdditionalIncludeDirectories) - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - - - - - - - - - - Create - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition_10.vcxproj.filters b/plugins/StartPosition/StartPosition_10.vcxproj.filters deleted file mode 100644 index ee07b32ee3..0000000000 --- a/plugins/StartPosition/StartPosition_10.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {d083a117-c873-4360-9fb2-949bb52876fa} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {7eaa0c54-3e4d-43c7-ad4c-e25d03e01f5a} - h;hpp;hxx;hm;inl - - - {f7f3bc83-2d6e-4710-b6a2-8057f48e432e} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition_12.vcxproj b/plugins/StartPosition/StartPosition_12.vcxproj deleted file mode 100644 index 1cd42ef3bf..0000000000 --- a/plugins/StartPosition/StartPosition_12.vcxproj +++ /dev/null @@ -1,204 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {046C5F80-ABE5-488F-BFC8-B024D4AACC8C} - StartPosition - - - - DynamicLibrary - v120_xp - Unicode - - - DynamicLibrary - v120_xp - Unicode - - - DynamicLibrary - v120_xp - Unicode - true - - - DynamicLibrary - v120_xp - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - true - true - Full - Level3 - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;%(AdditionalIncludeDirectories) - Size - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin12\lib - - - - - true - true - Full - Level3 - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;%(AdditionalIncludeDirectories) - Size - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin12\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - ..\..\include;%(AdditionalIncludeDirectories) - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ProgramDatabase - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - ..\..\include;%(AdditionalIncludeDirectories) - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - - - - - - - - - - Create - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition_12.vcxproj.filters b/plugins/StartPosition/StartPosition_12.vcxproj.filters deleted file mode 100644 index ee07b32ee3..0000000000 --- a/plugins/StartPosition/StartPosition_12.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {d083a117-c873-4360-9fb2-949bb52876fa} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {7eaa0c54-3e4d-43c7-ad4c-e25d03e01f5a} - h;hpp;hxx;hm;inl - - - {f7f3bc83-2d6e-4710-b6a2-8057f48e432e} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition_14.vcxproj b/plugins/StartPosition/StartPosition_14.vcxproj deleted file mode 100644 index c4d66517ee..0000000000 --- a/plugins/StartPosition/StartPosition_14.vcxproj +++ /dev/null @@ -1,204 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {046C5F80-ABE5-488F-BFC8-B024D4AACC8C} - StartPosition - - - - DynamicLibrary - v140_xp - Unicode - - - DynamicLibrary - v140_xp - Unicode - - - DynamicLibrary - v140_xp - Unicode - true - - - DynamicLibrary - v140_xp - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - true - true - Full - Level3 - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;%(AdditionalIncludeDirectories) - Size - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin14\lib - - - - - true - true - Full - Level3 - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - ..\..\include;%(AdditionalIncludeDirectories) - Size - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - $(ProfileDir)..\..\bin14\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - ..\..\include;%(AdditionalIncludeDirectories) - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ProgramDatabase - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - ..\..\include;%(AdditionalIncludeDirectories) - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - - - - - - - - - - Create - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/StartPosition/StartPosition_14.vcxproj.filters b/plugins/StartPosition/StartPosition_14.vcxproj.filters deleted file mode 100644 index ee07b32ee3..0000000000 --- a/plugins/StartPosition/StartPosition_14.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {d083a117-c873-4360-9fb2-949bb52876fa} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {7eaa0c54-3e4d-43c7-ad4c-e25d03e01f5a} - h;hpp;hxx;hm;inl - - - {f7f3bc83-2d6e-4710-b6a2-8057f48e432e} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - \ No newline at end of file diff --git a/plugins/StartPosition/src/Common.h b/plugins/StartPosition/src/Common.h deleted file mode 100644 index b962157adc..0000000000 --- a/plugins/StartPosition/src/Common.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - -StartPosition plugin for Miranda NG - -Copyright (C) 2005-2008 Felipe Brahm - souFrag -ICQ#50566818 -http://www.soufrag.cl - -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., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include - -#include -#include -#include -#include -#include - -#include "resource.h" -#include "version.h" - -#define MODULE_NAME "StartPosition" - -#define dbERROR -999999 -#define RIGHT 1 -#define LEFT 0 diff --git a/plugins/StartPosition/src/main.cpp b/plugins/StartPosition/src/main.cpp index d4c1b2e4e6..910f9ab365 100644 --- a/plugins/StartPosition/src/main.cpp +++ b/plugins/StartPosition/src/main.cpp @@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "Common.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack; diff --git a/plugins/StartPosition/src/stdafx.cpp b/plugins/StartPosition/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/StartPosition/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/StartPosition/src/stdafx.cxx b/plugins/StartPosition/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/StartPosition/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/StartPosition/src/stdafx.h b/plugins/StartPosition/src/stdafx.h new file mode 100644 index 0000000000..b962157adc --- /dev/null +++ b/plugins/StartPosition/src/stdafx.h @@ -0,0 +1,39 @@ +/* + +StartPosition plugin for Miranda NG + +Copyright (C) 2005-2008 Felipe Brahm - souFrag +ICQ#50566818 +http://www.soufrag.cl + +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., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include + +#include +#include +#include +#include +#include + +#include "resource.h" +#include "version.h" + +#define MODULE_NAME "StartPosition" + +#define dbERROR -999999 +#define RIGHT 1 +#define LEFT 0 -- cgit v1.2.3