diff options
-rw-r--r-- | contacts_rate/docs/Rate-readme.txt | 5 | ||||
-rw-r--r-- | contacts_rate/docs/rate.txt | 2 | ||||
-rw-r--r-- | contacts_rate/icons/rate_high.ico | bin | 2550 -> 1150 bytes | |||
-rw-r--r-- | contacts_rate/icons/rate_low.ico | bin | 2550 -> 1150 bytes | |||
-rw-r--r-- | contacts_rate/icons/rate_med.ico | bin | 2550 -> 1150 bytes | |||
-rw-r--r-- | contacts_rate/main.cpp | 24 | ||||
-rw-r--r-- | contacts_rate/options.cpp | 6 | ||||
-rw-r--r-- | contacts_rate/rate10.vcxproj (renamed from contacts_rate/rate.vcxproj) | 0 | ||||
-rw-r--r-- | contacts_rate/rate_10.sln (renamed from contacts_rate/rate.sln) | 0 | ||||
-rw-r--r-- | contacts_rate/rate_10.vcxproj.filters (renamed from contacts_rate/rate.vcxproj.filters) | 0 | ||||
-rw-r--r-- | contacts_rate/rate_7.vcproj (renamed from contacts_rate/rate.vcproj) | 0 | ||||
-rw-r--r-- | contacts_rate/rate_9.vcproj | 258 |
12 files changed, 268 insertions, 27 deletions
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 Binary files differindex 8c54d39..ad5fa6a 100644 --- a/contacts_rate/icons/rate_high.ico +++ b/contacts_rate/icons/rate_high.ico diff --git a/contacts_rate/icons/rate_low.ico b/contacts_rate/icons/rate_low.ico Binary files differindex fdf1fce..66a340d 100644 --- a/contacts_rate/icons/rate_low.ico +++ b/contacts_rate/icons/rate_low.ico diff --git a/contacts_rate/icons/rate_med.ico b/contacts_rate/icons/rate_med.ico Binary files differindex 1ba52c4..2b3220d 100644 --- a/contacts_rate/icons/rate_med.ico +++ b/contacts_rate/icons/rate_med.ico 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.vcxproj b/contacts_rate/rate10.vcxproj index b3d1b00..b3d1b00 100644 --- a/contacts_rate/rate.vcxproj +++ b/contacts_rate/rate10.vcxproj diff --git a/contacts_rate/rate.sln b/contacts_rate/rate_10.sln index 99b1f7e..99b1f7e 100644 --- a/contacts_rate/rate.sln +++ b/contacts_rate/rate_10.sln diff --git a/contacts_rate/rate.vcxproj.filters b/contacts_rate/rate_10.vcxproj.filters index 5318863..5318863 100644 --- a/contacts_rate/rate.vcxproj.filters +++ b/contacts_rate/rate_10.vcxproj.filters diff --git a/contacts_rate/rate.vcproj b/contacts_rate/rate_7.vcproj index f96dc83..f96dc83 100644 --- a/contacts_rate/rate.vcproj +++ b/contacts_rate/rate_7.vcproj 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 @@ +<?xml version="1.0" encoding="windows-1251"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9,00"
+ Name="rate"
+ ProjectGUID="{DB315D7D-00BB-43B2-93A6-0430CA2B9F28}"
+ RootNamespace="rate"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="131072"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
+ IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
+ ConfigurationType="2"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ CharacterSet="2"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="../../include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="1"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="false"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(OutDir)/authstate.pdb"
+ SubSystem="2"
+ BaseAddress="0x22620000"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ ImportLibrary="$(OutDir)/authstate.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)/Release Unicode/Plugins"
+ IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
+ ConfigurationType="2"
+ InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
+ CharacterSet="2"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="3"
+ InlineFunctionExpansion="2"
+ EnableIntrinsicFunctions="true"
+ FavorSizeOrSpeed="2"
+ OmitFramePointers="false"
+ EnableFiberSafeOptimizations="false"
+ AdditionalIncludeDirectories="../../include,../../miranda/miranda/include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;AUTHSTATE_EXPORTS;_CRT_SECURE_NO_DEPRECATE"
+ RuntimeLibrary="0"
+ EnableEnhancedInstructionSet="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="false"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ ShowProgress="0"
+ OutputFile="D:\Miranda\plugins\$(ProjectName).dll"
+ LinkIncremental="1"
+ GenerateDebugInformation="true"
+ ProgramDatabaseFile="$(IntDir)\$(TargetName).pdb"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ BaseAddress="0x22620000"
+ RandomizedBaseAddress="1"
+ DataExecutionPrevention="0"
+ ImportLibrary="$(IntDir)/authstate.lib"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ OutputDocumentFile="$(IntDir)$(TargetName).xml"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ OutputFile="$(IntDir)/$(ProjectName).bsc"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine=""
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\main.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\options.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\commonheaders.h"
+ >
+ </File>
+ <File
+ RelativePath=".\resource.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ <File
+ RelativePath=".\rate.rc"
+ >
+ </File>
+ <File
+ RelativePath=".\icons\rate_high.ico"
+ >
+ </File>
+ <File
+ RelativePath=".\icons\rate_low.ico"
+ >
+ </File>
+ <File
+ RelativePath=".\icons\rate_med.ico"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Docs"
+ >
+ <File
+ RelativePath=".\docs\Rate-readme.txt"
+ >
+ </File>
+ <File
+ RelativePath=".\docs\rate.txt"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
|