From 8b437fdb2e61c4f94e01eb727f6a4c68ba12c0b7 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 26 May 2012 17:29:10 +0000 Subject: projects cleanup db_autobackups moved from mmap_sa, coz it for all databases git-svn-id: http://svn.miranda-ng.org/main/trunk@184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/avs_10.vcxproj | 32 +- plugins/AddContactPlus/addcontactplus_10.vcxproj | 32 +- plugins/Alarms/alarms_10.vcxproj | 40 +-- plugins/AssocMgr/assocmgr.vcxproj | 24 +- plugins/AuthState/authstate_10.vcxproj | 28 +- plugins/AutoRun/autorun.vcxproj | 32 +- plugins/BASS_interface/Bass_interface.vcxproj | 40 ++- plugins/Boltun/Boltun_10.vcxproj | 41 +-- plugins/Bonsai/Bonsai.vcxproj | 32 +- plugins/BossKeyPlus/BossKey_10.vcxproj | 32 +- plugins/BuddyExpectator/BuddyExpectator10.vcxproj | 40 ++- plugins/CSList/cslist_10.vcxproj | 106 ++---- plugins/Chat/chat_10.vcxproj | 32 +- .../ClientChangeNotify/ClientChangeNotify.vcxproj | 32 +- plugins/Clist/clist_10.vcxproj | 32 +- plugins/Clist_nicer/clist_nicer_10.vcxproj | 32 +- plugins/Clist_nicer/skineditor/skinedit_10.vcxproj | 39 ++- plugins/Console/Console.vcxproj | 172 +++------- plugins/Console/resource.rc | 3 - plugins/ContactsPlus/contacts.vcxproj | 216 +++---------- plugins/Db_autobackups/backup.c | 230 +++++++++++++ plugins/Db_autobackups/db_autobackups.rc | 182 +++++++++++ plugins/Db_autobackups/db_autobackups_10.vcxproj | 183 +++++++++++ .../db_autobackups_10.vcxproj.filters | 55 ++++ plugins/Db_autobackups/icos/backup.ico | Bin 0 -> 2550 bytes plugins/Db_autobackups/main.c | 262 +++++++++++++++ plugins/Db_autobackups/options.c | 360 +++++++++++++++++++++ plugins/Db_autobackups/options.h | 37 +++ plugins/Db_autobackups/resource.h | 35 ++ plugins/Db_autobackups/resource.rc | 2 + plugins/Db_autobackups/version.h | 16 + plugins/Db_autobackups/version.rc | 39 +++ plugins/Dbx_mmap_SA/Db_autobackups/backup.c | 230 ------------- .../Dbx_mmap_SA/Db_autobackups/db_autobackups.rc | 182 ----------- .../Db_autobackups/db_autobackups_10.vcxproj | 193 ----------- .../db_autobackups_10.vcxproj.filters | 55 ---- plugins/Dbx_mmap_SA/Db_autobackups/headers.h | 52 --- plugins/Dbx_mmap_SA/Db_autobackups/icos/backup.ico | Bin 2550 -> 0 bytes plugins/Dbx_mmap_SA/Db_autobackups/main.c | 262 --------------- plugins/Dbx_mmap_SA/Db_autobackups/options.c | 360 --------------------- plugins/Dbx_mmap_SA/Db_autobackups/options.h | 37 --- plugins/Dbx_mmap_SA/Db_autobackups/resource.h | 35 -- plugins/Dbx_mmap_SA/Db_autobackups/resource.rc | 2 - plugins/Dbx_mmap_SA/Db_autobackups/version.h | 16 - plugins/Dbx_mmap_SA/Db_autobackups/version.rc | 39 --- .../fingerprint_mod_vs2010.vcxproj | 28 +- .../iconpacks/ClientIcons_AIM.vcxproj | 8 +- .../iconpacks/ClientIcons_Gadu.vcxproj | 8 +- .../iconpacks/ClientIcons_General.vcxproj | 8 +- .../iconpacks/ClientIcons_ICQ.vcxproj | 8 +- .../iconpacks/ClientIcons_IRC.vcxproj | 8 +- .../iconpacks/ClientIcons_Jabber.vcxproj | 8 +- .../iconpacks/ClientIcons_MRA.vcxproj | 8 +- .../iconpacks/ClientIcons_MSN.vcxproj | 8 +- .../iconpacks/ClientIcons_Multiprotocols.vcxproj | 8 +- .../iconpacks/ClientIcons_Packs.vcxproj | 8 +- .../iconpacks/ClientIcons_QQ.vcxproj | 8 +- .../iconpacks/ClientIcons_RSS.vcxproj | 8 +- .../iconpacks/ClientIcons_Skype.vcxproj | 8 +- .../iconpacks/ClientIcons_Tlen.vcxproj | 8 +- .../iconpacks/ClientIcons_VoIP.vcxproj | 8 +- .../iconpacks/ClientIcons_Weather.vcxproj | 8 +- .../iconpacks/ClientIcons_Yahoo.vcxproj | 8 +- plugins/FreeImage/FreeImage_10.vcxproj | 24 +- plugins/Modernb/clist_modern_10.vcxproj | 40 +-- plugins/Mwclist/clist_mw_10.vcxproj | 64 ++-- .../AdvancedAutoAway/AdvancedAutoAway_10.vcxproj | 40 +-- 67 files changed, 1958 insertions(+), 2275 deletions(-) create mode 100644 plugins/Db_autobackups/backup.c create mode 100644 plugins/Db_autobackups/db_autobackups.rc create mode 100644 plugins/Db_autobackups/db_autobackups_10.vcxproj create mode 100644 plugins/Db_autobackups/db_autobackups_10.vcxproj.filters create mode 100644 plugins/Db_autobackups/icos/backup.ico create mode 100644 plugins/Db_autobackups/main.c create mode 100644 plugins/Db_autobackups/options.c create mode 100644 plugins/Db_autobackups/options.h create mode 100644 plugins/Db_autobackups/resource.h create mode 100644 plugins/Db_autobackups/resource.rc create mode 100644 plugins/Db_autobackups/version.h create mode 100644 plugins/Db_autobackups/version.rc delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/backup.c delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups.rc delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj.filters delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/headers.h delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/icos/backup.ico delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/main.c delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/options.c delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/options.h delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/resource.h delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/resource.rc delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/version.h delete mode 100644 plugins/Dbx_mmap_SA/Db_autobackups/version.rc (limited to 'plugins') diff --git a/plugins/AVS/avs_10.vcxproj b/plugins/AVS/avs_10.vcxproj index ac6d8022b8..ec91fb6885 100644 --- a/plugins/AVS/avs_10.vcxproj +++ b/plugins/AVS/avs_10.vcxproj @@ -60,17 +60,17 @@ <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -82,7 +82,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;LOADAVATARS_EXPORTS;%(PreprocessorDefinitions) true EnableFastChecks @@ -97,7 +97,7 @@ _DEBUG;UNICODE;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;msimg32.lib;%(AdditionalDependencies) @@ -117,7 +117,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;LOADAVATARS_EXPORTS;%(PreprocessorDefinitions) true EnableFastChecks @@ -134,7 +134,7 @@ _DEBUG;UNICODE;%(PreprocessorDefinitions) 0x0809 - ../../include/msapi + ..\..\include\msapi comctl32.lib;msimg32.lib;%(AdditionalDependencies) @@ -159,7 +159,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;LOADAVATARS_EXPORTS;%(PreprocessorDefinitions) true false @@ -174,7 +174,7 @@ NDEBUG;UNICODE;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi /IGNORE:4089 /filealign:512 %(AdditionalOptions) @@ -199,7 +199,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;UNICODE;_USRDLL;LOADAVATARS_EXPORTS;%(PreprocessorDefinitions) true false @@ -214,7 +214,7 @@ NDEBUG;UNICODE;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi /IGNORE:4089 /filealign:512 %(AdditionalOptions) diff --git a/plugins/AddContactPlus/addcontactplus_10.vcxproj b/plugins/AddContactPlus/addcontactplus_10.vcxproj index 19549381df..4ca9c4ec83 100644 --- a/plugins/AddContactPlus/addcontactplus_10.vcxproj +++ b/plugins/AddContactPlus/addcontactplus_10.vcxproj @@ -59,17 +59,17 @@ <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -83,7 +83,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;UNICODE;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -95,7 +95,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -117,7 +117,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;UNICODE;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) false true @@ -130,7 +130,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -152,7 +152,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;UNICODE;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -164,7 +164,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -186,7 +186,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;UNICODE;_USRDLL;ADDCONTACTPLUS_EXPORTS;%(PreprocessorDefinitions) false true @@ -198,7 +198,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) diff --git a/plugins/Alarms/alarms_10.vcxproj b/plugins/Alarms/alarms_10.vcxproj index df05075fe9..2655af7a36 100644 --- a/plugins/Alarms/alarms_10.vcxproj +++ b/plugins/Alarms/alarms_10.vcxproj @@ -63,14 +63,14 @@ <_ProjectFileVersion>10.0.40219.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)\ + $(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 true true @@ -85,7 +85,7 @@ Full - ../../include;../ExternalAPI%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;ALARMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) MultiThreadedDLL Use @@ -97,10 +97,10 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - gdi32.lib;user32.lib;opengl32.lib;glu32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) false $(IntDir)$(TargetName).lib true @@ -117,7 +117,7 @@ Full - ../../include;../ExternalAPI%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;ALARMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) MultiThreadedDLL Use @@ -129,10 +129,10 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - gdi32.lib;user32.lib;opengl32.lib;glu32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) false $(IntDir)$(TargetName).lib true @@ -150,7 +150,7 @@ Disabled - ../../include;../ExternalAPI%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;ALARMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) true EnableFastChecks @@ -163,10 +163,10 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - gdi32.lib;user32.lib;opengl32.lib;glu32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) true false $(IntDir)$(TargetName).lib @@ -181,7 +181,7 @@ Disabled - ../../include;../ExternalAPI%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;ALARMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -192,10 +192,10 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - gdi32.lib;user32.lib;opengl32.lib;glu32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) true false $(IntDir)$(TargetName).lib diff --git a/plugins/AssocMgr/assocmgr.vcxproj b/plugins/AssocMgr/assocmgr.vcxproj index 3033a6f3b0..5e603dfdb9 100644 --- a/plugins/AssocMgr/assocmgr.vcxproj +++ b/plugins/AssocMgr/assocmgr.vcxproj @@ -62,14 +62,14 @@ <_ProjectFileVersion>10.0.40219.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)\ + $(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 true true @@ -83,7 +83,7 @@ Level3 true EditAndContinue - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _DEBUG;UNICODE;WIN32;_WINDOWS;_USRDLL;STRICT;ASSOCMGR_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks @@ -114,7 +114,7 @@ Disabled Level3 ProgramDatabase - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _DEBUG;UNICODE;WIN64;_WINDOWS;_USRDLL;STRICT;ASSOCMGR_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks @@ -145,7 +145,7 @@ true Full Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) NDEBUG;UNICODE;WIN32;_WINDOWS;_USRDLL;STRICT;ASSOCMGR_EXPORTS;%(PreprocessorDefinitions) Size @@ -179,7 +179,7 @@ true Full Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) NDEBUG;UNICODE;WIN64;_WINDOWS;_USRDLL;STRICT;ASSOCMGR_EXPORTS;%(PreprocessorDefinitions) Size diff --git a/plugins/AuthState/authstate_10.vcxproj b/plugins/AuthState/authstate_10.vcxproj index 7d70953c32..fe3ce4dab9 100644 --- a/plugins/AuthState/authstate_10.vcxproj +++ b/plugins/AuthState/authstate_10.vcxproj @@ -63,14 +63,14 @@ <_ProjectFileVersion>10.0.30319.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)\ + $(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 @@ -79,7 +79,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) MultiThreadedDebugDLL Use @@ -94,6 +94,7 @@ 0x22620000 false $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) ..\..\include\msapi @@ -104,7 +105,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) MultiThreadedDLL Use @@ -120,6 +121,7 @@ 0x22620000 false $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) ..\..\include\msapi @@ -131,7 +133,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) MultiThreadedDebugDLL Use @@ -145,6 +147,7 @@ 0x22620000 false $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) ..\..\include\msapi @@ -158,7 +161,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) MultiThreadedDLL Use @@ -174,6 +177,7 @@ 0x22620000 false $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) ..\..\include\msapi diff --git a/plugins/AutoRun/autorun.vcxproj b/plugins/AutoRun/autorun.vcxproj index 8cb19db6fd..a0adcadddf 100644 --- a/plugins/AutoRun/autorun.vcxproj +++ b/plugins/AutoRun/autorun.vcxproj @@ -62,14 +62,14 @@ <_ProjectFileVersion>10.0.30319.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)\ + $(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 @@ -82,7 +82,7 @@ Full Level3 true - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) OnlyExplicitInline false @@ -103,7 +103,7 @@ true Windows 0x30040000 - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) $(IntDir)$(TargetName).lib true true @@ -118,7 +118,7 @@ Level3 true EditAndContinue - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks @@ -137,7 +137,7 @@ true Windows 0x30040000 - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) $(IntDir)$(TargetName).lib false @@ -148,7 +148,7 @@ false Full Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) Default OnlyExplicitInline @@ -168,7 +168,7 @@ true Windows 0x30040000 - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) $(IntDir)$(TargetName).lib false @@ -179,7 +179,7 @@ false Disabled Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;autorun_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks @@ -197,7 +197,7 @@ true Windows 0x30040000 - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) $(IntDir)$(TargetName).lib false diff --git a/plugins/BASS_interface/Bass_interface.vcxproj b/plugins/BASS_interface/Bass_interface.vcxproj index 177f4a03fa..d27ce548df 100644 --- a/plugins/BASS_interface/Bass_interface.vcxproj +++ b/plugins/BASS_interface/Bass_interface.vcxproj @@ -59,14 +59,14 @@ <_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)\ + $(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 true true @@ -75,7 +75,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;BASS_INTERFACE_EXPORTS;%(PreprocessorDefinitions) true EnableFastChecks @@ -88,15 +88,17 @@ true Windows $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) + false - ../../include/msapi + ..\..\include\msapi Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;BASS_INTERFACE_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -107,9 +109,11 @@ true Windows $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) + false - ../../include/msapi + ..\..\include\msapi @@ -118,7 +122,7 @@ OnlyExplicitInline false Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;BASS_INTERFACE_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -134,9 +138,11 @@ true $(IntDir)$(TargetName).lib true + comctl32.lib;%(AdditionalDependencies) + false - ../../include/msapi + ..\..\include\msapi @@ -145,7 +151,7 @@ OnlyExplicitInline false Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;BASS_INTERFACE_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -161,9 +167,11 @@ true $(IntDir)$(TargetName).lib true + comctl32.lib;%(AdditionalDependencies) + false - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/Boltun/Boltun_10.vcxproj b/plugins/Boltun/Boltun_10.vcxproj index f8bdd488c2..533c1cb135 100644 --- a/plugins/Boltun/Boltun_10.vcxproj +++ b/plugins/Boltun/Boltun_10.vcxproj @@ -63,14 +63,14 @@ <_ProjectFileVersion>10.0.40219.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)\ + $(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 true true @@ -88,7 +88,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) NDEBUG;BOLTUN_EXPORTS;WIN32;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_UNICODE;UNICODE;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -98,14 +98,14 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true $(IntDir)$(TargetName).lib true true - odbc32.lib;odbccp32.lib;comctl32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) Windows @@ -120,7 +120,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) NDEBUG;BOLTUN_EXPORTS;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;_UNICODE;UNICODE;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -130,14 +130,14 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true $(IntDir)$(TargetName).lib true true - odbc32.lib;odbccp32.lib;comctl32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) Windows @@ -150,7 +150,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _DEBUG;WIN32;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;BOLTUN_EXPORTS;_UNICODE;UNICODE;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) true EnableFastChecks @@ -161,13 +161,14 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - odbc32.lib;odbccp32.lib;comctl32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) true $(IntDir)$(TargetName).lib Windows + false @@ -178,7 +179,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _DEBUG;WIN64;_WINDOWS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS;BOLTUN_EXPORTS;_UNICODE;UNICODE;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -188,10 +189,10 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - odbc32.lib;odbccp32.lib;comctl32.lib;%(AdditionalDependencies) + comctl32.lib;%(AdditionalDependencies) true $(IntDir)$(TargetName).lib Windows diff --git a/plugins/Bonsai/Bonsai.vcxproj b/plugins/Bonsai/Bonsai.vcxproj index ae89d4575f..810cd898fb 100644 --- a/plugins/Bonsai/Bonsai.vcxproj +++ b/plugins/Bonsai/Bonsai.vcxproj @@ -59,14 +59,14 @@ <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true true true @@ -75,7 +75,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_WINDOWS;_USRDLL;FIXOPTIONS_EXPORTS;%(PreprocessorDefinitions) true EnableFastChecks @@ -92,7 +92,7 @@ false - ../../include/msapi + ..\..\include\msapi @@ -101,7 +101,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _CRT_SECURE_NO_DEPRECATE;WIN64;_DEBUG;_WINDOWS;_USRDLL;FIXOPTIONS_EXPORTS;%(PreprocessorDefinitions) true EnableFastChecks @@ -117,12 +117,12 @@ false - ../../include/msapi + ..\..\include\msapi - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _CRT_SECURE_NO_DEPRECATE;WIN32;NDEBUG;_WINDOWS;_USRDLL;FIXOPTIONS_EXPORTS;%(PreprocessorDefinitions) MultiThreadedDLL Level3 @@ -141,7 +141,7 @@ false - ../../include/msapi + ..\..\include\msapi @@ -149,7 +149,7 @@ X64 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _CRT_SECURE_NO_DEPRECATE;WIN64;NDEBUG;_WINDOWS;_USRDLL;FIXOPTIONS_EXPORTS;%(PreprocessorDefinitions) MultiThreadedDLL Level3 @@ -168,7 +168,7 @@ false - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/BossKeyPlus/BossKey_10.vcxproj b/plugins/BossKeyPlus/BossKey_10.vcxproj index 52c021d7d1..4b1b0bef3c 100644 --- a/plugins/BossKeyPlus/BossKey_10.vcxproj +++ b/plugins/BossKeyPlus/BossKey_10.vcxproj @@ -63,14 +63,14 @@ <_ProjectFileVersion>10.0.30319.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)\ + $(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 @@ -86,7 +86,7 @@ Full Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -95,7 +95,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -117,7 +117,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -126,7 +126,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -147,7 +147,7 @@ Full Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -156,7 +156,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -178,7 +178,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;BossKey_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -186,7 +186,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi comctl32.lib;%(AdditionalDependencies) diff --git a/plugins/BuddyExpectator/BuddyExpectator10.vcxproj b/plugins/BuddyExpectator/BuddyExpectator10.vcxproj index 0c9e1b753a..57e025b29e 100644 --- a/plugins/BuddyExpectator/BuddyExpectator10.vcxproj +++ b/plugins/BuddyExpectator/BuddyExpectator10.vcxproj @@ -63,14 +63,14 @@ <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true true true @@ -85,7 +85,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;BUDDYEXPECTATOR_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDebugDLL @@ -96,12 +96,14 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true $(IntDir)$(TargetName).lib Windows + false + comctl32.lib;%(AdditionalDependencies) @@ -113,7 +115,7 @@ Full - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;BUDDYEXPECTATOR_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -124,7 +126,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true @@ -132,6 +134,8 @@ true $(IntDir)$(TargetName).lib Windows + false + comctl32.lib;%(AdditionalDependencies) @@ -142,7 +146,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;BUDDYEXPECTATOR_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDebugDLL @@ -152,12 +156,14 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true $(IntDir)$(TargetName).lib Windows + false + comctl32.lib;%(AdditionalDependencies) @@ -168,7 +174,7 @@ Full - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;BUDDYEXPECTATOR_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -179,7 +185,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true @@ -187,6 +193,8 @@ true $(IntDir)$(TargetName).lib Windows + false + comctl32.lib;%(AdditionalDependencies) diff --git a/plugins/CSList/cslist_10.vcxproj b/plugins/CSList/cslist_10.vcxproj index 1ff3e7ac67..a6777b7b9e 100644 --- a/plugins/CSList/cslist_10.vcxproj +++ b/plugins/CSList/cslist_10.vcxproj @@ -21,28 +21,23 @@ CSList {2AD2FF74-06E1-4BD8-984A-526F3C6315B3} - cslist DynamicLibrary - false Unicode DynamicLibrary - false Unicode DynamicLibrary - false Unicode true DynamicLibrary - false Unicode true @@ -68,26 +63,18 @@ <_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)\ - AllRules.ruleset - AllRules.ruleset - - - - - AllRules.ruleset - AllRules.ruleset - - - - + $(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 + true + true + true @@ -95,39 +82,30 @@ true true Win32 - .\Release/cslist.tlb - - Full OnlyExplicitInline Size - true - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CSLIST_EXPORTS;%(PreprocessorDefinitions) true true - - Level3 - ProgramDatabase MultiThreadedDLL NDEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi - $(TargetDir)$(TargetName).pdb true true - UseLinkTimeCodeGeneration false - - $(IntDir)$(TargetName).lib - MachineX86 true + comctl32.lib;%(AdditionalDependencies) + Windows @@ -135,38 +113,30 @@ NDEBUG;%(PreprocessorDefinitions) true true - .\Release/cslist.tlb - - Full OnlyExplicitInline Size - true - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;CSLIST_EXPORTS;%(PreprocessorDefinitions) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;NDEBUG;_WINDOWS;_USRDLL;CSLIST_EXPORTS;%(PreprocessorDefinitions) true true - - Level3 - ProgramDatabase MultiThreadedDLL NDEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi - $(TargetDir)$(TargetName).pdb true true - UseLinkTimeCodeGeneration false - - $(IntDir)$(TargetName).lib true + comctl32.lib;%(AdditionalDependencies) + Windows @@ -175,34 +145,28 @@ true true Win32 - .\Release/cslist.tlb - - Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CSLIST_EXPORTS;%(PreprocessorDefinitions) true - MultiThreadedDebug + MultiThreadedDebugDLL true Fast - - Level3 EditAndContinue _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi true false - - $(IntDir)$(TargetName).lib - MachineX86 - $(TargetDir)$(TargetName).pdb + comctl32.lib;%(AdditionalDependencies) + Windows @@ -210,33 +174,27 @@ NDEBUG;%(PreprocessorDefinitions) true true - .\Release/cslist.tlb - - Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;CSLIST_EXPORTS;%(PreprocessorDefinitions) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;NDEBUG;_WINDOWS;_USRDLL;CSLIST_EXPORTS;%(PreprocessorDefinitions) true - MultiThreadedDebug + MultiThreadedDebugDLL true Fast - - Level3 - EditAndContinue _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi true false - - $(IntDir)$(TargetName).lib - $(TargetDir)$(TargetName).pdb + comctl32.lib;%(AdditionalDependencies) + Windows diff --git a/plugins/Chat/chat_10.vcxproj b/plugins/Chat/chat_10.vcxproj index 8fc9396840..84f44d6929 100644 --- a/plugins/Chat/chat_10.vcxproj +++ b/plugins/Chat/chat_10.vcxproj @@ -59,16 +59,16 @@ <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true true @@ -81,7 +81,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;CHAT_EXPORTS;UNICODE;%(PreprocessorDefinitions) true EnableFastChecks @@ -96,7 +96,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi /DLL %(AdditionalOptions) @@ -117,7 +117,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;CHAT_EXPORTS;UNICODE;%(PreprocessorDefinitions) true EnableFastChecks @@ -131,7 +131,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi /DLL %(AdditionalOptions) @@ -155,7 +155,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CHAT_EXPORTS;UNICODE;%(PreprocessorDefinitions) true false @@ -171,7 +171,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi /DLL %(AdditionalOptions) @@ -197,7 +197,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;CHAT_EXPORTS;UNICODE;%(PreprocessorDefinitions) true false @@ -213,7 +213,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi /DLL %(AdditionalOptions) diff --git a/plugins/ClientChangeNotify/ClientChangeNotify.vcxproj b/plugins/ClientChangeNotify/ClientChangeNotify.vcxproj index fb3179caa2..0ab903e840 100644 --- a/plugins/ClientChangeNotify/ClientChangeNotify.vcxproj +++ b/plugins/ClientChangeNotify/ClientChangeNotify.vcxproj @@ -58,14 +58,14 @@ <_ProjectFileVersion>10.0.40219.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)\ + $(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 true true @@ -86,6 +86,8 @@ true $(IntDir)$(TargetName).lib Windows + comctl32.lib;%(AdditionalDependencies) + false _DEBUG;%(PreprocessorDefinitions) @@ -95,7 +97,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi @@ -112,6 +114,8 @@ true $(IntDir)$(TargetName).lib Windows + comctl32.lib;%(AdditionalDependencies) + false _DEBUG;%(PreprocessorDefinitions) @@ -120,7 +124,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi @@ -143,6 +147,8 @@ true $(IntDir)$(TargetName).lib Windows + comctl32.lib;%(AdditionalDependencies) + false NDEBUG;%(PreprocessorDefinitions) @@ -152,7 +158,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi @@ -175,6 +181,8 @@ true $(IntDir)$(TargetName).lib Windows + comctl32.lib;%(AdditionalDependencies) + false NDEBUG;%(PreprocessorDefinitions) @@ -183,7 +191,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/Clist/clist_10.vcxproj b/plugins/Clist/clist_10.vcxproj index ed667c51a4..3a29ea6a9a 100644 --- a/plugins/Clist/clist_10.vcxproj +++ b/plugins/Clist/clist_10.vcxproj @@ -59,17 +59,17 @@ <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -81,7 +81,7 @@ Disabled - ../../include;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;UNICODE;%(PreprocessorDefinitions) false EnableFastChecks @@ -96,7 +96,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi + ..\..\include;..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -117,7 +117,7 @@ Disabled - ../../include;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;UNICODE;%(PreprocessorDefinitions) false EnableFastChecks @@ -131,7 +131,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi + ..\..\include;..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -154,7 +154,7 @@ Full OnlyExplicitInline Size - ../../include;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;UNICODE;%(PreprocessorDefinitions) true false @@ -169,7 +169,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi + ..\..\include;..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -194,7 +194,7 @@ Full OnlyExplicitInline Size - ../../include;%(AdditionalIncludeDirectories) + ..\..\include;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;UNICODE;%(PreprocessorDefinitions) true false @@ -209,7 +209,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi + ..\..\include;..\..\include\msapi comctl32.lib;%(AdditionalDependencies) diff --git a/plugins/Clist_nicer/clist_nicer_10.vcxproj b/plugins/Clist_nicer/clist_nicer_10.vcxproj index f0b0323ecc..7ae0100b14 100644 --- a/plugins/Clist_nicer/clist_nicer_10.vcxproj +++ b/plugins/Clist_nicer/clist_nicer_10.vcxproj @@ -59,16 +59,16 @@ <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true true @@ -80,7 +80,7 @@ Win32 - ../../include;include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;include;..\ExternalAPI;%(AdditionalIncludeDirectories) commonheaders.h EditAndContinue 4996;%(DisableSpecificWarnings) @@ -92,7 +92,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include;include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include;..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;shlwapi.lib;%(AdditionalDependencies) @@ -115,7 +115,7 @@ OnlyExplicitInline true Size - ../../include;include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -129,7 +129,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include;include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include;..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;shlwapi.lib;%(AdditionalDependencies) @@ -145,7 +145,7 @@ - ../../include;include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;include;..\ExternalAPI;%(AdditionalIncludeDirectories) MultiThreadedDebugDLL commonheaders.h Disabled @@ -154,7 +154,7 @@ WIN64;_DEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) - ../../include;include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include;..\..\include\msapi;%(AdditionalIncludeDirectories) _WIN64;_AMD64;%(PreprocessorDefinitions) @@ -168,7 +168,7 @@ - ../../include;include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;include;..\ExternalAPI;%(AdditionalIncludeDirectories) Full true Size @@ -184,7 +184,7 @@ Level3 - ../../include;include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include;..\..\include\msapi;%(AdditionalIncludeDirectories) _WIN64;_AMD64;%(PreprocessorDefinitions) diff --git a/plugins/Clist_nicer/skineditor/skinedit_10.vcxproj b/plugins/Clist_nicer/skineditor/skinedit_10.vcxproj index 0ff1e78b44..15afda27c7 100644 --- a/plugins/Clist_nicer/skineditor/skinedit_10.vcxproj +++ b/plugins/Clist_nicer/skineditor/skinedit_10.vcxproj @@ -59,17 +59,17 @@ <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -83,7 +83,7 @@ Full OnlyExplicitInline Size - ../../../include;%(AdditionalIncludeDirectories) + ..\..\..\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;_UNICODE;UNICODE;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -97,7 +97,7 @@ NDEBUG;_UNICODE;UNICODE;%(PreprocessorDefinitions) - ../../../include;../../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -119,7 +119,7 @@ Disabled - ../../../include;%(AdditionalIncludeDirectories) + ..\..\..\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;_UNICODE;UNICODE;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL @@ -129,7 +129,7 @@ _DEBUG;_UNICODE;UNICODE;%(PreprocessorDefinitions) - ../../../include;../../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -151,7 +151,7 @@ Full OnlyExplicitInline Size - ../../../include/;%(AdditionalIncludeDirectories) + ..\..\..\include\;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;_UNICODE;UNICODE;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -165,7 +165,7 @@ NDEBUG;_UNICODE;UNICODE;%(PreprocessorDefinitions) - ../../../include;../../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -187,20 +187,16 @@ Disabled - ../../../include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;_UNICODE;UNICODE;%(PreprocessorDefinitions) + ..\..\..\include;%(AdditionalIncludeDirectories) + WIN64;_DEBUG;_WINDOWS;_USRDLL;_UNICODE;UNICODE;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL - - Level3 - ProgramDatabase 4996;%(DisableSpecificWarnings) _DEBUG;_UNICODE;UNICODE;%(PreprocessorDefinitions) - 0x0809 - ../../../include;../../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -208,6 +204,7 @@ 0x06660000 false $(IntDir)$(TargetName).lib + Windows diff --git a/plugins/Console/Console.vcxproj b/plugins/Console/Console.vcxproj index 1c64f0d62b..8a786d75cd 100644 --- a/plugins/Console/Console.vcxproj +++ b/plugins/Console/Console.vcxproj @@ -20,32 +20,25 @@ {A231E008-2D1A-4F24-95DD-59F56F85A499} - Console - - - - Console DynamicLibrary - false Unicode + true DynamicLibrary - false Unicode + true DynamicLibrary - false Unicode DynamicLibrary - false Unicode @@ -70,18 +63,18 @@ <_ProjectFileVersion>10.0.30319.1 - false - false - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - false - false - $(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)\ + $(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 + true @@ -89,87 +82,57 @@ true true Win32 - .\Debug/Console.tlb - - Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _UNICODE;WIN32;_DEBUG;_WINDOWS;_USRDLL;Console_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) EnableFastChecks - MultiThreadedDebug + MultiThreadedDebugDLL Use Commonheaders.h - true Level3 - true - ProgramDatabase - Default + EditAndContinue _DEBUG;%(PreprocessorDefinitions) - 0x0409 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include\msapi - true true - false false - - - MachineX86 - - $(IntDir)$(TargetName).lib + Windows + comctl32.lib;%(AdditionalDependencies) - - $(IntDir)$(TargetName).bsc - _DEBUG;%(PreprocessorDefinitions) true true - .\Debug/Console.tlb - - Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _UNICODE;WIN32;_DEBUG;_WINDOWS;_USRDLL;Console_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + _UNICODE;WIN64;_DEBUG;_WINDOWS;_USRDLL;Console_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) EnableFastChecks - MultiThreadedDebug + MultiThreadedDebugDLL Use Commonheaders.h - true Level3 - true - ProgramDatabase - Default _DEBUG;%(PreprocessorDefinitions) - 0x0409 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include\msapi - true true - false false - - $(IntDir)$(TargetName).lib - - + Windows + comctl32.lib;%(AdditionalDependencies) - - $(IntDir)$(TargetName).bsc - @@ -177,138 +140,75 @@ true true Win32 - .\Release/Console.tlb - - Full AnySuitable - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _UNICODE;WIN32;NDEBUG;_WINDOWS;_USRDLL;Console_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) true MultiThreadedDLL true Use Commonheaders.h - true Level3 - true - Default Size - true NDEBUG;%(PreprocessorDefinitions) - 0x0409 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include\msapi - true - false false - - - MachineX86 - - true true $(IntDir)$(TargetName).lib - UseLinkTimeCodeGeneration true + Windows + comctl32.lib;%(AdditionalDependencies) - - $(IntDir)$(TargetName).bsc - NDEBUG;%(PreprocessorDefinitions) true true - .\Release/Console.tlb - - Full AnySuitable - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _UNICODE;WIN32;NDEBUG;_WINDOWS;_USRDLL;Console_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + _UNICODE;WIN64;NDEBUG;_WINDOWS;_USRDLL;Console_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) true MultiThreadedDLL true Use Commonheaders.h - true Level3 - true - Default - true Size - true NDEBUG;%(PreprocessorDefinitions) - 0x0409 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include\msapi - true - false false - - $(IntDir)$(TargetName).lib - - true true - UseLinkTimeCodeGeneration true + Windows + comctl32.lib;%(AdditionalDependencies) - - $(IntDir)$(TargetName).bsc - - Disabled - Disabled - %(AdditionalIncludeDirectories) - %(AdditionalIncludeDirectories) - EnableFastChecks - EnableFastChecks Create Create - true - true - MaxSpeed - MaxSpeed - %(AdditionalIncludeDirectories) - %(AdditionalIncludeDirectories) Create Create - true - true - - - Disabled - Disabled - %(AdditionalIncludeDirectories) - %(AdditionalIncludeDirectories) - EnableFastChecks - EnableFastChecks - true - true - MaxSpeed - MaxSpeed - %(AdditionalIncludeDirectories) - %(AdditionalIncludeDirectories) - true - true + diff --git a/plugins/Console/resource.rc b/plugins/Console/resource.rc index d6f054e2c6..c67981d6d4 100644 --- a/plugins/Console/resource.rc +++ b/plugins/Console/resource.rc @@ -7,10 +7,7 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include #include -#include -#include #include ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS diff --git a/plugins/ContactsPlus/contacts.vcxproj b/plugins/ContactsPlus/contacts.vcxproj index 3840232733..99769af451 100644 --- a/plugins/ContactsPlus/contacts.vcxproj +++ b/plugins/ContactsPlus/contacts.vcxproj @@ -19,74 +19,44 @@ - - Contacts DynamicLibrary - false MultiByte DynamicLibrary - false - MultiByte - - - DynamicLibrary - false MultiByte DynamicLibrary - false MultiByte true DynamicLibrary - false MultiByte true - - DynamicLibrary - false - MultiByte - - - - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - - - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - - - false - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - - - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - true + + <_ProjectFileVersion>10.0.30319.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 + true @@ -95,41 +65,33 @@ true true Full - true Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) Use contacts.h Size - true false true NDEBUG;%(PreprocessorDefinitions) - .\Release\contacts.tlb true Win32 - 0x0405 NDEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi - - true - - true true - Console - /ALIGN:4096 /ignore:4108 + Windows comctl32.lib;%(AdditionalDependencies) true true $(IntDir)$(TargetName).lib - UseLinkTimeCodeGeneration true + false @@ -139,206 +101,104 @@ true true Full - true Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;NDEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) Use contacts.h Size - true false true NDEBUG;%(PreprocessorDefinitions) - .\Release\contacts.tlb true - 0x0405 NDEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi - - true - - true true - Console - /ALIGN:4096 /ignore:4108 comctl32.lib;%(AdditionalDependencies) true true $(IntDir)$(TargetName).lib - UseLinkTimeCodeGeneration true - - - - - MultiThreadedDLL - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) - Use - contacts.h - Size - true - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\contacts.tlb - true - - - 0x0405 - NDEBUG;%(PreprocessorDefinitions) - - - true - - - true - true - false - Console - $(IntDir)$(TargetName).lib - /ALIGN:4096 /ignore:4108 - comctl32.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - true - true - UseLinkTimeCodeGeneration + Windows + false MultiThreadedDebugDLL - Default false Disabled - true Level3 true EditAndContinue - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks + Use + contacts.h false true _DEBUG;%(PreprocessorDefinitions) - .\Debug\contacts.tlb true Win32 - 0x0405 _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi - - true - - true true true - Console + Windows comctl32.lib;%(AdditionalDependencies) $(IntDir)$(TargetName).lib + false MultiThreadedDebugDLL - Default false Disabled - true Level3 - ProgramDatabase - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;_DEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks false true _DEBUG;%(PreprocessorDefinitions) - .\Debug\contacts.tlb true - 0x0405 _DEBUG;%(PreprocessorDefinitions) + ..\..\include\msapi - - true - - true true true - Console + Windows comctl32.lib;%(AdditionalDependencies) $(IntDir)$(TargetName).lib - - - - - MultiThreadedDebug - Default - false - Disabled - true - Level3 - ProgramDatabase - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;CONTACTS_EXPORTS;%(PreprocessorDefinitions) - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\contacts.tlb - true - - - 0x0405 - _DEBUG;%(PreprocessorDefinitions) - - - true - - - true - true - true - Console - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + false - + + Create Create - Create - contacts.h - contacts.h - contacts.h - - - Use - Use - Use + Create + Create diff --git a/plugins/Db_autobackups/backup.c b/plugins/Db_autobackups/backup.c new file mode 100644 index 0000000000..377a1fe539 --- /dev/null +++ b/plugins/Db_autobackups/backup.c @@ -0,0 +1,230 @@ +#include "headers.h" +#include + +TCHAR dbname[MAX_PATH]; + +static UINT_PTR timer_id; + +INT_PTR CALLBACK DlgProcProgress(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +{ + switch(msg) { + case WM_INITDIALOG: + { + HWND prog = GetDlgItem(hwndDlg, IDC_PROGRESS); + TranslateDialogDefault( hwndDlg ); + SendMessage(prog, PBM_SETPOS, 0, 0); + } + break; + case WM_COMMAND: + if ( HIWORD( wParam ) == BN_CLICKED && LOWORD( wParam ) == IDCANCEL ) { + // in the progress dialog, use the user data to indicate that the user has pressed cancel + SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)1); + return TRUE; + } + break; + } + return FALSE; +} + +INT_PTR DBSaveAs(WPARAM wParam, LPARAM lParam) +{ + HWND progress_dialog = 0; + TCHAR fname_buff[MAX_PATH], szFilter[128]; + int i; + OPENFILENAME ofn = {0}; + CallService(MS_DB_GETPROFILENAMET,MAX_PATH,(LPARAM)fname_buff); + + i = mir_sntprintf(szFilter, 64, _T("%s (*.dat)"), TranslateT("Miranda Databases")) + 1; + _tcscpy(szFilter + i, _T("*.dat")); + i += 6; + i += mir_sntprintf(szFilter + i, 48, _T("%s (*.*)"), TranslateT("All Files")) + 1; + _tcscpy(szFilter + i, _T("*")); + szFilter[i + 2] = 0; + + ofn.lStructSize = sizeof(ofn); + ofn.lpstrFile = fname_buff; + ofn.nMaxFile = MAX_PATH; + ofn.Flags = OFN_NOREADONLYRETURN | OFN_OVERWRITEPROMPT; + ofn.lpstrFilter = szFilter; + ofn.nFilterIndex = 1; + ofn.lpstrDefExt = _T("dat"); + + if (GetSaveFileName(&ofn)) + Backup(fname_buff); + + return 0; +} + +struct FileNameFound_Tag +{ + TCHAR Name[MAX_PATH]; + FILETIME CreationTime; +}FileNameFound; + +int RotateBackups(HWND progress_dialog, DWORD start_time) +{ + TCHAR backupfilename1[MAX_PATH] = {0}, backupfilename2[MAX_PATH] = {0}, backupfolderTmp[MAX_PATH] = {0}; + TCHAR* backupfolder; + unsigned int i = 0; + HWND prog = GetDlgItem(progress_dialog, IDC_PROGRESS); + MSG msg; + + WIN32_FIND_DATA FindFileData; + HANDLE hFind; + + backupfolder = Utils_ReplaceVarsT(options.folder); + + mir_sntprintf(backupfolderTmp, SIZEOF(backupfolderTmp), _T("%s\\*"), backupfolder); + hFind = FindFirstFile(backupfolderTmp, &FindFileData); + if (hFind == INVALID_HANDLE_VALUE) + return 0; + _tcscpy(FileNameFound.Name, _T("")); + while (FindNextFile(hFind, &FindFileData)) + { + if (FindFileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) + continue; + else if (_tcsicmp(&FindFileData.cFileName[_tcslen(FindFileData.cFileName)-4], _T(".bak")) == 0) + { + if (_tcsicmp(FileNameFound.Name, _T("")) == 0) + { + _tcscpy(FileNameFound.Name, FindFileData.cFileName); + FileNameFound.CreationTime = FindFileData.ftCreationTime; + } + else if ((FindFileData.ftCreationTime.dwHighDateTime < FileNameFound.CreationTime.dwHighDateTime) || (FindFileData.ftCreationTime.dwHighDateTime == FileNameFound.CreationTime.dwHighDateTime && FindFileData.ftCreationTime.dwLowDateTime < FileNameFound.CreationTime.dwLowDateTime)) + { + _tcscpy(FileNameFound.Name, FindFileData.cFileName); + FileNameFound.CreationTime = FindFileData.ftCreationTime; + } + i++; + while(PeekMessage(&msg, progress_dialog, 0, 0, PM_REMOVE) != 0) + { + if(!IsDialogMessage(progress_dialog, &msg)) + { + TranslateMessage(&msg); + DispatchMessage(&msg); + } + } + + SendMessage(prog, PBM_SETPOS, (WPARAM)(int)(100 * (options.num_backups - i) / options.num_backups), 0); + UpdateWindow(progress_dialog); + } + } + + FindClose(hFind); + if (i >= options.num_backups) + { + mir_sntprintf(backupfilename1, MAX_PATH, _T("%s\\%s"), backupfolder, FileNameFound.Name); + DeleteFile(backupfilename1); + } + mir_free(backupfolder); + return 0; +} + +int Backup(TCHAR* backup_filename) +{ + TCHAR source_file[MAX_PATH] = {0}, dest_file[MAX_PATH] = {0}; + TCHAR* backupfolder,* pathtmp,* puText; + HWND progress_dialog; + DWORD start_time = GetTickCount(); + int i; + size_t dest_file_len; + + CallService(MS_DB_GETPROFILENAMET, MAX_PATH, (LPARAM)dbname); + + if (backup_filename == NULL) + { + int err = 0; + + SYSTEMTIME st; + TCHAR buffer[MAX_COMPUTERNAME_LENGTH+1]; + DWORD size = sizeof(buffer); + + backupfolder = Utils_ReplaceVarsT(options.folder); + // ensure the backup folder exists (either create it or return non-zero signifying error) + err = CreateDirectoryTree(backupfolder); + if(err != ERROR_ALREADY_EXISTS && err != 0) { + return 1; + } + + GetLocalTime(&st); + GetComputerName(buffer, &size); + mir_sntprintf(dest_file, MAX_PATH, _T("%s\\%s_%02d.%02d.%02d@%02d-%02d-%02d_%s.bak"), backupfolder, dbname, st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, buffer); + mir_free(backupfolder); + } + else + lstrcpyn(dest_file, backup_filename, MAX_PATH); + + if(!options.disable_popups) + ShowPopup(dbname, TranslateT("Backup in Progress")); + + if(!options.disable_progress) { + progress_dialog = CreateDialog(hInst, MAKEINTRESOURCE(IDD_COPYPROGRESS), 0, (DLGPROC)DlgProcProgress); + SetDlgItemText(progress_dialog, IDC_PROGRESSMESSAGE, TranslateT("Rotating backup files...")); + } + + RotateBackups(progress_dialog, start_time); + + SetDlgItemText(progress_dialog, 0xDAED, TranslateT("Copying database file...")); + SendMessage(progress_dialog, PBM_SETPOS, (WPARAM)(int)(0), 0); + UpdateWindow(progress_dialog); + + mir_sntprintf(source_file, MAX_PATH, _T("%s\\%s"), profilePath, dbname); + pathtmp = Utils_ReplaceVarsT(source_file); + if (CopyFile(pathtmp, dest_file, 0)) + { + SendMessage(progress_dialog, PBM_SETPOS, (WPARAM)(int)(100), 0); + UpdateWindow(progress_dialog); + DBWriteContactSettingDword(0, "AutoBackups", "LastBackupTimestamp", (DWORD)time(0)); + if(!options.disable_popups) + { + dest_file_len = lstrlen(dest_file); + if(dest_file_len > 50) + { + puText = mir_alloc(sizeof(TCHAR) * (dest_file_len + 2)); + for(i = (int)dest_file_len - 1; dest_file[i] != _T('\\'); i--); + + lstrcpyn(puText, dest_file, i + 2); + lstrcat(puText, _T("\n")); + lstrcat(puText, dest_file + i + 1); + } + else + puText = mir_tstrdup(dest_file); + + ShowPopup(puText, TranslateT("Database backuped")); + mir_free(puText); + } + } + else + DeleteFile(dest_file); + mir_free(pathtmp); + + DestroyWindow(progress_dialog); + return 0; +} + +VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) { + time_t t = time(0), diff = t - (time_t)DBGetContactSettingDword(0, "AutoBackups", "LastBackupTimestamp", (DWORD)t); + if(diff > (time_t)(options.period * (options.period_type == PT_MINUTES ? 60 : (options.period_type == PT_HOURS ? 60 * 60 : 60 * 60 * 24 ) ))) + Backup(NULL); +} + +int SetBackupTimer(void) +{ + if(options.backup_types & BT_PERIODIC) + { + if(timer_id == 0) + timer_id = SetTimer(0, 0, 1000 * 60, TimerProc); + } + else if(timer_id != 0) + { + KillTimer(0, timer_id); + timer_id = 0; + } + return 0; +} + +INT_PTR ABService(WPARAM wParam, LPARAM lParam) +{ + Backup((TCHAR*)wParam); + return 0; +} diff --git a/plugins/Db_autobackups/db_autobackups.rc b/plugins/Db_autobackups/db_autobackups.rc new file mode 100644 index 0000000000..714f4a3505 --- /dev/null +++ b/plugins/Db_autobackups/db_autobackups.rc @@ -0,0 +1,182 @@ +// Microsoft Visual C++ generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Russian resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) +#ifdef _WIN32 +LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT +#pragma code_page(1251) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_COPYPROGRESS DIALOGEX 0, 0, 186, 58 +STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | + WS_POPUP | WS_VISIBLE | WS_CAPTION +CAPTION "Backup progress" +FONT 8, "MS Shell Dlg", 400, 0, 0x1 +BEGIN + CONTROL "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7,24,172,9 + CTEXT "",IDC_PROGRESSMESSAGE,31,7,114,13 + PUSHBUTTON "Cancel",IDCANCEL,58,39,67,12 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_COPYPROGRESS, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 179 + TOPMARGIN, 7 + BOTTOMMARGIN, 51 + END +END +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Icon +// + +// Icon with lowest ID value placed first to ensure application icon +// remains consistent on all systems. +IDI_ICON1 ICON "icos\\backup.ico" +#endif // Russian resources +///////////////////////////////////////////////////////////////////////////// + + +///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) +#endif //_WIN32 + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +IDD_OPTIONS DIALOGEX 0, 0, 271, 193 +STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_CHILD +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + GROUPBOX "Automatic Backups",IDC_STATIC,6,7,258,179,WS_GROUP + RTEXT "Number of backups to keep:",IDC_STATIC,13,94,132,8 + EDITTEXT IDC_ED_NUMBACKUPS,164,90,30,12,ES_NUMBER,WS_EX_RIGHT + CONTROL "",SPIN_NUMBACKUPS,"msctls_updown32",UDS_SETBUDDYINT | + UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,182,90,10, + 12 + PUSHBUTTON "Backup NOW",IDC_BUT_NOW,173,19,75,14 + CONTROL "Disabled",IDC_RAD_DISABLED,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,17,19,128,10 + CONTROL "When Miranda starts",IDC_RAD_START,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,17,35,156,10 + CONTROL "When Miranda exits",IDC_RAD_EXIT,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,17,51,156,10 + CONTROL "Every:",IDC_RAD_PERIODIC,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,17,67,43,10 + COMBOBOX IDC_PT,148,67,46,30,CBS_DROPDOWNLIST | WS_TABSTOP + EDITTEXT IDC_ED_PERIOD,106,67,30,12,ES_NUMBER,WS_EX_RIGHT + CONTROL "",SPIN_PERIOD,"msctls_updown32",UDS_SETBUDDYINT | + UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,126,67,10, + 12 + LTEXT "Backup to folder:",IDC_STATIC,18,120,124,11 + EDITTEXT IDC_ED_FOLDER,26,133,168,13,ES_AUTOHSCROLL + PUSHBUTTON "Browse...",IDC_BUT_BROWSE,199,132,49,14 + CONTROL "Go to the ""Customize -> Folders"" to change settings", + IDC_LNK_FOLDERS,"Hyperlink",NOT WS_VISIBLE | WS_TABSTOP, + 18,129,231,21 + CONTROL "Disable progress bar",IDC_CHK_NOPROG,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,17,152,182,11 + CONTROL "Disable Popups",IDC_CHK_NOPOPUP,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,17,168,182,11 +END + + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN + IDD_OPTIONS, DIALOG + BEGIN + LEFTMARGIN, 6 + RIGHTMARGIN, 264 + VERTGUIDE, 17 + VERTGUIDE, 193 + VERTGUIDE, 248 + TOPMARGIN, 38 + BOTTOMMARGIN, 186 + END +END +#endif // APSTUDIO_INVOKED + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include \0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/plugins/Db_autobackups/db_autobackups_10.vcxproj b/plugins/Db_autobackups/db_autobackups_10.vcxproj new file mode 100644 index 0000000000..7b20970df4 --- /dev/null +++ b/plugins/Db_autobackups/db_autobackups_10.vcxproj @@ -0,0 +1,183 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + Db_autobackups + {751ED05D-AD3E-4EC6-A485-4ECDF1FE6068} + + + + DynamicLibrary + Unicode + true + + + DynamicLibrary + Unicode + true + + + DynamicLibrary + Unicode + + + DynamicLibrary + Unicode + + + + + + + + + + + + + + + + + + + <_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 + true + true + true + + + + Disabled + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + Level3 + EditAndContinue + + + true + Windows + $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) + false + + + ..\..\include\msapi + + + + + Disabled + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;_DEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + Level3 + + + true + Windows + $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) + false + + + ..\..\include\msapi + + + + + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDLL + Level3 + Size + Full + + + true + Windows + true + true + $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) + false + + + ..\..\include\msapi + + + + + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) + WIN64;NDEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) + MultiThreadedDLL + Level3 + Full + OnlyExplicitInline + Size + + + true + Windows + true + true + $(IntDir)$(TargetName).lib + comctl32.lib;%(AdditionalDependencies) + false + + + ..\..\include\msapi + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/plugins/Db_autobackups/db_autobackups_10.vcxproj.filters b/plugins/Db_autobackups/db_autobackups_10.vcxproj.filters new file mode 100644 index 0000000000..964916d73a --- /dev/null +++ b/plugins/Db_autobackups/db_autobackups_10.vcxproj.filters @@ -0,0 +1,55 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + Resource Files + + + + + Resource Files + + + Resource Files + + + \ No newline at end of file diff --git a/plugins/Db_autobackups/icos/backup.ico b/plugins/Db_autobackups/icos/backup.ico new file mode 100644 index 0000000000..2bd78218d8 Binary files /dev/null and b/plugins/Db_autobackups/icos/backup.ico differ diff --git a/plugins/Db_autobackups/main.c b/plugins/Db_autobackups/main.c new file mode 100644 index 0000000000..7390bd9dc7 --- /dev/null +++ b/plugins/Db_autobackups/main.c @@ -0,0 +1,262 @@ +#include "headers.h" +#include "version.h" +#include "m_trigger.h" + +struct MM_INTERFACE mmi; +HINSTANCE hInst; +PLUGINLINK *pluginLink; +int hLangpack; + +HANDLE hFolder; +HANDLE hHooks[4]; +HANDLE hServices[3]; + +PLUGININFOEX pluginInfo={ + sizeof(PLUGININFOEX), + __PLUGIN_NAME, + __VERSION_DWORD, + __PLUGIN_DESC, + "chaos.persei, sje, Kildor, Billy_Bons", + "chaos.persei@gmail.com", + __COPYRIGHTS, + "http://mods.mirandaim.ru/", + UNICODE_AWARE, + 0, //doesn't replace anything built-in + // Generate your own unique id for your plugin. + // Do not use this UUID! + // Use uuidgen.exe to generate the uuuid + // {81C220A6-0226-4ad6-BFCA-217B17A16053} + { 0x81c220a6, 0x226, 0x4ad6, { 0xbf, 0xca, 0x21, 0x7b, 0x17, 0xa1, 0x60, 0x53 } } +}; + +#define MIID_DB_AUTOBACKUPS { 0x81c220a6, 0x226, 0x4ad6, { 0xbf, 0xca, 0x21, 0x7b, 0x17, 0xa1, 0x60, 0x53 } } + +struct +{ + TCHAR* szDescr; + char* szName; + int defIconID; +} +static const iconList[] = { + { _T("Backup Profile"), "backup", IDI_ICON1 }, + { _T("Save Profile As..."), "saveas", IDI_ICON1 } +}; + +INT_PTR BackupServiceTrgr(WPARAM wParam, LPARAM lParam) +{ + if(wParam & ACT_PERFORM) { + return Backup(NULL); + } + return 0; +} + +static int FoldersGetBackupPath(WPARAM wParam, LPARAM lParam) +{ + FoldersGetCustomPathT(hFolder, options.folder, MAX_PATH, DIR SUB_DIR); + return 0; +} + +static int FoldersInit(void) +{ + hFolder = (HANDLE) FoldersRegisterCustomPathT("Database Backups", "Backup Folder", DIR SUB_DIR); + hHooks[0] = HookEvent(ME_FOLDERS_PATH_CHANGED, FoldersGetBackupPath); + FoldersGetBackupPath(0, 0); + return 0; +} + +static void IcoLibInit(void) +{ + int i; + SKINICONDESC sid = {0}; + TCHAR tszFile[MAX_PATH]; + GetModuleFileName(hInst, tszFile, MAX_PATH); + + sid.cbSize = sizeof(SKINICONDESC); + sid.ptszDefaultFile = tszFile; + sid.ptszSection = _T("Database/Database Backups"); + sid.flags = SIDF_ALL_TCHAR; + + for ( i = 0; i < SIZEOF(iconList); i++ ) { + sid.pszName = iconList[i].szName; + sid.ptszDescription = iconList[i].szDescr; + sid.iDefaultIndex = -iconList[i].defIconID; + CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid); + } +} + +static void MenuInit(void) +{ + CLISTMENUITEM menu = {0}; + menu.cbSize = sizeof(menu); + menu.flags = CMIF_TCHAR; + menu.hIcon=(HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"backup"); + menu.ptszPopupName = LPGENT("Database"); + + menu.ptszName = LPGENT("Backup Profile"); + menu.pszService = MS_AB_BACKUP; + menu.position = 500100000; + CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&menu); + + menu.hIcon=(HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"saveas"); + menu.ptszName = LPGENT("Save Profile As..."); + menu.pszService = MS_AB_SAVEAS; + menu.position = 500100001; + CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&menu); +} + +static void TriggerActionInit(void) +{ + ACTIONREGISTER ar = {0}; + ar.cbSize = sizeof(ACTIONREGISTER); + ar.pszName = "Backup Database"; + ar.pszService = MS_AB_BACKUPTRGR; + + CallService(MS_TRIGGER_REGISTERACTION, 0, (LPARAM)&ar); +} + +static int ModulesLoad(WPARAM wParam, LPARAM lParam) +{ + profilePath = Utils_ReplaceVarsT(_T("%miranda_userdata%")); + + IcoLibInit(); + if(ServiceExists(MS_FOLDERS_REGISTER_PATH)) + FoldersInit(); + LoadOptions(); + MenuInit(); + + // register trigger action for triggerplugin + if(ServiceExists(MS_TRIGGER_REGISTERACTION)) + TriggerActionInit(); + + hHooks[1] = HookEvent(ME_OPT_INITIALISE, OptionsInit); + if(options.backup_types & BT_START) + Backup(NULL); + return 0; +} + +// can't do this on unload, since other plugins will be have already been unloaded, but their hooks +// for setting changed event not cleared. the backup on exit function will write to the db, calling those hooks. +int PreShutdown(WPARAM wParam, LPARAM lParam) { + if(options.backup_types & BT_EXIT) + { + options.disable_popups = 1; // Don't try to show popups on exit + Backup(NULL); + } + return 0; +} + +void SysInit() +{ + mir_getMMI( &mmi ); + mir_getLP( &pluginInfo ); + OleInitialize(0); + + hServices[0] = CreateServiceFunction(MS_AB_BACKUP, ABService); + hServices[1] = CreateServiceFunction(MS_AB_BACKUPTRGR, BackupServiceTrgr); + hServices[2] = CreateServiceFunction(MS_AB_SAVEAS, DBSaveAs); + + hHooks[2] = HookEvent(ME_SYSTEM_PRESHUTDOWN, PreShutdown); + hHooks[3] = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoad); +} + +BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) +{ + hInst=hinstDLL; + return TRUE; +} + +__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) +{ + if ( mirandaVersion < PLUGIN_MAKE_VERSION(0,8,1,0)) { + MessageBox( NULL, _T("The ") _T(__PLUGIN_NAME_BASE) _T(" plugin cannot be loaded. It requires Miranda IM 0.8.1 or later."), _T(__PLUGIN_NAME_BASE), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST ); + return NULL; + } + return &pluginInfo; +} + +static const MUUID interfaces[] = {MIID_DB_AUTOBACKUPS, MIID_LAST}; +__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) +{ + return interfaces; +} + +int __declspec(dllexport) Load(PLUGINLINK *link) +{ + pluginLink=link; + SysInit(); + return 0; +} + +int __declspec(dllexport) Unload(void) +{ + int i; + + OleUninitialize(); + + for (i=0; i + +Options options; +static HWND hPathTip; + +int LoadOptions(void) { + DBVARIANT dbv; + TCHAR* tmp; + + options.backup_types = (BackupType)DBGetContactSettingByte(0, "AutoBackups", "BackupType", (BYTE)(BT_PERIODIC)); + options.period = (unsigned int)DBGetContactSettingWord(0, "AutoBackups", "Period", 1); + options.period_type = (PeriodType)DBGetContactSettingByte(0, "AutoBackups", "PeriodType", (BYTE)PT_DAYS); + + if(!ServiceExists(MS_FOLDERS_GET_PATH)) { + + if(!DBGetContactSettingTString(0, "AutoBackups", "Folder", &dbv)) { + tmp = Utils_ReplaceVarsT(dbv.ptszVal); + + if(_tcslen(tmp) >= 2 && tmp[1] == ':') + _tcsncpy(options.folder, dbv.ptszVal, MAX_PATH-1); + else + mir_sntprintf(options.folder, MAX_PATH, _T("%s\\%s"), profilePath, dbv.ptszVal); + + DBFreeVariant(&dbv); + mir_free(tmp); + } else + mir_sntprintf(options.folder, MAX_PATH, _T("%s%s"), DIR, SUB_DIR); + } + options.num_backups = (unsigned int)DBGetContactSettingWord(0, "AutoBackups", "NumBackups", 3); + + options.disable_progress = (BOOL)DBGetContactSettingByte(0, "AutoBackups", "NoProgress", 0); + options.disable_popups = (BOOL)DBGetContactSettingByte(0, "AutoBackups", "NoPopups", 0); + + SetBackupTimer(); + return 0; +} + +int SaveOptions(void) { + TCHAR prof_dir[MAX_PATH]; + TCHAR* buf,* tmp; + size_t prof_len, opt_len; + + DBWriteContactSettingByte(0, "AutoBackups", "BackupType", (BYTE)options.backup_types); + if (options.period < 1) options.period = 1; + DBWriteContactSettingWord(0, "AutoBackups", "Period", (WORD)options.period); + DBWriteContactSettingByte(0, "AutoBackups", "PeriodType", (BYTE)options.period_type); + + mir_sntprintf(prof_dir, MAX_PATH, _T("%s\\"), profilePath); + prof_len = _tcslen(prof_dir); + opt_len = _tcslen(options.folder); + + if(opt_len > prof_len && _tcsncmp(options.folder, prof_dir, prof_len) == 0) { + DBWriteContactSettingTString(0, "AutoBackups", "Folder", (options.folder + prof_len)); + } else + DBWriteContactSettingTString(0, "AutoBackups", "Folder", options.folder); + + tmp = Utils_ReplaceVarsT(options.folder); + if(_tcslen(tmp) < 2 || tmp[1] != ':') + { + buf = mir_tstrdup(options.folder); + mir_sntprintf(options.folder, MAX_PATH, _T("%s\\%s"), profilePath, buf); + mir_free(buf); + } + mir_free(tmp); + DBWriteContactSettingWord(0, "AutoBackups", "NumBackups", (WORD)options.num_backups); + DBWriteContactSettingByte(0, "AutoBackups", "NoProgress", (BYTE)options.disable_progress); + DBWriteContactSettingByte(0, "AutoBackups", "NoPopups", (BYTE)options.disable_popups); + + SetBackupTimer(); + return 0; +} + +Options new_options; + +int SetDlgState(HWND hwndDlg) { + TCHAR buff[10]; + + if(new_options.backup_types == BT_DISABLED) { + CheckDlgButton(hwndDlg, IDC_RAD_DISABLED, BST_CHECKED); + EnableWindow(GetDlgItem(hwndDlg, IDC_RAD_DISABLED), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_ED_NUMBACKUPS), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_ED_FOLDER), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_BUT_BROWSE), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_LNK_FOLDERS), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPROG), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPOPUP), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_ED_PERIOD), FALSE); + EnableWindow(GetDlgItem(hwndDlg, IDC_PT), FALSE); + + CheckDlgButton(hwndDlg, IDC_RAD_START, BST_UNCHECKED); + CheckDlgButton(hwndDlg, IDC_RAD_EXIT, BST_UNCHECKED); + CheckDlgButton(hwndDlg, IDC_RAD_PERIODIC, BST_UNCHECKED); + } else { + EnableWindow(GetDlgItem(hwndDlg, IDC_RAD_DISABLED), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_ED_NUMBACKUPS), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_ED_FOLDER), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_BUT_BROWSE), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_LNK_FOLDERS), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPROG), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPOPUP), TRUE); + EnableWindow(GetDlgItem(hwndDlg, IDC_ED_PERIOD), new_options.backup_types & BT_PERIODIC); + EnableWindow(GetDlgItem(hwndDlg, IDC_PT), new_options.backup_types & BT_PERIODIC); + + CheckDlgButton(hwndDlg, IDC_RAD_DISABLED, BST_UNCHECKED); + CheckDlgButton(hwndDlg, IDC_RAD_START, new_options.backup_types & BT_START ? BST_CHECKED : BST_UNCHECKED); + CheckDlgButton(hwndDlg, IDC_RAD_EXIT, new_options.backup_types & BT_EXIT ? BST_CHECKED : BST_UNCHECKED); + CheckDlgButton(hwndDlg, IDC_RAD_PERIODIC, new_options.backup_types & BT_PERIODIC ? BST_CHECKED : BST_UNCHECKED); + } + + SendDlgItemMessage(hwndDlg, SPIN_PERIOD, UDM_SETRANGE32, (WPARAM)1, (LPARAM)60); + SetDlgItemText(hwndDlg, IDC_ED_PERIOD, _itot(new_options.period, buff, 10)); + + SendDlgItemMessage(hwndDlg, SPIN_NUMBACKUPS, UDM_SETRANGE32, (WPARAM)1, (LPARAM)100); + SetDlgItemText(hwndDlg, IDC_ED_NUMBACKUPS, _itot(new_options.num_backups, buff, 10)); + + SetDlgItemText(hwndDlg, IDC_ED_FOLDER, new_options.folder); + + CheckDlgButton(hwndDlg, IDC_CHK_NOPROG, new_options.disable_progress ? BST_CHECKED : BST_UNCHECKED); + CheckDlgButton(hwndDlg, IDC_CHK_NOPOPUP, new_options.disable_popups ? BST_CHECKED : BST_UNCHECKED); + if (!ServiceExists(MS_POPUP_ADDPOPUP)) + ShowWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPOPUP), SW_HIDE); + + return 0; +} + +int CALLBACK BrowseProc(HWND hwnd,UINT uMsg, LPARAM lParam, LPARAM lpData ) +{ + TCHAR* folder; + switch(uMsg) + { + case BFFM_INITIALIZED: + folder = Utils_ReplaceVarsT(options.folder); + SendMessage(hwnd, BFFM_SETSELECTION, TRUE, (LPARAM)folder); + mir_free(folder); + break; + } + return 0; +} + +INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) +{ + TCHAR buff[10]; + TCHAR folder_buff[MAX_PATH] = {0}, backupfolder[MAX_PATH] = {0}; + TCHAR tszTooltipText[1024]; + TCHAR* tmp; + BROWSEINFO bi; + LPCITEMIDLIST pidl; + OPENOPTIONSDIALOG ood = {0}; + + switch ( msg ) { + case WM_INITDIALOG: + TranslateDialogDefault( hwndDlg ); + memcpy(&new_options, &options, sizeof(Options)); + + if (ServiceExists(MS_FOLDERS_GET_PATH)) + { + ShowWindow(GetDlgItem(hwndDlg, IDC_ED_FOLDER), SW_HIDE); + ShowWindow(GetDlgItem(hwndDlg, IDC_BUT_BROWSE), SW_HIDE); + ShowWindow(GetDlgItem(hwndDlg, IDC_LNK_FOLDERS), SW_SHOW); + } + else + { + mir_sntprintf(tszTooltipText, SIZEOF(tszTooltipText), _T("%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s"), + _T("%miranda_path%"), TranslateT("path to root miranda folder"), + _T("%miranda_profile%"), TranslateT("path to current miranda profile"), + _T("%miranda_profilename%"), TranslateT("name of current miranda profile (filename, without extension)"), + _T("%miranda_userdata%"), TranslateT("will return parsed string %miranda_profile%\\Profiles\\%miranda_profilename%"), + _T("%appdata%"), TranslateT("same as environment variable %APPDATA% for currently logged-on Windows user"), + _T("%username%"), TranslateT("username for currently logged-on Windows user"), + _T("%mydocuments%"), TranslateT("\"My Documents\" folder for currently logged-on Windows user"), + _T("%desktop%"), TranslateT("\"Desktop\" folder for currently logged-on Windows user"), + _T("%xxxxxxx%"), TranslateT("any environment variable defined in current Windows session (like %systemroot%, %allusersprofile%, etc.)") + ); + hPathTip = CreateToolTip(GetDlgItem(hwndDlg, IDC_ED_FOLDER), tszTooltipText, TranslateT("Variables")); + } + + SetDlgState(hwndDlg); + + SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Days")); + SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Hours")); + SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Minutes")); + switch(new_options.period_type){ + case PT_DAYS: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 0, 0); break; + case PT_HOURS: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 1, 0); break; + case PT_MINUTES: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 2, 0); break; + } + if (hPathTip) + SetTimer(hwndDlg, 0, 3000, NULL); + return TRUE; + case WM_COMMAND: + if ( HIWORD( wParam ) == EN_CHANGE && ( HWND )lParam == GetFocus()) { + switch( LOWORD( wParam )) { + case IDC_ED_PERIOD: + case IDC_ED_FOLDER: + case IDC_ED_NUMBACKUPS: + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + } + } + if ( HIWORD( wParam ) == CBN_SELCHANGE) { + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + } + if ( HIWORD( wParam ) == BN_CLICKED ) { + switch( LOWORD( wParam )) { + case IDC_RAD_DISABLED: + if(IsDlgButtonChecked(hwndDlg, IDC_RAD_DISABLED)) { + new_options.backup_types = BT_DISABLED; + } + SetDlgState(hwndDlg); + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + case IDC_RAD_START: + if(IsDlgButtonChecked(hwndDlg, IDC_RAD_START)) + new_options.backup_types |= BT_START; + else + new_options.backup_types &= ~BT_START; + SetDlgState(hwndDlg); + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + case IDC_RAD_EXIT: + if(IsDlgButtonChecked(hwndDlg, IDC_RAD_EXIT)) + new_options.backup_types |= BT_EXIT; + else + new_options.backup_types &= ~BT_EXIT; + SetDlgState(hwndDlg); + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + case IDC_RAD_PERIODIC: + if(IsDlgButtonChecked(hwndDlg, IDC_RAD_PERIODIC)) + new_options.backup_types |= BT_PERIODIC; + else + new_options.backup_types &= ~BT_PERIODIC; + SetDlgState(hwndDlg); + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + + case IDC_BUT_BROWSE: + bi.hwndOwner = hwndDlg; + bi.pidlRoot = 0; + bi.pszDisplayName = folder_buff; + bi.lpszTitle = TranslateT("Select Backup Folder"); + bi.ulFlags = BIF_NEWDIALOGSTYLE; + bi.lpfn = BrowseProc; + bi.lParam = 0; + bi.iImage = 0; + + if((pidl = SHBrowseForFolder(&bi)) != 0) { + SHGetPathFromIDList(pidl, folder_buff); + + SetDlgItemText(hwndDlg, IDC_ED_FOLDER, folder_buff); + + SendMessage( GetParent( hwndDlg ), PSM_CHANGED, 0, 0 ); + + CoTaskMemFree((void *)pidl); + } + break; + case IDC_BUT_NOW: + Backup(NULL); + break; + case IDC_CHK_NOPROG: + new_options.disable_progress = IsDlgButtonChecked(hwndDlg, IDC_CHK_NOPROG); + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + case IDC_CHK_NOPOPUP: + new_options.disable_popups = IsDlgButtonChecked(hwndDlg, IDC_CHK_NOPOPUP); + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + case IDC_LNK_FOLDERS: + ood.cbSize = sizeof(ood); + ood.pszGroup = "Customize"; + ood.pszPage = "Folders"; + CallService( MS_OPT_OPENOPTIONS, 0, (LPARAM)&ood ); + break; + } + } + + break; + + case WM_TIMER: + if(IsWindow(hPathTip)) + KillTimer(hPathTip, 4); // It will prevent tooltip autoclosing + break; + + case WM_NOTIFY: + if (((LPNMHDR)lParam)->code == PSN_APPLY ) { + GetDlgItemText(hwndDlg, IDC_ED_PERIOD, buff, sizeof(buff)); + new_options.period = _ttoi(buff); + GetDlgItemText(hwndDlg, IDC_ED_NUMBACKUPS, buff, sizeof(buff)); + new_options.num_backups = _ttoi(buff); + + switch(SendDlgItemMessage(hwndDlg, IDC_PT, CB_GETCURSEL, 0, 0)) { + case 0: new_options.period_type = PT_DAYS; break; + case 1: new_options.period_type = PT_HOURS; break; + case 2: new_options.period_type = PT_MINUTES; break; + } + + GetDlgItemText(hwndDlg, IDC_ED_FOLDER, folder_buff, MAX_PATH); + { + BOOL folder_ok = TRUE; + int err = 0; + tmp = Utils_ReplaceVarsT(folder_buff); + + if(_tcslen(tmp) >= 2 && tmp[1] == ':') + _tcsncpy(backupfolder, tmp, MAX_PATH-1); + else + mir_sntprintf(backupfolder, MAX_PATH, _T("%s\\%s"), profilePath, tmp); + mir_free(tmp); + + err = CreateDirectoryTree(backupfolder); + if(err != ERROR_ALREADY_EXISTS && err != 0) { + TCHAR msg_buff[512]; + FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, 0, err, 0, msg_buff, 512, 0); + MessageBox(0, msg_buff, TranslateT("Error Creating Backup Folder"), MB_OK | MB_ICONERROR); + folder_ok = FALSE; + } + + if(folder_ok) { + _tcsncpy(new_options.folder, folder_buff, MAX_PATH-1); + memcpy(&options, &new_options, sizeof(Options)); + SaveOptions(); + } else { + memcpy(&new_options, &options, sizeof(Options)); + SetDlgState(hwndDlg); + } + } + return TRUE; + + } + break; + + case WM_DESTROY: + if (hPathTip) + { + KillTimer(hwndDlg, 0); + DestroyWindow(hPathTip); + hPathTip = 0; + } + return FALSE; + } + + return FALSE; +} + +int OptionsInit(WPARAM wParam, LPARAM lParam) +{ + OPTIONSDIALOGPAGE odp; + + ZeroMemory(&odp, sizeof(odp)); + odp.cbSize = sizeof(odp); + odp.position = -790000000; + odp.hInstance = hInst; + odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS); + odp.ptszTitle = LPGENT("Database AutoBackups"); + odp.ptszGroup = LPGENT("Services"); + odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; + odp.pfnDlgProc = DlgProcOptions; + CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp ); + + return 0; +} diff --git a/plugins/Db_autobackups/options.h b/plugins/Db_autobackups/options.h new file mode 100644 index 0000000000..240fc9566e --- /dev/null +++ b/plugins/Db_autobackups/options.h @@ -0,0 +1,37 @@ +/* + +Miranda IM: the free IM client for Microsoft* Windows* + +Copyright 2000-2003 Miranda ICQ/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. +*/ + +typedef enum { BT_DISABLED = 0, BT_START = 1, BT_EXIT = 2, BT_PERIODIC = 4} BackupType; +typedef enum { PT_DAYS, PT_HOURS, PT_MINUTES} PeriodType; + +typedef struct Options_tag { + int backup_types; + unsigned int period; + PeriodType period_type; + TCHAR folder[MAX_PATH]; + unsigned int num_backups; + BOOL disable_progress; + BOOL disable_popups; +} Options; + +extern Options options; \ No newline at end of file diff --git a/plugins/Db_autobackups/resource.h b/plugins/Db_autobackups/resource.h new file mode 100644 index 0000000000..fe3f28621c --- /dev/null +++ b/plugins/Db_autobackups/resource.h @@ -0,0 +1,35 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Visual C++ generated include file. +// Used by db_autobackups.rc +// +#define IDD_OPTIONS 101 +#define IDI_ICON1 270 +#define IDD_COPYPROGRESS 271 +#define SPIN_PERIOD 1369 +#define SPIN_NUMBACKUPS 1370 +#define IDC_PT 1371 +#define IDC_ED_PERIOD 1658 +#define IDC_RAD_DISABLED 1660 +#define IDC_RAD_START 1663 +#define IDC_RAD_EXIT 1664 +#define IDC_RAD_PERIODIC 1665 +#define IDC_ED_NUMBACKUPS 1666 +#define IDC_ED_FOLDER 1667 +#define IDC_BUT_BROWSE 1668 +#define IDC_LNK_FOLDERS 1669 +#define IDC_CHK_NOPROG 1670 +#define IDC_BUT_NOW 1671 +#define IDC_CHK_NOPOPUP 1672 +#define IDC_PROGRESSMESSAGE 0xDAED +#define IDC_PROGRESS 0xDEAD + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 272 +#define _APS_NEXT_COMMAND_VALUE 40018 +#define _APS_NEXT_CONTROL_VALUE 1673 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/plugins/Db_autobackups/resource.rc b/plugins/Db_autobackups/resource.rc new file mode 100644 index 0000000000..42f5b0b55b --- /dev/null +++ b/plugins/Db_autobackups/resource.rc @@ -0,0 +1,2 @@ +#include "db_autobackups.rc" +#include "version.rc" diff --git a/plugins/Db_autobackups/version.h b/plugins/Db_autobackups/version.h new file mode 100644 index 0000000000..37c48ddca2 --- /dev/null +++ b/plugins/Db_autobackups/version.h @@ -0,0 +1,16 @@ +#define __FILEVERSION_STRING 0,0,0,8 +#define __VERSION_STRING "0.0.0.8" +#define __VERSION_DWORD 0x00000008 + +#define __PLUGIN_NAME_BASE "DB Autobackuper" +#define __PLUGIN_DESC __PLUGIN_NAME_BASE " plugin." +#define __COPYRIGHTS "© 2005-2011 chaos.persei, sje, Kildor, Billy_Bons, Vasilich" + +#if defined (_WIN64) +#define __PLUGIN_NAME __PLUGIN_NAME_BASE " (x64)" +#elif (UNICODE) +#define __PLUGIN_NAME __PLUGIN_NAME_BASE " (Unicode)" +#else +#define __PLUGIN_NAME __PLUGIN_NAME_BASE +#endif + diff --git a/plugins/Db_autobackups/version.rc b/plugins/Db_autobackups/version.rc new file mode 100644 index 0000000000..cd4434c66d --- /dev/null +++ b/plugins/Db_autobackups/version.rc @@ -0,0 +1,39 @@ + +#include +#include "version.h" + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "041904b0" + BEGIN + VALUE "FileDescription", __PLUGIN_DESC + VALUE "FileVersion", __VERSION_STRING + VALUE "LegalCopyright", __COPYRIGHTS + VALUE "OriginalFilename", "db_autobackups.dll" + VALUE "ProductName", __PLUGIN_NAME + VALUE "ProductVersion", __VERSION_STRING + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x419, 1200 + END +END diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/backup.c b/plugins/Dbx_mmap_SA/Db_autobackups/backup.c deleted file mode 100644 index 377a1fe539..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/backup.c +++ /dev/null @@ -1,230 +0,0 @@ -#include "headers.h" -#include - -TCHAR dbname[MAX_PATH]; - -static UINT_PTR timer_id; - -INT_PTR CALLBACK DlgProcProgress(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) -{ - switch(msg) { - case WM_INITDIALOG: - { - HWND prog = GetDlgItem(hwndDlg, IDC_PROGRESS); - TranslateDialogDefault( hwndDlg ); - SendMessage(prog, PBM_SETPOS, 0, 0); - } - break; - case WM_COMMAND: - if ( HIWORD( wParam ) == BN_CLICKED && LOWORD( wParam ) == IDCANCEL ) { - // in the progress dialog, use the user data to indicate that the user has pressed cancel - SetWindowLongPtr(hwndDlg, GWLP_USERDATA, (LONG_PTR)1); - return TRUE; - } - break; - } - return FALSE; -} - -INT_PTR DBSaveAs(WPARAM wParam, LPARAM lParam) -{ - HWND progress_dialog = 0; - TCHAR fname_buff[MAX_PATH], szFilter[128]; - int i; - OPENFILENAME ofn = {0}; - CallService(MS_DB_GETPROFILENAMET,MAX_PATH,(LPARAM)fname_buff); - - i = mir_sntprintf(szFilter, 64, _T("%s (*.dat)"), TranslateT("Miranda Databases")) + 1; - _tcscpy(szFilter + i, _T("*.dat")); - i += 6; - i += mir_sntprintf(szFilter + i, 48, _T("%s (*.*)"), TranslateT("All Files")) + 1; - _tcscpy(szFilter + i, _T("*")); - szFilter[i + 2] = 0; - - ofn.lStructSize = sizeof(ofn); - ofn.lpstrFile = fname_buff; - ofn.nMaxFile = MAX_PATH; - ofn.Flags = OFN_NOREADONLYRETURN | OFN_OVERWRITEPROMPT; - ofn.lpstrFilter = szFilter; - ofn.nFilterIndex = 1; - ofn.lpstrDefExt = _T("dat"); - - if (GetSaveFileName(&ofn)) - Backup(fname_buff); - - return 0; -} - -struct FileNameFound_Tag -{ - TCHAR Name[MAX_PATH]; - FILETIME CreationTime; -}FileNameFound; - -int RotateBackups(HWND progress_dialog, DWORD start_time) -{ - TCHAR backupfilename1[MAX_PATH] = {0}, backupfilename2[MAX_PATH] = {0}, backupfolderTmp[MAX_PATH] = {0}; - TCHAR* backupfolder; - unsigned int i = 0; - HWND prog = GetDlgItem(progress_dialog, IDC_PROGRESS); - MSG msg; - - WIN32_FIND_DATA FindFileData; - HANDLE hFind; - - backupfolder = Utils_ReplaceVarsT(options.folder); - - mir_sntprintf(backupfolderTmp, SIZEOF(backupfolderTmp), _T("%s\\*"), backupfolder); - hFind = FindFirstFile(backupfolderTmp, &FindFileData); - if (hFind == INVALID_HANDLE_VALUE) - return 0; - _tcscpy(FileNameFound.Name, _T("")); - while (FindNextFile(hFind, &FindFileData)) - { - if (FindFileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) - continue; - else if (_tcsicmp(&FindFileData.cFileName[_tcslen(FindFileData.cFileName)-4], _T(".bak")) == 0) - { - if (_tcsicmp(FileNameFound.Name, _T("")) == 0) - { - _tcscpy(FileNameFound.Name, FindFileData.cFileName); - FileNameFound.CreationTime = FindFileData.ftCreationTime; - } - else if ((FindFileData.ftCreationTime.dwHighDateTime < FileNameFound.CreationTime.dwHighDateTime) || (FindFileData.ftCreationTime.dwHighDateTime == FileNameFound.CreationTime.dwHighDateTime && FindFileData.ftCreationTime.dwLowDateTime < FileNameFound.CreationTime.dwLowDateTime)) - { - _tcscpy(FileNameFound.Name, FindFileData.cFileName); - FileNameFound.CreationTime = FindFileData.ftCreationTime; - } - i++; - while(PeekMessage(&msg, progress_dialog, 0, 0, PM_REMOVE) != 0) - { - if(!IsDialogMessage(progress_dialog, &msg)) - { - TranslateMessage(&msg); - DispatchMessage(&msg); - } - } - - SendMessage(prog, PBM_SETPOS, (WPARAM)(int)(100 * (options.num_backups - i) / options.num_backups), 0); - UpdateWindow(progress_dialog); - } - } - - FindClose(hFind); - if (i >= options.num_backups) - { - mir_sntprintf(backupfilename1, MAX_PATH, _T("%s\\%s"), backupfolder, FileNameFound.Name); - DeleteFile(backupfilename1); - } - mir_free(backupfolder); - return 0; -} - -int Backup(TCHAR* backup_filename) -{ - TCHAR source_file[MAX_PATH] = {0}, dest_file[MAX_PATH] = {0}; - TCHAR* backupfolder,* pathtmp,* puText; - HWND progress_dialog; - DWORD start_time = GetTickCount(); - int i; - size_t dest_file_len; - - CallService(MS_DB_GETPROFILENAMET, MAX_PATH, (LPARAM)dbname); - - if (backup_filename == NULL) - { - int err = 0; - - SYSTEMTIME st; - TCHAR buffer[MAX_COMPUTERNAME_LENGTH+1]; - DWORD size = sizeof(buffer); - - backupfolder = Utils_ReplaceVarsT(options.folder); - // ensure the backup folder exists (either create it or return non-zero signifying error) - err = CreateDirectoryTree(backupfolder); - if(err != ERROR_ALREADY_EXISTS && err != 0) { - return 1; - } - - GetLocalTime(&st); - GetComputerName(buffer, &size); - mir_sntprintf(dest_file, MAX_PATH, _T("%s\\%s_%02d.%02d.%02d@%02d-%02d-%02d_%s.bak"), backupfolder, dbname, st.wYear, st.wMonth, st.wDay, st.wHour, st.wMinute, st.wSecond, buffer); - mir_free(backupfolder); - } - else - lstrcpyn(dest_file, backup_filename, MAX_PATH); - - if(!options.disable_popups) - ShowPopup(dbname, TranslateT("Backup in Progress")); - - if(!options.disable_progress) { - progress_dialog = CreateDialog(hInst, MAKEINTRESOURCE(IDD_COPYPROGRESS), 0, (DLGPROC)DlgProcProgress); - SetDlgItemText(progress_dialog, IDC_PROGRESSMESSAGE, TranslateT("Rotating backup files...")); - } - - RotateBackups(progress_dialog, start_time); - - SetDlgItemText(progress_dialog, 0xDAED, TranslateT("Copying database file...")); - SendMessage(progress_dialog, PBM_SETPOS, (WPARAM)(int)(0), 0); - UpdateWindow(progress_dialog); - - mir_sntprintf(source_file, MAX_PATH, _T("%s\\%s"), profilePath, dbname); - pathtmp = Utils_ReplaceVarsT(source_file); - if (CopyFile(pathtmp, dest_file, 0)) - { - SendMessage(progress_dialog, PBM_SETPOS, (WPARAM)(int)(100), 0); - UpdateWindow(progress_dialog); - DBWriteContactSettingDword(0, "AutoBackups", "LastBackupTimestamp", (DWORD)time(0)); - if(!options.disable_popups) - { - dest_file_len = lstrlen(dest_file); - if(dest_file_len > 50) - { - puText = mir_alloc(sizeof(TCHAR) * (dest_file_len + 2)); - for(i = (int)dest_file_len - 1; dest_file[i] != _T('\\'); i--); - - lstrcpyn(puText, dest_file, i + 2); - lstrcat(puText, _T("\n")); - lstrcat(puText, dest_file + i + 1); - } - else - puText = mir_tstrdup(dest_file); - - ShowPopup(puText, TranslateT("Database backuped")); - mir_free(puText); - } - } - else - DeleteFile(dest_file); - mir_free(pathtmp); - - DestroyWindow(progress_dialog); - return 0; -} - -VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) { - time_t t = time(0), diff = t - (time_t)DBGetContactSettingDword(0, "AutoBackups", "LastBackupTimestamp", (DWORD)t); - if(diff > (time_t)(options.period * (options.period_type == PT_MINUTES ? 60 : (options.period_type == PT_HOURS ? 60 * 60 : 60 * 60 * 24 ) ))) - Backup(NULL); -} - -int SetBackupTimer(void) -{ - if(options.backup_types & BT_PERIODIC) - { - if(timer_id == 0) - timer_id = SetTimer(0, 0, 1000 * 60, TimerProc); - } - else if(timer_id != 0) - { - KillTimer(0, timer_id); - timer_id = 0; - } - return 0; -} - -INT_PTR ABService(WPARAM wParam, LPARAM lParam) -{ - Backup((TCHAR*)wParam); - return 0; -} diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups.rc b/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups.rc deleted file mode 100644 index 714f4a3505..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups.rc +++ /dev/null @@ -1,182 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Russian resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_RUS) -#ifdef _WIN32 -LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT -#pragma code_page(1251) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_COPYPROGRESS DIALOGEX 0, 0, 186, 58 -STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | - WS_POPUP | WS_VISIBLE | WS_CAPTION -CAPTION "Backup progress" -FONT 8, "MS Shell Dlg", 400, 0, 0x1 -BEGIN - CONTROL "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7,24,172,9 - CTEXT "",IDC_PROGRESSMESSAGE,31,7,114,13 - PUSHBUTTON "Cancel",IDCANCEL,58,39,67,12 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_COPYPROGRESS, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 179 - TOPMARGIN, 7 - BOTTOMMARGIN, 51 - END -END -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_ICON1 ICON "icos\\backup.ico" -#endif // Russian resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_OPTIONS DIALOGEX 0, 0, 271, 193 -STYLE DS_SETFONT | DS_FIXEDSYS | DS_CENTER | WS_CHILD -FONT 8, "MS Shell Dlg", 0, 0, 0x0 -BEGIN - GROUPBOX "Automatic Backups",IDC_STATIC,6,7,258,179,WS_GROUP - RTEXT "Number of backups to keep:",IDC_STATIC,13,94,132,8 - EDITTEXT IDC_ED_NUMBACKUPS,164,90,30,12,ES_NUMBER,WS_EX_RIGHT - CONTROL "",SPIN_NUMBACKUPS,"msctls_updown32",UDS_SETBUDDYINT | - UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,182,90,10, - 12 - PUSHBUTTON "Backup NOW",IDC_BUT_NOW,173,19,75,14 - CONTROL "Disabled",IDC_RAD_DISABLED,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,17,19,128,10 - CONTROL "When Miranda starts",IDC_RAD_START,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,17,35,156,10 - CONTROL "When Miranda exits",IDC_RAD_EXIT,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,17,51,156,10 - CONTROL "Every:",IDC_RAD_PERIODIC,"Button",BS_AUTOCHECKBOX | - WS_TABSTOP,17,67,43,10 - COMBOBOX IDC_PT,148,67,46,30,CBS_DROPDOWNLIST | WS_TABSTOP - EDITTEXT IDC_ED_PERIOD,106,67,30,12,ES_NUMBER,WS_EX_RIGHT - CONTROL "",SPIN_PERIOD,"msctls_updown32",UDS_SETBUDDYINT | - UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,126,67,10, - 12 - LTEXT "Backup to folder:",IDC_STATIC,18,120,124,11 - EDITTEXT IDC_ED_FOLDER,26,133,168,13,ES_AUTOHSCROLL - PUSHBUTTON "Browse...",IDC_BUT_BROWSE,199,132,49,14 - CONTROL "Go to the ""Customize -> Folders"" to change settings", - IDC_LNK_FOLDERS,"Hyperlink",NOT WS_VISIBLE | WS_TABSTOP, - 18,129,231,21 - CONTROL "Disable progress bar",IDC_CHK_NOPROG,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,17,152,182,11 - CONTROL "Disable Popups",IDC_CHK_NOPOPUP,"Button", - BS_AUTOCHECKBOX | WS_TABSTOP,17,168,182,11 -END - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN - IDD_OPTIONS, DIALOG - BEGIN - LEFTMARGIN, 6 - RIGHTMARGIN, 264 - VERTGUIDE, 17 - VERTGUIDE, 193 - VERTGUIDE, 248 - TOPMARGIN, 38 - BOTTOMMARGIN, 186 - END -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include \0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj b/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj deleted file mode 100644 index a7227d0591..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj +++ /dev/null @@ -1,193 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Db_autobackups - {751ED05D-AD3E-4EC6-A485-4ECDF1FE6068} - db_autobackups - Win32Proj - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - true - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - false - AllRules.ruleset - AllRules.ruleset - - - - - AllRules.ruleset - AllRules.ruleset - - - - - - - - Disabled - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level3 - EditAndContinue - - - true - Windows - MachineX86 - $(IntDir)$(TargetName).lib - - - - - Disabled - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebug - - - Level3 - ProgramDatabase - - - true - Windows - $(OutDir)$(TargetName)$(TargetExt) - $(IntDir)$(TargetName).lib - - - - - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) - MultiThreadedDLL - - - Level3 - ProgramDatabase - Size - Full - - - true - Windows - true - true - MachineX86 - $(IntDir)$(TargetName).lib - - - - - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;DB_AUTOBACKUPS_EXPORTS;%(PreprocessorDefinitions) - MultiThreadedDLL - - - Level3 - ProgramDatabase - Full - OnlyExplicitInline - Size - - - true - Windows - true - true - $(IntDir)$(TargetName).lib - $(OutDir)$(TargetName)$(TargetExt) - - - - - - - - - - - - - - - - - - - - _WIN64;%(PreprocessorDefinitions) - _WIN64;%(PreprocessorDefinitions) - - - - - - \ No newline at end of file diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj.filters b/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj.filters deleted file mode 100644 index 964916d73a..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/db_autobackups_10.vcxproj.filters +++ /dev/null @@ -1,55 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/headers.h b/plugins/Dbx_mmap_SA/Db_autobackups/headers.h deleted file mode 100644 index f90360c533..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/headers.h +++ /dev/null @@ -1,52 +0,0 @@ -#ifndef _HEADERS_H -#define _HEADERS_H - -#define _CRT_SECURE_NO_DEPRECATE -#define MIRANDA_VER 0x0A00 - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "m_folders.h" - -#include "options.h" -#include "resource.h" - -#define MS_AB_BACKUP "AB/Backup" -#define MS_AB_BACKUPTRGR "AB/Backuptrg" -#define MS_AB_SAVEAS "AB/SaveAs" - -#ifdef _UNICODE - #define SUB_DIR L"\\AutoBackups" - #define DIR L"%miranda_userdata%" -#else - #define SUB_DIR "\\AutoBackups" - #define DIR "%miranda_userdata%" -#endif - -void ShowPopup(TCHAR* text, TCHAR* header); -INT_PTR DBSaveAs(WPARAM wParam, LPARAM lParam); -INT_PTR ABService(WPARAM wParam, LPARAM lParam); -int CreateDirectoryTree(TCHAR *szDir); -int Backup(TCHAR* backup_filename); -int SetBackupTimer(void); -int OptionsInit(WPARAM wParam, LPARAM lParam); -int LoadOptions(void); -HWND CreateToolTip(HWND hwndParent, LPTSTR ptszText, LPTSTR ptszTitle); - -extern HINSTANCE hInst; -TCHAR* profilePath; - -#endif diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/icos/backup.ico b/plugins/Dbx_mmap_SA/Db_autobackups/icos/backup.ico deleted file mode 100644 index 2bd78218d8..0000000000 Binary files a/plugins/Dbx_mmap_SA/Db_autobackups/icos/backup.ico and /dev/null differ diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/main.c b/plugins/Dbx_mmap_SA/Db_autobackups/main.c deleted file mode 100644 index 7390bd9dc7..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/main.c +++ /dev/null @@ -1,262 +0,0 @@ -#include "headers.h" -#include "version.h" -#include "m_trigger.h" - -struct MM_INTERFACE mmi; -HINSTANCE hInst; -PLUGINLINK *pluginLink; -int hLangpack; - -HANDLE hFolder; -HANDLE hHooks[4]; -HANDLE hServices[3]; - -PLUGININFOEX pluginInfo={ - sizeof(PLUGININFOEX), - __PLUGIN_NAME, - __VERSION_DWORD, - __PLUGIN_DESC, - "chaos.persei, sje, Kildor, Billy_Bons", - "chaos.persei@gmail.com", - __COPYRIGHTS, - "http://mods.mirandaim.ru/", - UNICODE_AWARE, - 0, //doesn't replace anything built-in - // Generate your own unique id for your plugin. - // Do not use this UUID! - // Use uuidgen.exe to generate the uuuid - // {81C220A6-0226-4ad6-BFCA-217B17A16053} - { 0x81c220a6, 0x226, 0x4ad6, { 0xbf, 0xca, 0x21, 0x7b, 0x17, 0xa1, 0x60, 0x53 } } -}; - -#define MIID_DB_AUTOBACKUPS { 0x81c220a6, 0x226, 0x4ad6, { 0xbf, 0xca, 0x21, 0x7b, 0x17, 0xa1, 0x60, 0x53 } } - -struct -{ - TCHAR* szDescr; - char* szName; - int defIconID; -} -static const iconList[] = { - { _T("Backup Profile"), "backup", IDI_ICON1 }, - { _T("Save Profile As..."), "saveas", IDI_ICON1 } -}; - -INT_PTR BackupServiceTrgr(WPARAM wParam, LPARAM lParam) -{ - if(wParam & ACT_PERFORM) { - return Backup(NULL); - } - return 0; -} - -static int FoldersGetBackupPath(WPARAM wParam, LPARAM lParam) -{ - FoldersGetCustomPathT(hFolder, options.folder, MAX_PATH, DIR SUB_DIR); - return 0; -} - -static int FoldersInit(void) -{ - hFolder = (HANDLE) FoldersRegisterCustomPathT("Database Backups", "Backup Folder", DIR SUB_DIR); - hHooks[0] = HookEvent(ME_FOLDERS_PATH_CHANGED, FoldersGetBackupPath); - FoldersGetBackupPath(0, 0); - return 0; -} - -static void IcoLibInit(void) -{ - int i; - SKINICONDESC sid = {0}; - TCHAR tszFile[MAX_PATH]; - GetModuleFileName(hInst, tszFile, MAX_PATH); - - sid.cbSize = sizeof(SKINICONDESC); - sid.ptszDefaultFile = tszFile; - sid.ptszSection = _T("Database/Database Backups"); - sid.flags = SIDF_ALL_TCHAR; - - for ( i = 0; i < SIZEOF(iconList); i++ ) { - sid.pszName = iconList[i].szName; - sid.ptszDescription = iconList[i].szDescr; - sid.iDefaultIndex = -iconList[i].defIconID; - CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid); - } -} - -static void MenuInit(void) -{ - CLISTMENUITEM menu = {0}; - menu.cbSize = sizeof(menu); - menu.flags = CMIF_TCHAR; - menu.hIcon=(HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"backup"); - menu.ptszPopupName = LPGENT("Database"); - - menu.ptszName = LPGENT("Backup Profile"); - menu.pszService = MS_AB_BACKUP; - menu.position = 500100000; - CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&menu); - - menu.hIcon=(HICON)CallService(MS_SKIN2_GETICON, 0, (LPARAM)"saveas"); - menu.ptszName = LPGENT("Save Profile As..."); - menu.pszService = MS_AB_SAVEAS; - menu.position = 500100001; - CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&menu); -} - -static void TriggerActionInit(void) -{ - ACTIONREGISTER ar = {0}; - ar.cbSize = sizeof(ACTIONREGISTER); - ar.pszName = "Backup Database"; - ar.pszService = MS_AB_BACKUPTRGR; - - CallService(MS_TRIGGER_REGISTERACTION, 0, (LPARAM)&ar); -} - -static int ModulesLoad(WPARAM wParam, LPARAM lParam) -{ - profilePath = Utils_ReplaceVarsT(_T("%miranda_userdata%")); - - IcoLibInit(); - if(ServiceExists(MS_FOLDERS_REGISTER_PATH)) - FoldersInit(); - LoadOptions(); - MenuInit(); - - // register trigger action for triggerplugin - if(ServiceExists(MS_TRIGGER_REGISTERACTION)) - TriggerActionInit(); - - hHooks[1] = HookEvent(ME_OPT_INITIALISE, OptionsInit); - if(options.backup_types & BT_START) - Backup(NULL); - return 0; -} - -// can't do this on unload, since other plugins will be have already been unloaded, but their hooks -// for setting changed event not cleared. the backup on exit function will write to the db, calling those hooks. -int PreShutdown(WPARAM wParam, LPARAM lParam) { - if(options.backup_types & BT_EXIT) - { - options.disable_popups = 1; // Don't try to show popups on exit - Backup(NULL); - } - return 0; -} - -void SysInit() -{ - mir_getMMI( &mmi ); - mir_getLP( &pluginInfo ); - OleInitialize(0); - - hServices[0] = CreateServiceFunction(MS_AB_BACKUP, ABService); - hServices[1] = CreateServiceFunction(MS_AB_BACKUPTRGR, BackupServiceTrgr); - hServices[2] = CreateServiceFunction(MS_AB_SAVEAS, DBSaveAs); - - hHooks[2] = HookEvent(ME_SYSTEM_PRESHUTDOWN, PreShutdown); - hHooks[3] = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoad); -} - -BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) -{ - hInst=hinstDLL; - return TRUE; -} - -__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) -{ - if ( mirandaVersion < PLUGIN_MAKE_VERSION(0,8,1,0)) { - MessageBox( NULL, _T("The ") _T(__PLUGIN_NAME_BASE) _T(" plugin cannot be loaded. It requires Miranda IM 0.8.1 or later."), _T(__PLUGIN_NAME_BASE), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST ); - return NULL; - } - return &pluginInfo; -} - -static const MUUID interfaces[] = {MIID_DB_AUTOBACKUPS, MIID_LAST}; -__declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) -{ - return interfaces; -} - -int __declspec(dllexport) Load(PLUGINLINK *link) -{ - pluginLink=link; - SysInit(); - return 0; -} - -int __declspec(dllexport) Unload(void) -{ - int i; - - OleUninitialize(); - - for (i=0; i - -Options options; -static HWND hPathTip; - -int LoadOptions(void) { - DBVARIANT dbv; - TCHAR* tmp; - - options.backup_types = (BackupType)DBGetContactSettingByte(0, "AutoBackups", "BackupType", (BYTE)(BT_PERIODIC)); - options.period = (unsigned int)DBGetContactSettingWord(0, "AutoBackups", "Period", 1); - options.period_type = (PeriodType)DBGetContactSettingByte(0, "AutoBackups", "PeriodType", (BYTE)PT_DAYS); - - if(!ServiceExists(MS_FOLDERS_GET_PATH)) { - - if(!DBGetContactSettingTString(0, "AutoBackups", "Folder", &dbv)) { - tmp = Utils_ReplaceVarsT(dbv.ptszVal); - - if(_tcslen(tmp) >= 2 && tmp[1] == ':') - _tcsncpy(options.folder, dbv.ptszVal, MAX_PATH-1); - else - mir_sntprintf(options.folder, MAX_PATH, _T("%s\\%s"), profilePath, dbv.ptszVal); - - DBFreeVariant(&dbv); - mir_free(tmp); - } else - mir_sntprintf(options.folder, MAX_PATH, _T("%s%s"), DIR, SUB_DIR); - } - options.num_backups = (unsigned int)DBGetContactSettingWord(0, "AutoBackups", "NumBackups", 3); - - options.disable_progress = (BOOL)DBGetContactSettingByte(0, "AutoBackups", "NoProgress", 0); - options.disable_popups = (BOOL)DBGetContactSettingByte(0, "AutoBackups", "NoPopups", 0); - - SetBackupTimer(); - return 0; -} - -int SaveOptions(void) { - TCHAR prof_dir[MAX_PATH]; - TCHAR* buf,* tmp; - size_t prof_len, opt_len; - - DBWriteContactSettingByte(0, "AutoBackups", "BackupType", (BYTE)options.backup_types); - if (options.period < 1) options.period = 1; - DBWriteContactSettingWord(0, "AutoBackups", "Period", (WORD)options.period); - DBWriteContactSettingByte(0, "AutoBackups", "PeriodType", (BYTE)options.period_type); - - mir_sntprintf(prof_dir, MAX_PATH, _T("%s\\"), profilePath); - prof_len = _tcslen(prof_dir); - opt_len = _tcslen(options.folder); - - if(opt_len > prof_len && _tcsncmp(options.folder, prof_dir, prof_len) == 0) { - DBWriteContactSettingTString(0, "AutoBackups", "Folder", (options.folder + prof_len)); - } else - DBWriteContactSettingTString(0, "AutoBackups", "Folder", options.folder); - - tmp = Utils_ReplaceVarsT(options.folder); - if(_tcslen(tmp) < 2 || tmp[1] != ':') - { - buf = mir_tstrdup(options.folder); - mir_sntprintf(options.folder, MAX_PATH, _T("%s\\%s"), profilePath, buf); - mir_free(buf); - } - mir_free(tmp); - DBWriteContactSettingWord(0, "AutoBackups", "NumBackups", (WORD)options.num_backups); - DBWriteContactSettingByte(0, "AutoBackups", "NoProgress", (BYTE)options.disable_progress); - DBWriteContactSettingByte(0, "AutoBackups", "NoPopups", (BYTE)options.disable_popups); - - SetBackupTimer(); - return 0; -} - -Options new_options; - -int SetDlgState(HWND hwndDlg) { - TCHAR buff[10]; - - if(new_options.backup_types == BT_DISABLED) { - CheckDlgButton(hwndDlg, IDC_RAD_DISABLED, BST_CHECKED); - EnableWindow(GetDlgItem(hwndDlg, IDC_RAD_DISABLED), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ED_NUMBACKUPS), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ED_FOLDER), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_BUT_BROWSE), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_LNK_FOLDERS), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPROG), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPOPUP), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ED_PERIOD), FALSE); - EnableWindow(GetDlgItem(hwndDlg, IDC_PT), FALSE); - - CheckDlgButton(hwndDlg, IDC_RAD_START, BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_RAD_EXIT, BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_RAD_PERIODIC, BST_UNCHECKED); - } else { - EnableWindow(GetDlgItem(hwndDlg, IDC_RAD_DISABLED), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ED_NUMBACKUPS), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ED_FOLDER), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_BUT_BROWSE), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_LNK_FOLDERS), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPROG), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPOPUP), TRUE); - EnableWindow(GetDlgItem(hwndDlg, IDC_ED_PERIOD), new_options.backup_types & BT_PERIODIC); - EnableWindow(GetDlgItem(hwndDlg, IDC_PT), new_options.backup_types & BT_PERIODIC); - - CheckDlgButton(hwndDlg, IDC_RAD_DISABLED, BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_RAD_START, new_options.backup_types & BT_START ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_RAD_EXIT, new_options.backup_types & BT_EXIT ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_RAD_PERIODIC, new_options.backup_types & BT_PERIODIC ? BST_CHECKED : BST_UNCHECKED); - } - - SendDlgItemMessage(hwndDlg, SPIN_PERIOD, UDM_SETRANGE32, (WPARAM)1, (LPARAM)60); - SetDlgItemText(hwndDlg, IDC_ED_PERIOD, _itot(new_options.period, buff, 10)); - - SendDlgItemMessage(hwndDlg, SPIN_NUMBACKUPS, UDM_SETRANGE32, (WPARAM)1, (LPARAM)100); - SetDlgItemText(hwndDlg, IDC_ED_NUMBACKUPS, _itot(new_options.num_backups, buff, 10)); - - SetDlgItemText(hwndDlg, IDC_ED_FOLDER, new_options.folder); - - CheckDlgButton(hwndDlg, IDC_CHK_NOPROG, new_options.disable_progress ? BST_CHECKED : BST_UNCHECKED); - CheckDlgButton(hwndDlg, IDC_CHK_NOPOPUP, new_options.disable_popups ? BST_CHECKED : BST_UNCHECKED); - if (!ServiceExists(MS_POPUP_ADDPOPUP)) - ShowWindow(GetDlgItem(hwndDlg, IDC_CHK_NOPOPUP), SW_HIDE); - - return 0; -} - -int CALLBACK BrowseProc(HWND hwnd,UINT uMsg, LPARAM lParam, LPARAM lpData ) -{ - TCHAR* folder; - switch(uMsg) - { - case BFFM_INITIALIZED: - folder = Utils_ReplaceVarsT(options.folder); - SendMessage(hwnd, BFFM_SETSELECTION, TRUE, (LPARAM)folder); - mir_free(folder); - break; - } - return 0; -} - -INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) -{ - TCHAR buff[10]; - TCHAR folder_buff[MAX_PATH] = {0}, backupfolder[MAX_PATH] = {0}; - TCHAR tszTooltipText[1024]; - TCHAR* tmp; - BROWSEINFO bi; - LPCITEMIDLIST pidl; - OPENOPTIONSDIALOG ood = {0}; - - switch ( msg ) { - case WM_INITDIALOG: - TranslateDialogDefault( hwndDlg ); - memcpy(&new_options, &options, sizeof(Options)); - - if (ServiceExists(MS_FOLDERS_GET_PATH)) - { - ShowWindow(GetDlgItem(hwndDlg, IDC_ED_FOLDER), SW_HIDE); - ShowWindow(GetDlgItem(hwndDlg, IDC_BUT_BROWSE), SW_HIDE); - ShowWindow(GetDlgItem(hwndDlg, IDC_LNK_FOLDERS), SW_SHOW); - } - else - { - mir_sntprintf(tszTooltipText, SIZEOF(tszTooltipText), _T("%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s\n%s - %s"), - _T("%miranda_path%"), TranslateT("path to root miranda folder"), - _T("%miranda_profile%"), TranslateT("path to current miranda profile"), - _T("%miranda_profilename%"), TranslateT("name of current miranda profile (filename, without extension)"), - _T("%miranda_userdata%"), TranslateT("will return parsed string %miranda_profile%\\Profiles\\%miranda_profilename%"), - _T("%appdata%"), TranslateT("same as environment variable %APPDATA% for currently logged-on Windows user"), - _T("%username%"), TranslateT("username for currently logged-on Windows user"), - _T("%mydocuments%"), TranslateT("\"My Documents\" folder for currently logged-on Windows user"), - _T("%desktop%"), TranslateT("\"Desktop\" folder for currently logged-on Windows user"), - _T("%xxxxxxx%"), TranslateT("any environment variable defined in current Windows session (like %systemroot%, %allusersprofile%, etc.)") - ); - hPathTip = CreateToolTip(GetDlgItem(hwndDlg, IDC_ED_FOLDER), tszTooltipText, TranslateT("Variables")); - } - - SetDlgState(hwndDlg); - - SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Days")); - SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Hours")); - SendMessage(GetDlgItem(hwndDlg, IDC_PT), CB_ADDSTRING, 0, (LPARAM) TranslateT("Minutes")); - switch(new_options.period_type){ - case PT_DAYS: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 0, 0); break; - case PT_HOURS: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 1, 0); break; - case PT_MINUTES: SendDlgItemMessage(hwndDlg, IDC_PT, CB_SETCURSEL, 2, 0); break; - } - if (hPathTip) - SetTimer(hwndDlg, 0, 3000, NULL); - return TRUE; - case WM_COMMAND: - if ( HIWORD( wParam ) == EN_CHANGE && ( HWND )lParam == GetFocus()) { - switch( LOWORD( wParam )) { - case IDC_ED_PERIOD: - case IDC_ED_FOLDER: - case IDC_ED_NUMBACKUPS: - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - } - } - if ( HIWORD( wParam ) == CBN_SELCHANGE) { - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - } - if ( HIWORD( wParam ) == BN_CLICKED ) { - switch( LOWORD( wParam )) { - case IDC_RAD_DISABLED: - if(IsDlgButtonChecked(hwndDlg, IDC_RAD_DISABLED)) { - new_options.backup_types = BT_DISABLED; - } - SetDlgState(hwndDlg); - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; - case IDC_RAD_START: - if(IsDlgButtonChecked(hwndDlg, IDC_RAD_START)) - new_options.backup_types |= BT_START; - else - new_options.backup_types &= ~BT_START; - SetDlgState(hwndDlg); - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; - case IDC_RAD_EXIT: - if(IsDlgButtonChecked(hwndDlg, IDC_RAD_EXIT)) - new_options.backup_types |= BT_EXIT; - else - new_options.backup_types &= ~BT_EXIT; - SetDlgState(hwndDlg); - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; - case IDC_RAD_PERIODIC: - if(IsDlgButtonChecked(hwndDlg, IDC_RAD_PERIODIC)) - new_options.backup_types |= BT_PERIODIC; - else - new_options.backup_types &= ~BT_PERIODIC; - SetDlgState(hwndDlg); - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; - - case IDC_BUT_BROWSE: - bi.hwndOwner = hwndDlg; - bi.pidlRoot = 0; - bi.pszDisplayName = folder_buff; - bi.lpszTitle = TranslateT("Select Backup Folder"); - bi.ulFlags = BIF_NEWDIALOGSTYLE; - bi.lpfn = BrowseProc; - bi.lParam = 0; - bi.iImage = 0; - - if((pidl = SHBrowseForFolder(&bi)) != 0) { - SHGetPathFromIDList(pidl, folder_buff); - - SetDlgItemText(hwndDlg, IDC_ED_FOLDER, folder_buff); - - SendMessage( GetParent( hwndDlg ), PSM_CHANGED, 0, 0 ); - - CoTaskMemFree((void *)pidl); - } - break; - case IDC_BUT_NOW: - Backup(NULL); - break; - case IDC_CHK_NOPROG: - new_options.disable_progress = IsDlgButtonChecked(hwndDlg, IDC_CHK_NOPROG); - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; - case IDC_CHK_NOPOPUP: - new_options.disable_popups = IsDlgButtonChecked(hwndDlg, IDC_CHK_NOPOPUP); - SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); - break; - case IDC_LNK_FOLDERS: - ood.cbSize = sizeof(ood); - ood.pszGroup = "Customize"; - ood.pszPage = "Folders"; - CallService( MS_OPT_OPENOPTIONS, 0, (LPARAM)&ood ); - break; - } - } - - break; - - case WM_TIMER: - if(IsWindow(hPathTip)) - KillTimer(hPathTip, 4); // It will prevent tooltip autoclosing - break; - - case WM_NOTIFY: - if (((LPNMHDR)lParam)->code == PSN_APPLY ) { - GetDlgItemText(hwndDlg, IDC_ED_PERIOD, buff, sizeof(buff)); - new_options.period = _ttoi(buff); - GetDlgItemText(hwndDlg, IDC_ED_NUMBACKUPS, buff, sizeof(buff)); - new_options.num_backups = _ttoi(buff); - - switch(SendDlgItemMessage(hwndDlg, IDC_PT, CB_GETCURSEL, 0, 0)) { - case 0: new_options.period_type = PT_DAYS; break; - case 1: new_options.period_type = PT_HOURS; break; - case 2: new_options.period_type = PT_MINUTES; break; - } - - GetDlgItemText(hwndDlg, IDC_ED_FOLDER, folder_buff, MAX_PATH); - { - BOOL folder_ok = TRUE; - int err = 0; - tmp = Utils_ReplaceVarsT(folder_buff); - - if(_tcslen(tmp) >= 2 && tmp[1] == ':') - _tcsncpy(backupfolder, tmp, MAX_PATH-1); - else - mir_sntprintf(backupfolder, MAX_PATH, _T("%s\\%s"), profilePath, tmp); - mir_free(tmp); - - err = CreateDirectoryTree(backupfolder); - if(err != ERROR_ALREADY_EXISTS && err != 0) { - TCHAR msg_buff[512]; - FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, 0, err, 0, msg_buff, 512, 0); - MessageBox(0, msg_buff, TranslateT("Error Creating Backup Folder"), MB_OK | MB_ICONERROR); - folder_ok = FALSE; - } - - if(folder_ok) { - _tcsncpy(new_options.folder, folder_buff, MAX_PATH-1); - memcpy(&options, &new_options, sizeof(Options)); - SaveOptions(); - } else { - memcpy(&new_options, &options, sizeof(Options)); - SetDlgState(hwndDlg); - } - } - return TRUE; - - } - break; - - case WM_DESTROY: - if (hPathTip) - { - KillTimer(hwndDlg, 0); - DestroyWindow(hPathTip); - hPathTip = 0; - } - return FALSE; - } - - return FALSE; -} - -int OptionsInit(WPARAM wParam, LPARAM lParam) -{ - OPTIONSDIALOGPAGE odp; - - ZeroMemory(&odp, sizeof(odp)); - odp.cbSize = sizeof(odp); - odp.position = -790000000; - odp.hInstance = hInst; - odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS); - odp.ptszTitle = LPGENT("Database AutoBackups"); - odp.ptszGroup = LPGENT("Services"); - odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; - odp.pfnDlgProc = DlgProcOptions; - CallService( MS_OPT_ADDPAGE, wParam,( LPARAM )&odp ); - - return 0; -} diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/options.h b/plugins/Dbx_mmap_SA/Db_autobackups/options.h deleted file mode 100644 index 240fc9566e..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/options.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2003 Miranda ICQ/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. -*/ - -typedef enum { BT_DISABLED = 0, BT_START = 1, BT_EXIT = 2, BT_PERIODIC = 4} BackupType; -typedef enum { PT_DAYS, PT_HOURS, PT_MINUTES} PeriodType; - -typedef struct Options_tag { - int backup_types; - unsigned int period; - PeriodType period_type; - TCHAR folder[MAX_PATH]; - unsigned int num_backups; - BOOL disable_progress; - BOOL disable_popups; -} Options; - -extern Options options; \ No newline at end of file diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/resource.h b/plugins/Dbx_mmap_SA/Db_autobackups/resource.h deleted file mode 100644 index fe3f28621c..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/resource.h +++ /dev/null @@ -1,35 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by db_autobackups.rc -// -#define IDD_OPTIONS 101 -#define IDI_ICON1 270 -#define IDD_COPYPROGRESS 271 -#define SPIN_PERIOD 1369 -#define SPIN_NUMBACKUPS 1370 -#define IDC_PT 1371 -#define IDC_ED_PERIOD 1658 -#define IDC_RAD_DISABLED 1660 -#define IDC_RAD_START 1663 -#define IDC_RAD_EXIT 1664 -#define IDC_RAD_PERIODIC 1665 -#define IDC_ED_NUMBACKUPS 1666 -#define IDC_ED_FOLDER 1667 -#define IDC_BUT_BROWSE 1668 -#define IDC_LNK_FOLDERS 1669 -#define IDC_CHK_NOPROG 1670 -#define IDC_BUT_NOW 1671 -#define IDC_CHK_NOPOPUP 1672 -#define IDC_PROGRESSMESSAGE 0xDAED -#define IDC_PROGRESS 0xDEAD - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 272 -#define _APS_NEXT_COMMAND_VALUE 40018 -#define _APS_NEXT_CONTROL_VALUE 1673 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/resource.rc b/plugins/Dbx_mmap_SA/Db_autobackups/resource.rc deleted file mode 100644 index 42f5b0b55b..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "db_autobackups.rc" -#include "version.rc" diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/version.h b/plugins/Dbx_mmap_SA/Db_autobackups/version.h deleted file mode 100644 index 37c48ddca2..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/version.h +++ /dev/null @@ -1,16 +0,0 @@ -#define __FILEVERSION_STRING 0,0,0,8 -#define __VERSION_STRING "0.0.0.8" -#define __VERSION_DWORD 0x00000008 - -#define __PLUGIN_NAME_BASE "DB Autobackuper" -#define __PLUGIN_DESC __PLUGIN_NAME_BASE " plugin." -#define __COPYRIGHTS "© 2005-2011 chaos.persei, sje, Kildor, Billy_Bons, Vasilich" - -#if defined (_WIN64) -#define __PLUGIN_NAME __PLUGIN_NAME_BASE " (x64)" -#elif (UNICODE) -#define __PLUGIN_NAME __PLUGIN_NAME_BASE " (Unicode)" -#else -#define __PLUGIN_NAME __PLUGIN_NAME_BASE -#endif - diff --git a/plugins/Dbx_mmap_SA/Db_autobackups/version.rc b/plugins/Dbx_mmap_SA/Db_autobackups/version.rc deleted file mode 100644 index cd4434c66d..0000000000 --- a/plugins/Dbx_mmap_SA/Db_autobackups/version.rc +++ /dev/null @@ -1,39 +0,0 @@ - -#include -#include "version.h" - -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION __FILEVERSION_STRING - PRODUCTVERSION __FILEVERSION_STRING - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x2L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "041904b0" - BEGIN - VALUE "FileDescription", __PLUGIN_DESC - VALUE "FileVersion", __VERSION_STRING - VALUE "LegalCopyright", __COPYRIGHTS - VALUE "OriginalFilename", "db_autobackups.dll" - VALUE "ProductName", __PLUGIN_NAME - VALUE "ProductVersion", __VERSION_STRING - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x419, 1200 - END -END diff --git a/plugins/FingerPrintModPlus/fingerprint_mod_vs2010.vcxproj b/plugins/FingerPrintModPlus/fingerprint_mod_vs2010.vcxproj index fb78f17096..3b75e5ec37 100644 --- a/plugins/FingerPrintModPlus/fingerprint_mod_vs2010.vcxproj +++ b/plugins/FingerPrintModPlus/fingerprint_mod_vs2010.vcxproj @@ -65,10 +65,10 @@ <_ProjectFileVersion>10.0.30319.1 true true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ $(SolutionDir)$(Configuration)\Plugins\ $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ $(SolutionDir)$(Configuration)\Plugins\ @@ -81,7 +81,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;res;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;res;%(AdditionalIncludeDirectories) FULL;_FULL;WIN32;NDEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -97,16 +97,17 @@ $(IntDir)$(TargetName).lib true Windows + comctl32.lib;%(AdditionalDependencies) FULL;_FULL;WIN32;NDEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi Disabled - ../../include;../ExternalAPI;res;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;res;%(AdditionalIncludeDirectories) FULL;_FULL;WIN32;_DEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true EnableFastChecks @@ -118,13 +119,14 @@ FULL;_FULL;WIN32;_DEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true false $(IntDir)$(TargetName).lib Windows + comctl32.lib;%(AdditionalDependencies) @@ -135,7 +137,7 @@ Full OnlyExplicitInline Size - ../../include;../ExternalAPI;res;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;res;%(AdditionalIncludeDirectories) true MultiThreadedDLL Use @@ -146,7 +148,7 @@ FULL;_FULL;_WIN64;NDEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true @@ -155,6 +157,7 @@ false true Windows + comctl32.lib;%(AdditionalDependencies) @@ -163,7 +166,7 @@ Disabled - ../../include;../ExternalAPI;res;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;res;%(AdditionalIncludeDirectories) FULL;_FULL;_WIN64;_DEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true EnableFastChecks @@ -174,13 +177,14 @@ _WIN64;FULL;_FULL;_DEBUG;_WINDOWS;_USRDLL;FINGERPRINT_EXPORTS;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi true false $(IntDir)$(TargetName).lib Windows + comctl32.lib;%(AdditionalDependencies) diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_AIM.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_AIM.vcxproj index 875f36a813..aa5419a82d 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_AIM.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_AIM.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Gadu.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Gadu.vcxproj index eb6d04ddd1..e4091bd9a1 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Gadu.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Gadu.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_General.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_General.vcxproj index 293c725988..00129fb388 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_General.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_General.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_ICQ.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_ICQ.vcxproj index 735fcad74d..124d84d11c 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_ICQ.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_ICQ.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_IRC.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_IRC.vcxproj index e756d3d2b1..e2b042cc7e 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_IRC.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_IRC.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Jabber.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Jabber.vcxproj index 3d98282e3a..f016b4e279 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Jabber.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Jabber.vcxproj @@ -82,7 +82,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -91,7 +91,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -100,7 +100,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -109,7 +109,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MRA.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MRA.vcxproj index 665c654b03..4c83e29a05 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MRA.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MRA.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MSN.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MSN.vcxproj index ea8f4eb36a..7c0244be7f 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MSN.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_MSN.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Multiprotocols.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Multiprotocols.vcxproj index 5f0b9a5f94..aa3ac6eb0f 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Multiprotocols.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Multiprotocols.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Packs.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Packs.vcxproj index a9bb6c9c4d..e2b712949f 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Packs.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Packs.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_QQ.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_QQ.vcxproj index 94acb77709..65f7625b6d 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_QQ.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_QQ.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_RSS.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_RSS.vcxproj index 8bd42982ae..3126c29f5b 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_RSS.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_RSS.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Skype.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Skype.vcxproj index f0914d7198..213da31399 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Skype.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Skype.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Tlen.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Tlen.vcxproj index 6abc3f5e46..8510564197 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Tlen.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Tlen.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_VoIP.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_VoIP.vcxproj index bdbd00f6e5..a0eca9746b 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_VoIP.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_VoIP.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Weather.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Weather.vcxproj index 5612a02d89..f9cbd02a5f 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Weather.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Weather.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Yahoo.vcxproj b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Yahoo.vcxproj index a8b1eb9522..5855ba6686 100644 --- a/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Yahoo.vcxproj +++ b/plugins/FingerPrintModPlus/iconpacks/ClientIcons_Yahoo.vcxproj @@ -76,7 +76,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -85,7 +85,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -94,7 +94,7 @@ Windows - ../../include/msapi + ..\..\include\msapi @@ -103,7 +103,7 @@ Windows - ../../include/msapi + ..\..\include\msapi diff --git a/plugins/FreeImage/FreeImage_10.vcxproj b/plugins/FreeImage/FreeImage_10.vcxproj index 0dd993196e..6c946aca0c 100644 --- a/plugins/FreeImage/FreeImage_10.vcxproj +++ b/plugins/FreeImage/FreeImage_10.vcxproj @@ -59,17 +59,17 @@ <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -94,7 +94,7 @@ NDEBUG;UNICODE;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi msimg32.lib;%(AdditionalDependencies) @@ -129,7 +129,7 @@ NDEBUG;UNICODE;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi msimg32.lib;%(AdditionalDependencies) @@ -163,7 +163,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi msimg32.lib;%(AdditionalDependencies) @@ -194,7 +194,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi msimg32.lib;%(AdditionalDependencies) diff --git a/plugins/Modernb/clist_modern_10.vcxproj b/plugins/Modernb/clist_modern_10.vcxproj index 0144eb2ba3..1da103b5d3 100644 --- a/plugins/Modernb/clist_modern_10.vcxproj +++ b/plugins/Modernb/clist_modern_10.vcxproj @@ -59,17 +59,17 @@ <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -81,7 +81,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _DEBUG_LOG;WIN32;_DEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) Sync EnableFastChecks @@ -96,10 +96,10 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;Delayimp.lib;%(AdditionalDependencies) + MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;%(AdditionalDependencies) type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) gdiplus.dll;%(DelayLoadDLLs) true @@ -117,7 +117,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) _DEBUG_LOG;WIN64;_DEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) Sync EnableFastChecks @@ -131,10 +131,10 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;Delayimp.lib;%(AdditionalDependencies) + MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;%(AdditionalDependencies) type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) gdiplus.dll;%(DelayLoadDLLs) true @@ -155,7 +155,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true false @@ -171,10 +171,10 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;Delayimp.lib;%(AdditionalDependencies) + MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;%(AdditionalDependencies) type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) gdiplus.dll;%(DelayLoadDLLs) true @@ -197,7 +197,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;CLIST_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -213,10 +213,10 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include/msapi + ..\..\include\msapi - MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;Delayimp.lib;%(AdditionalDependencies) + MSImg32.Lib;comctl32.lib;shlwapi.lib;gdiplus.lib;%(AdditionalDependencies) type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) gdiplus.dll;%(DelayLoadDLLs) true diff --git a/plugins/Mwclist/clist_mw_10.vcxproj b/plugins/Mwclist/clist_mw_10.vcxproj index 3d080df6d6..863058b2e6 100644 --- a/plugins/Mwclist/clist_mw_10.vcxproj +++ b/plugins/Mwclist/clist_mw_10.vcxproj @@ -59,17 +59,17 @@ <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true @@ -81,7 +81,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;clist_mw_EXPORTS;%(PreprocessorDefinitions) false EnableFastChecks @@ -95,7 +95,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -115,7 +115,7 @@ Disabled - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;_DEBUG;_WINDOWS;_USRDLL;clist_mw_EXPORTS;%(PreprocessorDefinitions) false EnableFastChecks @@ -128,7 +128,7 @@ _DEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -153,7 +153,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;clist_mw_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -167,7 +167,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -193,7 +193,7 @@ OnlyExplicitInline true Size - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) WIN64;NDEBUG;_WINDOWS;_USRDLL;clist_mw_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL @@ -207,7 +207,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../include;../../include/msapi;%(AdditionalIncludeDirectories) + ..\..\include\msapi;%(AdditionalIncludeDirectories) comctl32.lib;%(AdditionalDependencies) @@ -248,28 +248,28 @@ - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h - ../commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h + ..\commonheaders.h diff --git a/plugins/StatusPlugins/AdvancedAutoAway/AdvancedAutoAway_10.vcxproj b/plugins/StatusPlugins/AdvancedAutoAway/AdvancedAutoAway_10.vcxproj index 193f086912..0b6ce556a0 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/AdvancedAutoAway_10.vcxproj +++ b/plugins/StatusPlugins/AdvancedAutoAway/AdvancedAutoAway_10.vcxproj @@ -59,16 +59,16 @@ <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)\Plugins\ + $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ true - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Plugins\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)64/Obj/$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Plugins\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ + $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ true true @@ -81,19 +81,19 @@ Disabled - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\..\include;..\..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;_DEBUG;_WINDOWS;_USRDLL;ADVANCEDAUTOAWAY_EXPORTS;%(PreprocessorDefinitions) EnableFastChecks MultiThreadedDebugDLL Use - ../commonstatus.h + ..\commonstatus.h Level3 EditAndContinue 4996;%(DisableSpecificWarnings) _DEBUG;%(PreprocessorDefinitions) - ../../../include/msapi + ..\..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -115,13 +115,13 @@ Full OnlyExplicitInline Size - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\..\include;..\..\ExternalAPI;%(AdditionalIncludeDirectories) WIN32;NDEBUG;_WINDOWS;_USRDLL;ADVANCEDAUTOAWAY_EXPORTS;%(PreprocessorDefinitions) true MultiThreadedDLL true Use - ../commonstatus.h + ..\commonstatus.h Level3 4996;%(DisableSpecificWarnings) true @@ -131,7 +131,7 @@ NDEBUG;%(PreprocessorDefinitions) - ../../../include/msapi + ..\..\..\include\msapi comctl32.lib;%(AdditionalDependencies) @@ -171,9 +171,9 @@ MultiThreadedDLL false Fast - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\..\include;..\..\ExternalAPI;%(AdditionalIncludeDirectories) Use - ../commonstatus.h + ..\commonstatus.h Level3 WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) 4996;%(DisableSpecificWarnings) @@ -191,15 +191,15 @@ 0x11bd0000 - ../../../include/msapi + ..\..\..\include\msapi NDEBUG;%(PreprocessorDefinitions) - ../../../include;../../ExternalAPI;%(AdditionalIncludeDirectories) + ..\..\..\include;..\..\ExternalAPI;%(AdditionalIncludeDirectories) Use - ../commonstatus.h + ..\commonstatus.h Level3 Disabled WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) @@ -216,7 +216,7 @@ 0x11bd0000 - ../../../include/msapi + ..\..\..\include\msapi -- cgit v1.2.3