From 4a8f96687f75eab5296105f3fbd5f7aa0920f2da Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 8 Aug 2015 20:15:48 +0000 Subject: stdidle: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14868 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdidle/src/commonheaders.cpp | 2 - src/core/stdidle/src/commonheaders.h | 71 --------- src/core/stdidle/src/idle.cpp | 2 +- src/core/stdidle/src/main.cpp | 2 +- src/core/stdidle/src/stdafx.cxx | 2 + src/core/stdidle/src/stdafx.h | 71 +++++++++ src/core/stdidle/stdidle.vcxproj | 28 ++++ src/core/stdidle/stdidle.vcxproj.filters | 4 + src/core/stdidle/stdidle_10.vcxproj | 219 --------------------------- src/core/stdidle/stdidle_10.vcxproj.filters | 44 ------ src/core/stdidle/stdidle_12.vcxproj | 222 ---------------------------- src/core/stdidle/stdidle_12.vcxproj.filters | 44 ------ src/core/stdidle/stdidle_14.vcxproj | 222 ---------------------------- src/core/stdidle/stdidle_14.vcxproj.filters | 44 ------ 14 files changed, 107 insertions(+), 870 deletions(-) delete mode 100644 src/core/stdidle/src/commonheaders.cpp delete mode 100644 src/core/stdidle/src/commonheaders.h create mode 100644 src/core/stdidle/src/stdafx.cxx create mode 100644 src/core/stdidle/src/stdafx.h create mode 100644 src/core/stdidle/stdidle.vcxproj create mode 100644 src/core/stdidle/stdidle.vcxproj.filters delete mode 100644 src/core/stdidle/stdidle_10.vcxproj delete mode 100644 src/core/stdidle/stdidle_10.vcxproj.filters delete mode 100644 src/core/stdidle/stdidle_12.vcxproj delete mode 100644 src/core/stdidle/stdidle_12.vcxproj.filters delete mode 100644 src/core/stdidle/stdidle_14.vcxproj delete mode 100644 src/core/stdidle/stdidle_14.vcxproj.filters (limited to 'src/core/stdidle') diff --git a/src/core/stdidle/src/commonheaders.cpp b/src/core/stdidle/src/commonheaders.cpp deleted file mode 100644 index 95b2201163..0000000000 --- a/src/core/stdidle/src/commonheaders.cpp +++ /dev/null @@ -1,2 +0,0 @@ -#include "commonheaders.h" - diff --git a/src/core/stdidle/src/commonheaders.h b/src/core/stdidle/src/commonheaders.h deleted file mode 100644 index defe5a7a76..0000000000 --- a/src/core/stdidle/src/commonheaders.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - -Miranda NG: the free IM client for Microsoft* Windows* - -Copyright (ñ) 2012-15 Miranda NG project (http://miranda-ng.org), -Copyright (c) 2000-12 Miranda IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -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. -*/ - -#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 -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "version.h" - -#include "../../mir_app/src/resource.h" - -extern HINSTANCE hInst; diff --git a/src/core/stdidle/src/idle.cpp b/src/core/stdidle/src/idle.cpp index 5a536dabc9..8b67b5c7b3 100644 --- a/src/core/stdidle/src/idle.cpp +++ b/src/core/stdidle/src/idle.cpp @@ -22,7 +22,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" #define IDLEMOD "Idle" #define IDL_USERIDLECHECK "UserIdleCheck" diff --git a/src/core/stdidle/src/main.cpp b/src/core/stdidle/src/main.cpp index 2f21ff9097..768e0386d2 100644 --- a/src/core/stdidle/src/main.cpp +++ b/src/core/stdidle/src/main.cpp @@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "commonheaders.h" +#include "stdafx.h" int LoadIdleModule(void); void UnloadIdleModule(void); diff --git a/src/core/stdidle/src/stdafx.cxx b/src/core/stdidle/src/stdafx.cxx new file mode 100644 index 0000000000..716dda68f1 --- /dev/null +++ b/src/core/stdidle/src/stdafx.cxx @@ -0,0 +1,2 @@ +#include "stdafx.h" + diff --git a/src/core/stdidle/src/stdafx.h b/src/core/stdidle/src/stdafx.h new file mode 100644 index 0000000000..defe5a7a76 --- /dev/null +++ b/src/core/stdidle/src/stdafx.h @@ -0,0 +1,71 @@ +/* + +Miranda NG: the free IM client for Microsoft* Windows* + +Copyright (ñ) 2012-15 Miranda NG project (http://miranda-ng.org), +Copyright (c) 2000-12 Miranda IM project, +all portions of this codebase are copyrighted to the people +listed in contributors.txt. + +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. +*/ + +#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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "version.h" + +#include "../../mir_app/src/resource.h" + +extern HINSTANCE hInst; diff --git a/src/core/stdidle/stdidle.vcxproj b/src/core/stdidle/stdidle.vcxproj new file mode 100644 index 0000000000..28b53db407 --- /dev/null +++ b/src/core/stdidle/stdidle.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + StdIdle + {36c40ba6-e0b5-438a-919c-6a991933b313} + + + + + \ No newline at end of file diff --git a/src/core/stdidle/stdidle.vcxproj.filters b/src/core/stdidle/stdidle.vcxproj.filters new file mode 100644 index 0000000000..e39f86d5d6 --- /dev/null +++ b/src/core/stdidle/stdidle.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/core/stdidle/stdidle_10.vcxproj b/src/core/stdidle/stdidle_10.vcxproj deleted file mode 100644 index 41bb96c640..0000000000 --- a/src/core/stdidle/stdidle_10.vcxproj +++ /dev/null @@ -1,219 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StdIdle - {36c40ba6-e0b5-438a-919c-6a991933b313} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Core\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Core\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Core\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Core\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - true - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - false - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin10\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - true - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - false - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin10\lib - - - - - Create - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/core/stdidle/stdidle_10.vcxproj.filters b/src/core/stdidle/stdidle_10.vcxproj.filters deleted file mode 100644 index 05a611456f..0000000000 --- a/src/core/stdidle/stdidle_10.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {5c074c9e-6c66-4233-bbd3-a50170fccf47} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {e30af2c4-42d4-4342-8eb9-2dbca157c6bb} - h;hpp;hxx;hm;inl - - - {9208a050-ffae-47fa-bc98-4ca4f79d37d7} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/src/core/stdidle/stdidle_12.vcxproj b/src/core/stdidle/stdidle_12.vcxproj deleted file mode 100644 index e5ad5b4c8b..0000000000 --- a/src/core/stdidle/stdidle_12.vcxproj +++ /dev/null @@ -1,222 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StdIdle - {36c40ba6-e0b5-438a-919c-6a991933b313} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Core\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Core\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Core\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Core\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - true - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin12\lib - - - - - Disabled - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - false - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin12\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - true - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin12\lib - - - - - Disabled - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - false - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin12\lib - - - - - Create - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/core/stdidle/stdidle_12.vcxproj.filters b/src/core/stdidle/stdidle_12.vcxproj.filters deleted file mode 100644 index 05a611456f..0000000000 --- a/src/core/stdidle/stdidle_12.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {5c074c9e-6c66-4233-bbd3-a50170fccf47} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {e30af2c4-42d4-4342-8eb9-2dbca157c6bb} - h;hpp;hxx;hm;inl - - - {9208a050-ffae-47fa-bc98-4ca4f79d37d7} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/src/core/stdidle/stdidle_14.vcxproj b/src/core/stdidle/stdidle_14.vcxproj deleted file mode 100644 index c0c9dae285..0000000000 --- a/src/core/stdidle/stdidle_14.vcxproj +++ /dev/null @@ -1,222 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - StdIdle - {36c40ba6-e0b5-438a-919c-6a991933b313} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Core\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Core\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Core\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Core\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - true - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin14\lib - - - - - Disabled - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - false - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin14\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - true - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin14\lib - - - - - Disabled - ..\..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) - false - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - 4996;%(DisableSpecificWarnings) - Use - commonheaders.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi;..\..\..\include - - - ws2_32.lib;comctl32.lib;Wtsapi32.lib;%(AdditionalDependencies) - true - 0x3ae00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\..\bin14\lib - - - - - Create - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/core/stdidle/stdidle_14.vcxproj.filters b/src/core/stdidle/stdidle_14.vcxproj.filters deleted file mode 100644 index 05a611456f..0000000000 --- a/src/core/stdidle/stdidle_14.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {5c074c9e-6c66-4233-bbd3-a50170fccf47} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {e30af2c4-42d4-4342-8eb9-2dbca157c6bb} - h;hpp;hxx;hm;inl - - - {9208a050-ffae-47fa-bc98-4ca4f79d37d7} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file -- cgit v1.2.3