From a98d83a4756315bda62df0ede25872f7582ffc59 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Thu, 5 May 2011 12:27:05 +0000 Subject: small update from addons.miranda-im.org git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@73 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- contacts_rate/docs/Rate-readme.txt | 5 +- contacts_rate/docs/rate.txt | 2 +- contacts_rate/icons/rate_high.ico | Bin 2550 -> 1150 bytes contacts_rate/icons/rate_low.ico | Bin 2550 -> 1150 bytes contacts_rate/icons/rate_med.ico | Bin 2550 -> 1150 bytes contacts_rate/main.cpp | 24 +--- contacts_rate/options.cpp | 6 +- contacts_rate/rate.sln | 20 --- contacts_rate/rate.vcproj | 170 ---------------------- contacts_rate/rate.vcxproj | 111 --------------- contacts_rate/rate.vcxproj.filters | 58 -------- contacts_rate/rate10.vcxproj | 111 +++++++++++++++ contacts_rate/rate_10.sln | 20 +++ contacts_rate/rate_10.vcxproj.filters | 58 ++++++++ contacts_rate/rate_7.vcproj | 170 ++++++++++++++++++++++ contacts_rate/rate_9.vcproj | 258 ++++++++++++++++++++++++++++++++++ 16 files changed, 627 insertions(+), 386 deletions(-) delete mode 100644 contacts_rate/rate.sln delete mode 100644 contacts_rate/rate.vcproj delete mode 100644 contacts_rate/rate.vcxproj delete mode 100644 contacts_rate/rate.vcxproj.filters create mode 100644 contacts_rate/rate10.vcxproj create mode 100644 contacts_rate/rate_10.sln create mode 100644 contacts_rate/rate_10.vcxproj.filters create mode 100644 contacts_rate/rate_7.vcproj create mode 100644 contacts_rate/rate_9.vcproj diff --git a/contacts_rate/docs/Rate-readme.txt b/contacts_rate/docs/Rate-readme.txt index 15fe643..aafc63f 100644 --- a/contacts_rate/docs/Rate-readme.txt +++ b/contacts_rate/docs/Rate-readme.txt @@ -1,5 +1,5 @@ Contacts Rate plugin for Miranda IM (http://miranda-im.org) -Version: 0.0.2.0 (c) 2007-2009 Kildor +Version: 0.0.2.1 (c) 2007-2009 Kildor Icons by Faith Healer This small plugin intended to show an icon in front of contacts which have @@ -15,6 +15,9 @@ FYR for his clist_modern Changes: +v0.0.2.1 +- Translation fixes. + v0.0.2.0 - ExtraIcons plugin support (big thanks to Pescuma for patch) diff --git a/contacts_rate/docs/rate.txt b/contacts_rate/docs/rate.txt index da932fa..e743807 100644 --- a/contacts_rate/docs/rate.txt +++ b/contacts_rate/docs/rate.txt @@ -1 +1 @@ -Rate 0.0.2.0 \ No newline at end of file +Rate 0.0.2.1 \ No newline at end of file diff --git a/contacts_rate/icons/rate_high.ico b/contacts_rate/icons/rate_high.ico index 8c54d39..ad5fa6a 100644 Binary files a/contacts_rate/icons/rate_high.ico and b/contacts_rate/icons/rate_high.ico differ diff --git a/contacts_rate/icons/rate_low.ico b/contacts_rate/icons/rate_low.ico index fdf1fce..66a340d 100644 Binary files a/contacts_rate/icons/rate_low.ico and b/contacts_rate/icons/rate_low.ico differ diff --git a/contacts_rate/icons/rate_med.ico b/contacts_rate/icons/rate_med.ico index 1ba52c4..2b3220d 100644 Binary files a/contacts_rate/icons/rate_med.ico and b/contacts_rate/icons/rate_med.ico differ diff --git a/contacts_rate/main.cpp b/contacts_rate/main.cpp index 5b85548..41c7efa 100644 --- a/contacts_rate/main.cpp +++ b/contacts_rate/main.cpp @@ -61,7 +61,7 @@ extern int onOptInitialise(WPARAM wParam, LPARAM lParam); PLUGININFOEX pluginInfo={ sizeof(PLUGININFOEX), "Contact`s Rate", - PLUGIN_MAKE_VERSION(0,0,2,0), + PLUGIN_MAKE_VERSION(0,0,2,1), "Show rating of contact in contact list (if presents).", "Kildor, Thief", "kostia@ngs.ru", @@ -74,20 +74,6 @@ PLUGININFOEX pluginInfo={ }; -PLUGININFO oldpluginInfo={ - sizeof(PLUGININFO), - pluginInfo.shortName, - pluginInfo.version, - pluginInfo.description, - pluginInfo.author, - pluginInfo.authorEmail, - pluginInfo.copyright, - pluginInfo.homepage, - pluginInfo.flags, - pluginInfo.replacesDefaultModule -}; - - extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) { g_hInst = hinstDLL; @@ -99,19 +85,13 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda { if (mirandaVersion < PLUGIN_MAKE_VERSION(0, 8, 0, 29)) { - MessageBoxA( NULL, "The plugin requires Miranda IM 0.8.0.29 or later for correct applying its preferences.", "Contact` Rate", + MessageBox( NULL, TranslateT("The plugin requires Miranda IM 0.8.0.29 or later for correct applying its preferences."), TranslateT("Contact` Rate"), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST ); } return &pluginInfo; } -extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) -{ - return &oldpluginInfo; -} - - extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) { static const MUUID interfaces[] = {MIID_CONTACTSRATE, MIID_LAST}; diff --git a/contacts_rate/options.cpp b/contacts_rate/options.cpp index 3f591a0..55b4aca 100644 --- a/contacts_rate/options.cpp +++ b/contacts_rate/options.cpp @@ -112,7 +112,7 @@ BOOL CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara usedClist = clist_nicer; // szAdvancedIcons = szAdvancedIconsNicer; cAdvancedIcons = SIZEOF(szAdvancedIconsNicer); - SendDlgItemMessage(hwndDlg,IDC_USED_CLIST, WM_SETTEXT,0,(LPARAM)_T("Your clist: nicer")); + SendDlgItemMessage(hwndDlg,IDC_USED_CLIST, WM_SETTEXT,0,(LPARAM)TranslateT("Your clist: nicer")); } else { @@ -120,7 +120,7 @@ BOOL CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara cAdvancedIcons = SIZEOF(szAdvancedIconsModern) - 1; // mw doesn`t have last modern extraicon // SendDlgItemMessage(hwndDlg,IDC_USED_CLIST, WM_SETTEXT,0,(LPARAM)_T("Your clist: mw")); } - SendDlgItemMessage(hwndDlg,IDC_NOTMODERN_WARNING, WM_SETTEXT,0,(LPARAM)_T("Warning: your contact list plugin doesn`t have ability to sort contacts by rate.")); + SendDlgItemMessage(hwndDlg,IDC_NOTMODERN_WARNING, WM_SETTEXT,0,(LPARAM)TranslateT("Warning: your contact list plugin doesn`t have ability to sort contacts by rate.")); ShowWindow(GetDlgItem(hwndDlg, IDC_NOTMODERN_WARNING), SW_SHOW); } } @@ -128,7 +128,7 @@ BOOL CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara { cAdvancedIcons = 0; // SendDlgItemMessage(hwndDlg,IDC_USED_CLIST, WM_SETTEXT,0,(LPARAM)_T("Your clist: classic")); - SendDlgItemMessage(hwndDlg,IDC_NOTMODERN_WARNING, WM_SETTEXT,0,(LPARAM)_T("Warning: classic contact list plugin doesn`t have ability to use extraicons")); + SendDlgItemMessage(hwndDlg,IDC_NOTMODERN_WARNING, WM_SETTEXT,0,(LPARAM)TranslateT("Warning: classic contact list plugin doesn`t have ability to use extraicons")); ShowWindow(GetDlgItem(hwndDlg, IDC_NOTMODERN_WARNING), SW_SHOW); EnableWindow(GetDlgItem(hwndDlg, IDC_ADVICON), 0); } diff --git a/contacts_rate/rate.sln b/contacts_rate/rate.sln deleted file mode 100644 index 99b1f7e..0000000 --- a/contacts_rate/rate.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual C++ Express 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rate", "rate.vcxproj", "{DB315D7D-00BB-43B2-93A6-0430CA2B9F28}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Debug|Win32.ActiveCfg = Debug|Win32 - {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Debug|Win32.Build.0 = Debug|Win32 - {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Release|Win32.ActiveCfg = Release|Win32 - {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/contacts_rate/rate.vcproj b/contacts_rate/rate.vcproj deleted file mode 100644 index f96dc83..0000000 --- a/contacts_rate/rate.vcproj +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/contacts_rate/rate.vcxproj b/contacts_rate/rate.vcxproj deleted file mode 100644 index b3d1b00..0000000 --- a/contacts_rate/rate.vcxproj +++ /dev/null @@ -1,111 +0,0 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - - {DB315D7D-00BB-43B2-93A6-0430CA2B9F28} - Win32Proj - - - - DynamicLibrary - MultiByte - true - - - DynamicLibrary - MultiByte - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - true - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - false - - - - Disabled - ../../include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebug - - - Level3 - EditAndContinue - - - true - $(OutDir)authstate.pdb - Windows - 0x22620000 - $(OutDir)authstate.lib - MachineX86 - - - - - MinSpace - ../../include;../../miranda/miranda/include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) - MultiThreaded - - - Level3 - ProgramDatabase - - - NotSet - true - Windows - true - true - 0x22620000 - $(OutDir)authstate.lib - MachineX86 - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/contacts_rate/rate.vcxproj.filters b/contacts_rate/rate.vcxproj.filters deleted file mode 100644 index 5318863..0000000 --- a/contacts_rate/rate.vcxproj.filters +++ /dev/null @@ -1,58 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;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 - - - {629d9113-01ed-4da4-8f68-76e949ebdb7b} - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - - - Resource Files - - - - - Resource Files - - - Resource Files - - - Resource Files - - - Docs - - - Docs - - - \ No newline at end of file diff --git a/contacts_rate/rate10.vcxproj b/contacts_rate/rate10.vcxproj new file mode 100644 index 0000000..b3d1b00 --- /dev/null +++ b/contacts_rate/rate10.vcxproj @@ -0,0 +1,111 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {DB315D7D-00BB-43B2-93A6-0430CA2B9F28} + Win32Proj + + + + DynamicLibrary + MultiByte + true + + + DynamicLibrary + MultiByte + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + $(SolutionDir)$(Configuration)/Plugins\ + $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + true + $(SolutionDir)$(Configuration)/Plugins\ + $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ + false + + + + Disabled + ../../include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + + + Level3 + EditAndContinue + + + true + $(OutDir)authstate.pdb + Windows + 0x22620000 + $(OutDir)authstate.lib + MachineX86 + + + + + MinSpace + ../../include;../../miranda/miranda/include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;%(PreprocessorDefinitions) + MultiThreaded + + + Level3 + ProgramDatabase + + + NotSet + true + Windows + true + true + 0x22620000 + $(OutDir)authstate.lib + MachineX86 + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/contacts_rate/rate_10.sln b/contacts_rate/rate_10.sln new file mode 100644 index 0000000..99b1f7e --- /dev/null +++ b/contacts_rate/rate_10.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual C++ Express 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rate", "rate.vcxproj", "{DB315D7D-00BB-43B2-93A6-0430CA2B9F28}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Debug|Win32.ActiveCfg = Debug|Win32 + {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Debug|Win32.Build.0 = Debug|Win32 + {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Release|Win32.ActiveCfg = Release|Win32 + {DB315D7D-00BB-43B2-93A6-0430CA2B9F28}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/contacts_rate/rate_10.vcxproj.filters b/contacts_rate/rate_10.vcxproj.filters new file mode 100644 index 0000000..5318863 --- /dev/null +++ b/contacts_rate/rate_10.vcxproj.filters @@ -0,0 +1,58 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;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 + + + {629d9113-01ed-4da4-8f68-76e949ebdb7b} + + + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + + + Resource Files + + + + + Resource Files + + + Resource Files + + + Resource Files + + + Docs + + + Docs + + + \ No newline at end of file diff --git a/contacts_rate/rate_7.vcproj b/contacts_rate/rate_7.vcproj new file mode 100644 index 0000000..f96dc83 --- /dev/null +++ b/contacts_rate/rate_7.vcproj @@ -0,0 +1,170 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/contacts_rate/rate_9.vcproj b/contacts_rate/rate_9.vcproj new file mode 100644 index 0000000..7ba11d2 --- /dev/null +++ b/contacts_rate/rate_9.vcproj @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3