From 2640a97741c22a462b007277242b555916a0a025 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 21:32:04 +0000 Subject: YAMN: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- bin10/mir_dev.sln | 2 +- bin10/mir_full.sln | 2 +- bin10/mir_full_pro.sln | 2 +- bin10/mir_icons.sln | 2 +- bin12/mir_dev.sln | 2 +- bin12/mir_full.sln | 2 +- bin12/mir_icons.sln | 2 +- bin14/mir_dev.sln | 2 +- bin14/mir_full.sln | 2 +- bin14/mir_icons.sln | 2 +- plugins/YAMN/YAMN.vcxproj | 48 ++++ plugins/YAMN/YAMN.vcxproj.filters | 4 + plugins/YAMN/YAMN_10.vcxproj | 249 ------------------- plugins/YAMN/YAMN_10.vcxproj.filters | 118 --------- plugins/YAMN/YAMN_12.vcxproj | 252 -------------------- plugins/YAMN/YAMN_12.vcxproj.filters | 118 --------- plugins/YAMN/YAMN_14.vcxproj | 252 -------------------- plugins/YAMN/YAMN_14.vcxproj.filters | 118 --------- plugins/YAMN/docs/ChangeLog.txt | 2 +- plugins/YAMN/proto_yamn/proto_YAMN.vcxproj | 28 +++ plugins/YAMN/proto_yamn/proto_YAMN.vcxproj.filters | 4 + plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj | 131 ---------- .../YAMN/proto_yamn/proto_YAMN_10.vcxproj.filters | 22 -- plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj | 135 ----------- .../YAMN/proto_yamn/proto_YAMN_12.vcxproj.filters | 22 -- plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj | 135 ----------- .../YAMN/proto_yamn/proto_YAMN_14.vcxproj.filters | 22 -- plugins/YAMN/src/account.cpp | 2 +- plugins/YAMN/src/browser/badconnect.cpp | 2 +- plugins/YAMN/src/browser/mailbrowser.cpp | 2 +- plugins/YAMN/src/debug.cpp | 2 +- plugins/YAMN/src/filterplugin.cpp | 2 +- plugins/YAMN/src/mails/decode.cpp | 2 +- plugins/YAMN/src/mails/mails.cpp | 2 +- plugins/YAMN/src/mails/mime.cpp | 2 +- plugins/YAMN/src/main.cpp | 2 +- plugins/YAMN/src/proto/netlib.cpp | 2 +- plugins/YAMN/src/proto/pop3/pop3.cpp | 2 +- plugins/YAMN/src/proto/pop3/pop3comm.cpp | 2 +- plugins/YAMN/src/proto/pop3/pop3opt.cpp | 2 +- plugins/YAMN/src/protoplugin.cpp | 2 +- plugins/YAMN/src/services.cpp | 2 +- plugins/YAMN/src/stdafx.cpp | 18 -- plugins/YAMN/src/stdafx.cxx | 18 ++ plugins/YAMN/src/stdafx.h | 264 ++++++++++++++++++++ plugins/YAMN/src/synchro.cpp | 2 +- plugins/YAMN/src/yamn.cpp | 2 +- plugins/YAMN/src/yamn.h | 265 --------------------- 48 files changed, 394 insertions(+), 1885 deletions(-) create mode 100644 plugins/YAMN/YAMN.vcxproj create mode 100644 plugins/YAMN/YAMN.vcxproj.filters delete mode 100644 plugins/YAMN/YAMN_10.vcxproj delete mode 100644 plugins/YAMN/YAMN_10.vcxproj.filters delete mode 100644 plugins/YAMN/YAMN_12.vcxproj delete mode 100644 plugins/YAMN/YAMN_12.vcxproj.filters delete mode 100644 plugins/YAMN/YAMN_14.vcxproj delete mode 100644 plugins/YAMN/YAMN_14.vcxproj.filters create mode 100644 plugins/YAMN/proto_yamn/proto_YAMN.vcxproj create mode 100644 plugins/YAMN/proto_yamn/proto_YAMN.vcxproj.filters delete mode 100644 plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj delete mode 100644 plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj.filters delete mode 100644 plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj delete mode 100644 plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj.filters delete mode 100644 plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj delete mode 100644 plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj.filters delete mode 100644 plugins/YAMN/src/stdafx.cpp create mode 100644 plugins/YAMN/src/stdafx.cxx create mode 100644 plugins/YAMN/src/stdafx.h delete mode 100644 plugins/YAMN/src/yamn.h diff --git a/bin10/mir_dev.sln b/bin10/mir_dev.sln index ece4fdff6b..6c1bfb7ebb 100644 --- a/bin10/mir_dev.sln +++ b/bin10/mir_dev.sln @@ -311,7 +311,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Quotes", "..\plugins\Quotes EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Weather", "..\plugins\Weather\weather.vcxproj", "{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_10.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Ping", "..\plugins\Ping\ping.vcxproj", "{F31BD1B6-EE9D-4F76-A047-F8AEADC26086}" EndProject diff --git a/bin10/mir_full.sln b/bin10/mir_full.sln index f58ace435e..b2d45ad349 100644 --- a/bin10/mir_full.sln +++ b/bin10/mir_full.sln @@ -312,7 +312,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NotesReminders", "..\plugin EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EmLanProto", "..\protocols\EmLanProto\amdproto_10.vcxproj", "{2115FEBC-1EC4-4F95-A058-A523ED5295A4}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_10.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewsAggregator", "..\plugins\NewsAggregator\NewsAggregator.vcxproj", "{6DE11A47-2268-4B08-8DE5-15A1705FCE28}" EndProject diff --git a/bin10/mir_full_pro.sln b/bin10/mir_full_pro.sln index 86680002f3..2b23925dbb 100644 --- a/bin10/mir_full_pro.sln +++ b/bin10/mir_full_pro.sln @@ -346,7 +346,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NotesReminders", "..\plugin EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EmLanProto", "..\protocols\EmLanProto\amdproto_10.vcxproj", "{2115FEBC-1EC4-4F95-A058-A523ED5295A4}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_10.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewsAggregator", "..\plugins\NewsAggregator\NewsAggregator.vcxproj", "{6DE11A47-2268-4B08-8DE5-15A1705FCE28}" EndProject diff --git a/bin10/mir_icons.sln b/bin10/mir_icons.sln index 3f298f54cb..197ab745f1 100644 --- a/bin10/mir_icons.sln +++ b/bin10/mir_icons.sln @@ -60,7 +60,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Quotes", "..\plugins\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Weather", "..\plugins\Weather\proto_weather\proto_weather.vcxproj", "{B2F4BA6C-1BD6-4A50-A706-DCBC6A5D439B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_YAMN", "..\plugins\YAMN\proto_yamn\proto_YAMN_10.vcxproj", "{C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_YAMN", "..\plugins\YAMN\proto_yamn\proto_YAMN.vcxproj", "{C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Fingerprint Icons", "..\plugins\FingerprintNG\iconpacks\fp_icons.vcxproj", "{7F854B13-37EA-4956-BAEE-9715AE9F4579}" EndProject diff --git a/bin12/mir_dev.sln b/bin12/mir_dev.sln index 37cbcd6b9c..5e7b737d7a 100644 --- a/bin12/mir_dev.sln +++ b/bin12/mir_dev.sln @@ -318,7 +318,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Quotes", "..\plugins\Quotes EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Weather", "..\plugins\Weather\weather.vcxproj", "{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_12.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Ping", "..\plugins\Ping\ping.vcxproj", "{F31BD1B6-EE9D-4F76-A047-F8AEADC26086}" EndProject diff --git a/bin12/mir_full.sln b/bin12/mir_full.sln index 67d1f66345..c57261470e 100644 --- a/bin12/mir_full.sln +++ b/bin12/mir_full.sln @@ -316,7 +316,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NotesReminders", "..\plugin EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EmLanProto", "..\protocols\EmLanProto\amdproto_12.vcxproj", "{2115FEBC-1EC4-4F95-A058-A523ED5295A4}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_12.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewsAggregator", "..\plugins\NewsAggregator\NewsAggregator.vcxproj", "{6DE11A47-2268-4B08-8DE5-15A1705FCE28}" EndProject diff --git a/bin12/mir_icons.sln b/bin12/mir_icons.sln index c5500a6d87..de61e1b380 100644 --- a/bin12/mir_icons.sln +++ b/bin12/mir_icons.sln @@ -60,7 +60,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Quotes", "..\plugins\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Weather", "..\plugins\Weather\proto_weather\proto_weather.vcxproj", "{B2F4BA6C-1BD6-4A50-A706-DCBC6A5D439B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_YAMN", "..\plugins\YAMN\proto_yamn\proto_YAMN_12.vcxproj", "{C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_YAMN", "..\plugins\YAMN\proto_yamn\proto_YAMN.vcxproj", "{C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Fp_icons", "..\plugins\FingerprintNG\iconpacks\fp_icons.vcxproj", "{7F854B13-37EA-4956-BAEE-9715AE9F4579}" EndProject diff --git a/bin14/mir_dev.sln b/bin14/mir_dev.sln index 40ed6533f9..a97153a72a 100644 --- a/bin14/mir_dev.sln +++ b/bin14/mir_dev.sln @@ -318,7 +318,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Quotes", "..\plugins\Quotes EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Weather", "..\plugins\Weather\weather.vcxproj", "{6BFE3E13-BD5D-4C1C-BB29-A82FB51A16CE}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_14.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Ping", "..\plugins\Ping\ping.vcxproj", "{F31BD1B6-EE9D-4F76-A047-F8AEADC26086}" EndProject diff --git a/bin14/mir_full.sln b/bin14/mir_full.sln index 093473549b..9019593ea1 100644 --- a/bin14/mir_full.sln +++ b/bin14/mir_full.sln @@ -316,7 +316,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NotesReminders", "..\plugin EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EmLanProto", "..\protocols\EmLanProto\amdproto_14.vcxproj", "{2115FEBC-1EC4-4F95-A058-A523ED5295A4}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN_14.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "YAMN", "..\plugins\YAMN\YAMN.vcxproj", "{C5A87409-F08C-4A07-A8F9-1F5D52BA6D72}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NewsAggregator", "..\plugins\NewsAggregator\NewsAggregator.vcxproj", "{6DE11A47-2268-4B08-8DE5-15A1705FCE28}" EndProject diff --git a/bin14/mir_icons.sln b/bin14/mir_icons.sln index bad4bf003d..a5a11c097a 100644 --- a/bin14/mir_icons.sln +++ b/bin14/mir_icons.sln @@ -60,7 +60,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Quotes", "..\plugins\ EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Weather", "..\plugins\Weather\proto_weather\proto_weather.vcxproj", "{B2F4BA6C-1BD6-4A50-A706-DCBC6A5D439B}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_YAMN", "..\plugins\YAMN\proto_yamn\proto_YAMN_14.vcxproj", "{C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_YAMN", "..\plugins\YAMN\proto_yamn\proto_YAMN.vcxproj", "{C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Fp_icons", "..\plugins\FingerprintNG\iconpacks\fp_icons.vcxproj", "{7F854B13-37EA-4956-BAEE-9715AE9F4579}" EndProject diff --git a/plugins/YAMN/YAMN.vcxproj b/plugins/YAMN/YAMN.vcxproj new file mode 100644 index 0000000000..cb1c0191da --- /dev/null +++ b/plugins/YAMN/YAMN.vcxproj @@ -0,0 +1,48 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + YAMN + {C5A87409-F08C-4A07-A8F9-1F5D52BA6D72} + + + + + + + ..\stdafx.h + + + ..\stdafx.h + + + ..\stdafx.h + + + ..\..\stdafx.h + + + + + + + + + \ No newline at end of file diff --git a/plugins/YAMN/YAMN.vcxproj.filters b/plugins/YAMN/YAMN.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/YAMN/YAMN.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/YAMN/YAMN_10.vcxproj b/plugins/YAMN/YAMN_10.vcxproj deleted file mode 100644 index 602b1f8c5b..0000000000 --- a/plugins/YAMN/YAMN_10.vcxproj +++ /dev/null @@ -1,249 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - YAMN - {C5A87409-F08C-4A07-A8F9-1F5D52BA6D72} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_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 - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - 4996;%(DisableSpecificWarnings) - Size - Use - yamn.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - true - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - - - - - - - Create - - - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\..\yamn.h - - - ..\..\yamn.h - - - ..\..\yamn.h - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/YAMN/YAMN_10.vcxproj.filters b/plugins/YAMN/YAMN_10.vcxproj.filters deleted file mode 100644 index 648d4e558f..0000000000 --- a/plugins/YAMN/YAMN_10.vcxproj.filters +++ /dev/null @@ -1,118 +0,0 @@ - - - - - {30eb0c8d-5383-47ff-8a05-4b9793d26d50} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {daef8d66-0947-4a6c-ad55-4e1b2bf26d86} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {c58708cc-53b7-4db2-b19e-4d6291665e8b} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/YAMN/YAMN_12.vcxproj b/plugins/YAMN/YAMN_12.vcxproj deleted file mode 100644 index 2b342a8ff5..0000000000 --- a/plugins/YAMN/YAMN_12.vcxproj +++ /dev/null @@ -1,252 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - YAMN - {C5A87409-F08C-4A07-A8F9-1F5D52BA6D72} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_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 - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - 4996;%(DisableSpecificWarnings) - Size - Use - yamn.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - true - true - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - Create - - - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\..\yamn.h - - - ..\..\yamn.h - - - ..\..\yamn.h - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/YAMN/YAMN_12.vcxproj.filters b/plugins/YAMN/YAMN_12.vcxproj.filters deleted file mode 100644 index 648d4e558f..0000000000 --- a/plugins/YAMN/YAMN_12.vcxproj.filters +++ /dev/null @@ -1,118 +0,0 @@ - - - - - {30eb0c8d-5383-47ff-8a05-4b9793d26d50} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {daef8d66-0947-4a6c-ad55-4e1b2bf26d86} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {c58708cc-53b7-4db2-b19e-4d6291665e8b} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/YAMN/YAMN_14.vcxproj b/plugins/YAMN/YAMN_14.vcxproj deleted file mode 100644 index 4c647cfd53..0000000000 --- a/plugins/YAMN/YAMN_14.vcxproj +++ /dev/null @@ -1,252 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - YAMN - {C5A87409-F08C-4A07-A8F9-1F5D52BA6D72} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_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 - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - 4996;%(DisableSpecificWarnings) - Size - Use - yamn.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - true - true - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - 4996;%(DisableSpecificWarnings) - Use - yamn.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;ws2_32.lib;%(AdditionalDependencies) - true - 0x60010000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - Create - - - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\yamn.h - - - ..\..\yamn.h - - - ..\..\yamn.h - - - ..\..\yamn.h - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/YAMN/YAMN_14.vcxproj.filters b/plugins/YAMN/YAMN_14.vcxproj.filters deleted file mode 100644 index 648d4e558f..0000000000 --- a/plugins/YAMN/YAMN_14.vcxproj.filters +++ /dev/null @@ -1,118 +0,0 @@ - - - - - {30eb0c8d-5383-47ff-8a05-4b9793d26d50} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {daef8d66-0947-4a6c-ad55-4e1b2bf26d86} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {c58708cc-53b7-4db2-b19e-4d6291665e8b} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/YAMN/docs/ChangeLog.txt b/plugins/YAMN/docs/ChangeLog.txt index 6a85810ab2..e8dd383df8 100644 --- a/plugins/YAMN/docs/ChangeLog.txt +++ b/plugins/YAMN/docs/ChangeLog.txt @@ -221,7 +221,7 @@ Time for release. 0.0.0.3 ============ + Now account are shown as a contact. -+ Source code modification and use of yamn.h ++ Source code modification and use of stdafx.h + Wait the event moduleloaded before loading the icons (support icolib). 0.0.0.2 diff --git a/plugins/YAMN/proto_yamn/proto_YAMN.vcxproj b/plugins/YAMN/proto_yamn/proto_YAMN.vcxproj new file mode 100644 index 0000000000..1f5bbfd0e0 --- /dev/null +++ b/plugins/YAMN/proto_yamn/proto_YAMN.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + Proto_YAMN + {C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9} + + + + + \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN.vcxproj.filters b/plugins/YAMN/proto_yamn/proto_YAMN.vcxproj.filters new file mode 100644 index 0000000000..e39f86d5d6 --- /dev/null +++ b/plugins/YAMN/proto_yamn/proto_YAMN.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj b/plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj deleted file mode 100644 index 2338196c5f..0000000000 --- a/plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj +++ /dev/null @@ -1,131 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Proto_YAMN - {C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Icons\ - $(SolutionDir)$(Configuration)64\Icons\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Icons\ - $(SolutionDir)$(Configuration)64\Icons\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - true - true - $(SolutionDir)\lib - - - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - true - true - $(SolutionDir)\lib - - - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - $(SolutionDir)\lib - - - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - $(SolutionDir)\lib - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj.filters b/plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj.filters deleted file mode 100644 index 3fa00bebfb..0000000000 --- a/plugins/YAMN/proto_yamn/proto_YAMN_10.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {4726e1d1-39cd-435a-bd59-51fdb6745f46} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {81ae85e6-6c6b-42dc-be93-6b2bdc29210f} - - - - - Header Files - - - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj b/plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj deleted file mode 100644 index 0fbe664373..0000000000 --- a/plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj +++ /dev/null @@ -1,135 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Proto_YAMN - {C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Icons\ - $(SolutionDir)$(Configuration)64\Icons\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Icons\ - $(SolutionDir)$(Configuration)64\Icons\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - true - true - $(SolutionDir)\lib - - - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - true - true - $(SolutionDir)\lib - - - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - $(SolutionDir)\lib - - - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - $(SolutionDir)\lib - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj.filters b/plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj.filters deleted file mode 100644 index 3fa00bebfb..0000000000 --- a/plugins/YAMN/proto_yamn/proto_YAMN_12.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {4726e1d1-39cd-435a-bd59-51fdb6745f46} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {81ae85e6-6c6b-42dc-be93-6b2bdc29210f} - - - - - Header Files - - - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj b/plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj deleted file mode 100644 index c9b45f2bdf..0000000000 --- a/plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj +++ /dev/null @@ -1,135 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Proto_YAMN - {C1CDB82C-6BBF-496E-88F4-CC57E60B0CA9} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Icons\ - $(SolutionDir)$(Configuration)64\Icons\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Icons\ - $(SolutionDir)$(Configuration)64\Icons\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - true - true - $(SolutionDir)\lib - - - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - true - true - $(SolutionDir)\lib - - - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - $(SolutionDir)\lib - - - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\..\include\msapi - - - Windows - true - false - $(SolutionDir)\lib - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj.filters b/plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj.filters deleted file mode 100644 index 3fa00bebfb..0000000000 --- a/plugins/YAMN/proto_yamn/proto_YAMN_14.vcxproj.filters +++ /dev/null @@ -1,22 +0,0 @@ - - - - - {4726e1d1-39cd-435a-bd59-51fdb6745f46} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {81ae85e6-6c6b-42dc-be93-6b2bdc29210f} - - - - - Header Files - - - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/YAMN/src/account.cpp b/plugins/YAMN/src/account.cpp index 4f15b8549c..230f9e089b 100644 --- a/plugins/YAMN/src/account.cpp +++ b/plugins/YAMN/src/account.cpp @@ -6,7 +6,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" //Account status CS //When we check some account, thread should change status of account to idle, connecting etc. diff --git a/plugins/YAMN/src/browser/badconnect.cpp b/plugins/YAMN/src/browser/badconnect.cpp index 87acfa97ac..42063887ba 100644 --- a/plugins/YAMN/src/browser/badconnect.cpp +++ b/plugins/YAMN/src/browser/badconnect.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002,2004 */ -#include "..\yamn.h" +#include "..\stdafx.h" #define BADCONNECTTITLE LPGEN("%s - connection error") #define BADCONNECTMSG LPGEN("An error occurred. Error code: %d")//is in use? diff --git a/plugins/YAMN/src/browser/mailbrowser.cpp b/plugins/YAMN/src/browser/mailbrowser.cpp index 1e4ba0ea3d..f3d300ac78 100644 --- a/plugins/YAMN/src/browser/mailbrowser.cpp +++ b/plugins/YAMN/src/browser/mailbrowser.cpp @@ -10,7 +10,7 @@ * put it back to uncommented and compile again :) */ -#include "../yamn.h" +#include "../stdafx.h" #define TIMER_FLASHING 0x09061979 #define MAILBROWSER_MINXSIZE 200 //min size of mail browser window diff --git a/plugins/YAMN/src/debug.cpp b/plugins/YAMN/src/debug.cpp index 99053b5c49..96d61131bc 100644 --- a/plugins/YAMN/src/debug.cpp +++ b/plugins/YAMN/src/debug.cpp @@ -7,7 +7,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" #ifdef _DEBUG diff --git a/plugins/YAMN/src/filterplugin.cpp b/plugins/YAMN/src/filterplugin.cpp index b1ad1f0abf..e6875ccec7 100644 --- a/plugins/YAMN/src/filterplugin.cpp +++ b/plugins/YAMN/src/filterplugin.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/mails/decode.cpp b/plugins/YAMN/src/mails/decode.cpp index 96c561808d..8f8099e776 100644 --- a/plugins/YAMN/src/mails/decode.cpp +++ b/plugins/YAMN/src/mails/decode.cpp @@ -4,7 +4,7 @@ * * (c) majvan 2002-2004 */ -#include "../yamn.h" +#include "../stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/mails/mails.cpp b/plugins/YAMN/src/mails/mails.cpp index ad9083f5b9..4b8422ac46 100644 --- a/plugins/YAMN/src/mails/mails.cpp +++ b/plugins/YAMN/src/mails/mails.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2004 */ -#include "../yamn.h" +#include "../stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/mails/mime.cpp b/plugins/YAMN/src/mails/mime.cpp index 4dc0c5aefc..906d18d776 100644 --- a/plugins/YAMN/src/mails/mime.cpp +++ b/plugins/YAMN/src/mails/mime.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2004 */ -#include "../yamn.h" +#include "../stdafx.h" //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/main.cpp b/plugins/YAMN/src/main.cpp index 92fd9f4c2c..94175d3259 100644 --- a/plugins/YAMN/src/main.cpp +++ b/plugins/YAMN/src/main.cpp @@ -8,7 +8,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/proto/netlib.cpp b/plugins/YAMN/src/proto/netlib.cpp index 327b08b0c4..1fe773732d 100644 --- a/plugins/YAMN/src/proto/netlib.cpp +++ b/plugins/YAMN/src/proto/netlib.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2004 */ -#include "..\yamn.h" +#include "..\stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/proto/pop3/pop3.cpp b/plugins/YAMN/src/proto/pop3/pop3.cpp index f75ad174c6..1be2d83678 100644 --- a/plugins/YAMN/src/proto/pop3/pop3.cpp +++ b/plugins/YAMN/src/proto/pop3/pop3.cpp @@ -23,7 +23,7 @@ * */ -#include "..\..\yamn.h" +#include "..\..\stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/proto/pop3/pop3comm.cpp b/plugins/YAMN/src/proto/pop3/pop3comm.cpp index edfcca0942..593f5238de 100644 --- a/plugins/YAMN/src/proto/pop3/pop3comm.cpp +++ b/plugins/YAMN/src/proto/pop3/pop3comm.cpp @@ -10,7 +10,7 @@ */ -#include "../../yamn.h" +#include "../../stdafx.h" #define ERRORSTR_MAXLEN 1024 //in wide-chars diff --git a/plugins/YAMN/src/proto/pop3/pop3opt.cpp b/plugins/YAMN/src/proto/pop3/pop3opt.cpp index 337efd256a..6b6393a022 100644 --- a/plugins/YAMN/src/proto/pop3/pop3opt.cpp +++ b/plugins/YAMN/src/proto/pop3/pop3opt.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2003 */ -#include "../../yamn.h" +#include "../../stdafx.h" //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/protoplugin.cpp b/plugins/YAMN/src/protoplugin.cpp index 655ba4d238..785bb40c77 100644 --- a/plugins/YAMN/src/protoplugin.cpp +++ b/plugins/YAMN/src/protoplugin.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/services.cpp b/plugins/YAMN/src/services.cpp index 78662e565d..8a8187f593 100644 --- a/plugins/YAMN/src/services.cpp +++ b/plugins/YAMN/src/services.cpp @@ -1,4 +1,4 @@ -#include "yamn.h" +#include "stdafx.h" static INT_PTR Service_GetCaps(WPARAM wParam, LPARAM lParam) { diff --git a/plugins/YAMN/src/stdafx.cpp b/plugins/YAMN/src/stdafx.cpp deleted file mode 100644 index b61c1af1a0..0000000000 --- a/plugins/YAMN/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "yamn.h" \ No newline at end of file diff --git a/plugins/YAMN/src/stdafx.cxx b/plugins/YAMN/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/YAMN/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/YAMN/src/stdafx.h b/plugins/YAMN/src/stdafx.h new file mode 100644 index 0000000000..f454aa8829 --- /dev/null +++ b/plugins/YAMN/src/stdafx.h @@ -0,0 +1,264 @@ + +#ifndef __YAMN_H +#define __YAMN_H + +#define VC_EXTRALEAN + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "main.h" +#include "mails/decode.h" +#include "browser/browser.h" +#include "resource.h" +#include "debug.h" +#include "version.h" +#include "proto\netclient.h" +#include "proto\netlib.h" +#include "proto\pop3\pop3.h" +#include "proto\pop3\pop3comm.h" +#include "proto\pop3\pop3opt.h" + + +//From services.cpp +void CreateServiceFunctions(void); +void DestroyServiceFunctions(void); +void HookEvents(void); +void UnhookEvents(void); +void RefreshContact(void); +void ContactDoubleclicked(WPARAM wParam, LPARAM lParam); +INT_PTR ClistContactDoubleclicked(WPARAM wParam, LPARAM lParam); + +extern CRITICAL_SECTION PluginRegCS; +extern SCOUNTER *AccountWriterSO; +extern HANDLE ExitEV; +extern HANDLE WriteToFileEV; + +//From debug.cpp +#ifdef _DEBUG +void InitDebug(); +void UnInitDebug(); +#endif + +//From synchro.cpp +//struct CExportedFunctions SynchroExported[]; + +//From yamn.cpp +INT_PTR GetFcnPtrSvc(WPARAM wParam, LPARAM lParam); +INT_PTR GetVariablesSvc(WPARAM, LPARAM); +void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); +INT_PTR ForceCheckSvc(WPARAM, LPARAM); + +extern struct YAMNExportedFcns *pYAMNFcn; + +//From account.cpp +extern CRITICAL_SECTION AccountStatusCS; +extern CRITICAL_SECTION FileWritingCS; + +INT_PTR CreatePluginAccountSvc(WPARAM wParam, LPARAM lParam); +INT_PTR DeletePluginAccountSvc(WPARAM wParam, LPARAM); +int InitAccount(HACCOUNT Which); +void DeInitAccount(HACCOUNT Which); +void StopSignalFcn(HACCOUNT Which); +void CodeDecodeString(char *Dest, BOOL Encrypt); +DWORD FileToMemory(TCHAR *FileName, char **MemFile, char **End); + +#if defined(DEBUG_FILEREAD) || defined(DEBUG_FILEREADMESSAGES) +DWORD ReadStringFromMemory(char **Parser,char *End,char **StoreTo,char *DebugString); +#endif +DWORD ReadStringFromMemory(char **Parser, char *End, char **StoreTo); +DWORD ReadMessagesFromMemory(HACCOUNT Which, char **Parser, char *End); +DWORD ReadAccountFromMemory(HACCOUNT Which, char **Parser, TCHAR *End); +INT_PTR AddAccountsFromFileSvc(WPARAM wParam, LPARAM lParam); + +DWORD WriteStringToFile(HANDLE File, char *Source); +DWORD WriteStringToFileW(HANDLE File, WCHAR *Source); + + +DWORD WriteMessagesToFile(HANDLE File, HACCOUNT Which); +DWORD WINAPI WritePOP3Accounts(); +INT_PTR WriteAccountsToFileSvc(WPARAM wParam, LPARAM lParam); +INT_PTR FindAccountByNameSvc(WPARAM wParam, LPARAM lParam); +INT_PTR GetNextFreeAccountSvc(WPARAM wParam, LPARAM lParam); + +INT_PTR DeleteAccountSvc(WPARAM wParam, LPARAM); +void __cdecl DeleteAccountInBackground(void *Which); +int StopAccounts(HYAMNPROTOPLUGIN Plugin); +int WaitForAllAccounts(HYAMNPROTOPLUGIN Plugin, BOOL GetAccountBrowserAccess = FALSE); +int DeleteAccounts(HYAMNPROTOPLUGIN Plugin); + +void WINAPI GetStatusFcn(HACCOUNT Which, TCHAR *Value); +void WINAPI SetStatusFcn(HACCOUNT Which, TCHAR *Value); + +INT_PTR UnregisterProtoPlugins(); +INT_PTR RegisterProtocolPluginSvc(WPARAM, LPARAM); +INT_PTR UnregisterProtocolPluginSvc(WPARAM, LPARAM); +INT_PTR GetFileNameSvc(WPARAM, LPARAM); +INT_PTR DeleteFileNameSvc(WPARAM, LPARAM); + +//From filterplugin.cpp +//struct CExportedFunctions FilterPluginExported[]; +INT_PTR UnregisterFilterPlugins(); +INT_PTR RegisterFilterPluginSvc(WPARAM, LPARAM); +INT_PTR UnregisterFilterPluginSvc(WPARAM, LPARAM); +INT_PTR FilterMailSvc(WPARAM, LPARAM); + +//From mails.cpp (MIME) +//struct CExportedFunctions MailExported[]; +INT_PTR CreateAccountMailSvc(WPARAM wParam, LPARAM lParam); +INT_PTR DeleteAccountMailSvc(WPARAM wParam, LPARAM lParam); +INT_PTR LoadMailDataSvc(WPARAM wParam, LPARAM lParam); +INT_PTR UnloadMailDataSvc(WPARAM wParam, LPARAM); +INT_PTR SaveMailDataSvc(WPARAM wParam, LPARAM lParam); + +//From mime.cpp +//void WINAPI ExtractHeaderFcn(char *,int,WORD,HYAMNMAIL); //already in MailExported +struct _tcptable +{ + char *NameBase, *NameSub; + BOOLEAN isValid; + unsigned short int CP; +}; +extern struct _tcptable CodePageNamesAll[]; // in mime/decode.cpp +extern int CPLENALL; +extern struct _tcptable *CodePageNamesSupp; // in mime/decode.cpp +extern int CPLENSUPP; + +extern int PosX, PosY, SizeX, SizeY; +extern int HeadPosX, HeadPosY, HeadSizeX, HeadSizeY, HeadSplitPos; + +//#define CPDEFINDEX 63 //ISO-8859-1 +#define CPDEFINDEX 0 //ACP + +//From pop3comm.cpp +int RegisterPOP3Plugin(WPARAM, LPARAM); + +//From mailbrowser.cpp +INT_PTR RunMailBrowserSvc(WPARAM, LPARAM); + +//From badconnect.cpp +INT_PTR RunBadConnectionSvc(WPARAM, LPARAM); + +//From YAMNopts.cpp +int YAMNOptInitSvc(WPARAM, LPARAM); + +//From main.cpp +int PostLoad(WPARAM, LPARAM); //Executed after all plugins loaded YAMN reads mails from file and notify every protocol it should set its functions +int Shutdown(WPARAM, LPARAM); //Executed before Miranda is going to shutdown +int AddTopToolbarIcon(WPARAM, LPARAM); //Executed when TopToolBar plugin loaded Adds bitmap to toolbar + +extern TCHAR UserDirectory[]; //e.g. "F:\WINNT\Profiles\UserXYZ" +extern TCHAR ProfileName[]; //e.g. "majvan" +extern SWMRG *AccountBrowserSO; +extern YAMN_VARIABLES YAMNVar; +extern HANDLE hNewMailHook; +extern HANDLE hTTButton; +extern HCURSOR hCurSplitNS, hCurSplitWE; +extern UINT SecTimer; + +HANDLE WINAPI g_GetIconHandle(int idx); +HICON WINAPI g_LoadIconEx(int idx, bool big = false); +void WINAPI g_ReleaseIcon(HICON hIcon); + +//From synchro.cpp +void WINAPI DeleteMessagesToEndFcn(HACCOUNT Account, HYAMNMAIL From); +DWORD WINAPI WaitToWriteFcn(PSWMRG SObject, PSCOUNTER SCounter = NULL); +void WINAPI WriteDoneFcn(PSWMRG SObject, PSCOUNTER SCounter = NULL); +DWORD WINAPI WaitToReadFcn(PSWMRG SObject); +void WINAPI ReadDoneFcn(PSWMRG SObject); +DWORD WINAPI SCIncFcn(PSCOUNTER SCounter); +DWORD WINAPI SCDecFcn(PSCOUNTER SCounter); +BOOL WINAPI SWMRGInitialize(PSWMRG, TCHAR *); +void WINAPI SWMRGDelete(PSWMRG); +DWORD WINAPI SWMRGWaitToWrite(PSWMRG pSWMRG, DWORD dwTimeout); +void WINAPI SWMRGDoneWriting(PSWMRG pSWMRG); +DWORD WINAPI SWMRGWaitToRead(PSWMRG pSWMRG, DWORD dwTimeout); +void WINAPI SWMRGDoneReading(PSWMRG pSWMRG); + +//From mails.cpp +void WINAPI DeleteMessageFromQueueFcn(HYAMNMAIL *From, HYAMNMAIL Which, int mode); +void WINAPI SetRemoveFlagsInQueueFcn(HYAMNMAIL From, DWORD FlagsSet, DWORD FlagsNotSet, DWORD FlagsToSet, int mode); + +//From mime.cpp +void ExtractHeader(struct CMimeItem *items, int &CP, struct CHeader *head); +void ExtractShortHeader(struct CMimeItem *items, struct CShortHeader *head); +void DeleteHeaderContent(struct CHeader *head); +void DeleteShortHeaderContent(struct CShortHeader *head); +char *ExtractFromContentType(char *ContentType, char *value); +WCHAR *ParseMultipartBody(char *src, char *bond); + +//From account.cpp +void WINAPI GetStatusFcn(HACCOUNT Which, TCHAR *Value); + +extern HYAMNPROTOPLUGIN POP3Plugin; + +//from decode.cpp +int DecodeQuotedPrintable(char *Src, char *Dst, int DstLen, BOOL isQ); +int DecodeBase64(char *Src, char *Dst, int DstLen); + +//From filterplugin.cpp +extern PYAMN_FILTERPLUGINQUEUE FirstFilterPlugin; + +//From protoplugin.cpp +extern PYAMN_PROTOPLUGINQUEUE FirstProtoPlugin; + +extern struct CExportedFunctions ProtoPluginExportedFcn[1]; +extern struct CExportedServices ProtoPluginExportedSvc[5]; +//From filterplugin.cpp +extern struct CExportedFunctions FilterPluginExportedFcn[1]; +extern struct CExportedServices FilterPluginExportedSvc[2]; +//From synchro.cpp +extern struct CExportedFunctions SynchroExportedFcn[7]; +//From account.cpp +extern struct CExportedFunctions AccountExportedFcn[2]; +extern struct CExportedServices AccountExportedSvc[9]; +//From mails.cpp (MIME) +extern struct CExportedFunctions MailExportedFcn[8]; +extern struct CExportedServices MailExportedSvc[5]; + +extern char *iconDescs[]; +extern char *iconNames[]; +extern HIMAGELIST CSImages; + +extern void __stdcall SSL_DebugLog(const char *fmt, ...); + +extern int YAMN_STATUS; + +extern struct WndHandles *MessageWnd; + +extern int GetCharsetFromString(char *input, size_t size); +extern void SendMsgToRecepients(struct WndHandles *FirstWin, UINT msg, WPARAM wParam, LPARAM lParam); +extern void ConvertCodedStringToUnicode(char *stream, WCHAR **storeto, DWORD cp, int mode); +extern void __cdecl MailBrowser(void *Param); +extern DWORD WINAPI NoNewMailProc(LPVOID Param); +extern void __cdecl BadConnection(void *Param); +extern PVOID TLSCtx; +extern PVOID SSLCtx; + +extern HGENMENU hMenuItemMain, hMenuItemCont, hMenuItemContApp; +extern PYAMN_VARIABLES pYAMNVar; + +#endif diff --git a/plugins/YAMN/src/synchro.cpp b/plugins/YAMN/src/synchro.cpp index 84cc4cece0..6b37e151dc 100644 --- a/plugins/YAMN/src/synchro.cpp +++ b/plugins/YAMN/src/synchro.cpp @@ -5,7 +5,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" // Initializes a SWMRG structure. This structure must be // initialized before any writer or reader threads attempt diff --git a/plugins/YAMN/src/yamn.cpp b/plugins/YAMN/src/yamn.cpp index b9ee9b87aa..a0f761ac46 100644 --- a/plugins/YAMN/src/yamn.cpp +++ b/plugins/YAMN/src/yamn.cpp @@ -4,7 +4,7 @@ * (c) majvan 2002-2004 */ -#include "yamn.h" +#include "stdafx.h" //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- diff --git a/plugins/YAMN/src/yamn.h b/plugins/YAMN/src/yamn.h deleted file mode 100644 index 11f8ae0569..0000000000 --- a/plugins/YAMN/src/yamn.h +++ /dev/null @@ -1,265 +0,0 @@ - -#ifndef __YAMN_H -#define __YAMN_H - -#define _CRT_SECURE_NO_WARNINGS -#define VC_EXTRALEAN - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include "main.h" -#include "mails/decode.h" -#include "browser/browser.h" -#include "resource.h" -#include "debug.h" -#include "version.h" -#include "proto\netclient.h" -#include "proto\netlib.h" -#include "proto\pop3\pop3.h" -#include "proto\pop3\pop3comm.h" -#include "proto\pop3\pop3opt.h" - - -//From services.cpp -void CreateServiceFunctions(void); -void DestroyServiceFunctions(void); -void HookEvents(void); -void UnhookEvents(void); -void RefreshContact(void); -void ContactDoubleclicked(WPARAM wParam, LPARAM lParam); -INT_PTR ClistContactDoubleclicked(WPARAM wParam, LPARAM lParam); - -extern CRITICAL_SECTION PluginRegCS; -extern SCOUNTER *AccountWriterSO; -extern HANDLE ExitEV; -extern HANDLE WriteToFileEV; - -//From debug.cpp -#ifdef _DEBUG -void InitDebug(); -void UnInitDebug(); -#endif - -//From synchro.cpp -//struct CExportedFunctions SynchroExported[]; - -//From yamn.cpp -INT_PTR GetFcnPtrSvc(WPARAM wParam, LPARAM lParam); -INT_PTR GetVariablesSvc(WPARAM, LPARAM); -void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); -INT_PTR ForceCheckSvc(WPARAM, LPARAM); - -extern struct YAMNExportedFcns *pYAMNFcn; - -//From account.cpp -extern CRITICAL_SECTION AccountStatusCS; -extern CRITICAL_SECTION FileWritingCS; - -INT_PTR CreatePluginAccountSvc(WPARAM wParam, LPARAM lParam); -INT_PTR DeletePluginAccountSvc(WPARAM wParam, LPARAM); -int InitAccount(HACCOUNT Which); -void DeInitAccount(HACCOUNT Which); -void StopSignalFcn(HACCOUNT Which); -void CodeDecodeString(char *Dest, BOOL Encrypt); -DWORD FileToMemory(TCHAR *FileName, char **MemFile, char **End); - -#if defined(DEBUG_FILEREAD) || defined(DEBUG_FILEREADMESSAGES) -DWORD ReadStringFromMemory(char **Parser,char *End,char **StoreTo,char *DebugString); -#endif -DWORD ReadStringFromMemory(char **Parser, char *End, char **StoreTo); -DWORD ReadMessagesFromMemory(HACCOUNT Which, char **Parser, char *End); -DWORD ReadAccountFromMemory(HACCOUNT Which, char **Parser, TCHAR *End); -INT_PTR AddAccountsFromFileSvc(WPARAM wParam, LPARAM lParam); - -DWORD WriteStringToFile(HANDLE File, char *Source); -DWORD WriteStringToFileW(HANDLE File, WCHAR *Source); - - -DWORD WriteMessagesToFile(HANDLE File, HACCOUNT Which); -DWORD WINAPI WritePOP3Accounts(); -INT_PTR WriteAccountsToFileSvc(WPARAM wParam, LPARAM lParam); -INT_PTR FindAccountByNameSvc(WPARAM wParam, LPARAM lParam); -INT_PTR GetNextFreeAccountSvc(WPARAM wParam, LPARAM lParam); - -INT_PTR DeleteAccountSvc(WPARAM wParam, LPARAM); -void __cdecl DeleteAccountInBackground(void *Which); -int StopAccounts(HYAMNPROTOPLUGIN Plugin); -int WaitForAllAccounts(HYAMNPROTOPLUGIN Plugin, BOOL GetAccountBrowserAccess = FALSE); -int DeleteAccounts(HYAMNPROTOPLUGIN Plugin); - -void WINAPI GetStatusFcn(HACCOUNT Which, TCHAR *Value); -void WINAPI SetStatusFcn(HACCOUNT Which, TCHAR *Value); - -INT_PTR UnregisterProtoPlugins(); -INT_PTR RegisterProtocolPluginSvc(WPARAM, LPARAM); -INT_PTR UnregisterProtocolPluginSvc(WPARAM, LPARAM); -INT_PTR GetFileNameSvc(WPARAM, LPARAM); -INT_PTR DeleteFileNameSvc(WPARAM, LPARAM); - -//From filterplugin.cpp -//struct CExportedFunctions FilterPluginExported[]; -INT_PTR UnregisterFilterPlugins(); -INT_PTR RegisterFilterPluginSvc(WPARAM, LPARAM); -INT_PTR UnregisterFilterPluginSvc(WPARAM, LPARAM); -INT_PTR FilterMailSvc(WPARAM, LPARAM); - -//From mails.cpp (MIME) -//struct CExportedFunctions MailExported[]; -INT_PTR CreateAccountMailSvc(WPARAM wParam, LPARAM lParam); -INT_PTR DeleteAccountMailSvc(WPARAM wParam, LPARAM lParam); -INT_PTR LoadMailDataSvc(WPARAM wParam, LPARAM lParam); -INT_PTR UnloadMailDataSvc(WPARAM wParam, LPARAM); -INT_PTR SaveMailDataSvc(WPARAM wParam, LPARAM lParam); - -//From mime.cpp -//void WINAPI ExtractHeaderFcn(char *,int,WORD,HYAMNMAIL); //already in MailExported -struct _tcptable -{ - char *NameBase, *NameSub; - BOOLEAN isValid; - unsigned short int CP; -}; -extern struct _tcptable CodePageNamesAll[]; // in mime/decode.cpp -extern int CPLENALL; -extern struct _tcptable *CodePageNamesSupp; // in mime/decode.cpp -extern int CPLENSUPP; - -extern int PosX, PosY, SizeX, SizeY; -extern int HeadPosX, HeadPosY, HeadSizeX, HeadSizeY, HeadSplitPos; - -//#define CPDEFINDEX 63 //ISO-8859-1 -#define CPDEFINDEX 0 //ACP - -//From pop3comm.cpp -int RegisterPOP3Plugin(WPARAM, LPARAM); - -//From mailbrowser.cpp -INT_PTR RunMailBrowserSvc(WPARAM, LPARAM); - -//From badconnect.cpp -INT_PTR RunBadConnectionSvc(WPARAM, LPARAM); - -//From YAMNopts.cpp -int YAMNOptInitSvc(WPARAM, LPARAM); - -//From main.cpp -int PostLoad(WPARAM, LPARAM); //Executed after all plugins loaded YAMN reads mails from file and notify every protocol it should set its functions -int Shutdown(WPARAM, LPARAM); //Executed before Miranda is going to shutdown -int AddTopToolbarIcon(WPARAM, LPARAM); //Executed when TopToolBar plugin loaded Adds bitmap to toolbar - -extern TCHAR UserDirectory[]; //e.g. "F:\WINNT\Profiles\UserXYZ" -extern TCHAR ProfileName[]; //e.g. "majvan" -extern SWMRG *AccountBrowserSO; -extern YAMN_VARIABLES YAMNVar; -extern HANDLE hNewMailHook; -extern HANDLE hTTButton; -extern HCURSOR hCurSplitNS, hCurSplitWE; -extern UINT SecTimer; - -HANDLE WINAPI g_GetIconHandle(int idx); -HICON WINAPI g_LoadIconEx(int idx, bool big = false); -void WINAPI g_ReleaseIcon(HICON hIcon); - -//From synchro.cpp -void WINAPI DeleteMessagesToEndFcn(HACCOUNT Account, HYAMNMAIL From); -DWORD WINAPI WaitToWriteFcn(PSWMRG SObject, PSCOUNTER SCounter = NULL); -void WINAPI WriteDoneFcn(PSWMRG SObject, PSCOUNTER SCounter = NULL); -DWORD WINAPI WaitToReadFcn(PSWMRG SObject); -void WINAPI ReadDoneFcn(PSWMRG SObject); -DWORD WINAPI SCIncFcn(PSCOUNTER SCounter); -DWORD WINAPI SCDecFcn(PSCOUNTER SCounter); -BOOL WINAPI SWMRGInitialize(PSWMRG, TCHAR *); -void WINAPI SWMRGDelete(PSWMRG); -DWORD WINAPI SWMRGWaitToWrite(PSWMRG pSWMRG, DWORD dwTimeout); -void WINAPI SWMRGDoneWriting(PSWMRG pSWMRG); -DWORD WINAPI SWMRGWaitToRead(PSWMRG pSWMRG, DWORD dwTimeout); -void WINAPI SWMRGDoneReading(PSWMRG pSWMRG); - -//From mails.cpp -void WINAPI DeleteMessageFromQueueFcn(HYAMNMAIL *From, HYAMNMAIL Which, int mode); -void WINAPI SetRemoveFlagsInQueueFcn(HYAMNMAIL From, DWORD FlagsSet, DWORD FlagsNotSet, DWORD FlagsToSet, int mode); - -//From mime.cpp -void ExtractHeader(struct CMimeItem *items, int &CP, struct CHeader *head); -void ExtractShortHeader(struct CMimeItem *items, struct CShortHeader *head); -void DeleteHeaderContent(struct CHeader *head); -void DeleteShortHeaderContent(struct CShortHeader *head); -char *ExtractFromContentType(char *ContentType, char *value); -WCHAR *ParseMultipartBody(char *src, char *bond); - -//From account.cpp -void WINAPI GetStatusFcn(HACCOUNT Which, TCHAR *Value); - -extern HYAMNPROTOPLUGIN POP3Plugin; - -//from decode.cpp -int DecodeQuotedPrintable(char *Src, char *Dst, int DstLen, BOOL isQ); -int DecodeBase64(char *Src, char *Dst, int DstLen); - -//From filterplugin.cpp -extern PYAMN_FILTERPLUGINQUEUE FirstFilterPlugin; - -//From protoplugin.cpp -extern PYAMN_PROTOPLUGINQUEUE FirstProtoPlugin; - -extern struct CExportedFunctions ProtoPluginExportedFcn[1]; -extern struct CExportedServices ProtoPluginExportedSvc[5]; -//From filterplugin.cpp -extern struct CExportedFunctions FilterPluginExportedFcn[1]; -extern struct CExportedServices FilterPluginExportedSvc[2]; -//From synchro.cpp -extern struct CExportedFunctions SynchroExportedFcn[7]; -//From account.cpp -extern struct CExportedFunctions AccountExportedFcn[2]; -extern struct CExportedServices AccountExportedSvc[9]; -//From mails.cpp (MIME) -extern struct CExportedFunctions MailExportedFcn[8]; -extern struct CExportedServices MailExportedSvc[5]; - -extern char *iconDescs[]; -extern char *iconNames[]; -extern HIMAGELIST CSImages; - -extern void __stdcall SSL_DebugLog(const char *fmt, ...); - -extern int YAMN_STATUS; - -extern struct WndHandles *MessageWnd; - -extern int GetCharsetFromString(char *input, size_t size); -extern void SendMsgToRecepients(struct WndHandles *FirstWin, UINT msg, WPARAM wParam, LPARAM lParam); -extern void ConvertCodedStringToUnicode(char *stream, WCHAR **storeto, DWORD cp, int mode); -extern void __cdecl MailBrowser(void *Param); -extern DWORD WINAPI NoNewMailProc(LPVOID Param); -extern void __cdecl BadConnection(void *Param); -extern PVOID TLSCtx; -extern PVOID SSLCtx; - -extern HGENMENU hMenuItemMain, hMenuItemCont, hMenuItemContApp; -extern PYAMN_VARIABLES pYAMNVar; - -#endif -- cgit v1.2.3