diff options
-rw-r--r-- | bin10/mir_full.sln | 10 | ||||
-rw-r--r-- | bin10/mir_full_pro.sln | 33 | ||||
-rw-r--r-- | bin11/mir_full.sln | 12 | ||||
-rw-r--r-- | plugins/Gender/docs/gender-readme.txt | 62 | ||||
-rw-r--r-- | plugins/Gender/gender_10.vcxproj | 186 | ||||
-rw-r--r-- | plugins/Gender/gender_11.vcxproj | 190 | ||||
-rw-r--r-- | plugins/Gender/res/female.ico | bin | 2550 -> 0 bytes | |||
-rw-r--r-- | plugins/Gender/res/gender.ico | bin | 2550 -> 0 bytes | |||
-rw-r--r-- | plugins/Gender/res/gender.rc | 123 | ||||
-rw-r--r-- | plugins/Gender/res/male.ico | bin | 2550 -> 0 bytes | |||
-rw-r--r-- | plugins/Gender/src/commonheaders.h | 65 | ||||
-rw-r--r-- | plugins/Gender/src/main.cpp | 323 | ||||
-rw-r--r-- | plugins/Gender/src/options.cpp | 94 | ||||
-rw-r--r-- | plugins/Gender/src/resource.h | 21 |
14 files changed, 12 insertions, 1107 deletions
diff --git a/bin10/mir_full.sln b/bin10/mir_full.sln index 778d0b4f61..e70a5ef097 100644 --- a/bin10/mir_full.sln +++ b/bin10/mir_full.sln @@ -76,8 +76,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FltContacts", "..\plugins\F EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folders", "..\plugins\Folders\folders_10.vcxproj", "{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Gender", "..\plugins\Gender\gender_10.vcxproj", "{9DF8913A-99A3-40D2-86FE-585EBDDCABB2}"
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LinkList", "..\plugins\HistoryLinkListPlus\linklist_10.vcxproj", "{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HistorySweeperLight", "..\plugins\HistorySweeperLight\historysweeperlight_10.vcxproj", "{9DE1F0B0-B9D1-4681-82E7-13CC3E047445}"
@@ -647,14 +645,6 @@ Global {019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|Win32.Build.0 = Release|Win32
{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|x64.ActiveCfg = Release|x64
{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|x64.Build.0 = Release|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|Win32.ActiveCfg = Debug|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|Win32.Build.0 = Debug|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|x64.ActiveCfg = Debug|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|x64.Build.0 = Debug|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|Win32.ActiveCfg = Release|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|Win32.Build.0 = Release|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|x64.ActiveCfg = Release|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|x64.Build.0 = Release|x64
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|Win32.ActiveCfg = Debug|Win32
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|Win32.Build.0 = Debug|Win32
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|x64.ActiveCfg = Debug|x64
diff --git a/bin10/mir_full_pro.sln b/bin10/mir_full_pro.sln index 5d5b2a3133..da7bc0cfc1 100644 --- a/bin10/mir_full_pro.sln +++ b/bin10/mir_full_pro.sln @@ -76,8 +76,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FltContacts", "..\plugins\F EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folders", "..\plugins\Folders\folders_10.vcxproj", "{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Gender", "..\plugins\Gender\gender_10.vcxproj", "{9DF8913A-99A3-40D2-86FE-585EBDDCABB2}"
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LinkList", "..\plugins\HistoryLinkListPlus\linklist_10.vcxproj", "{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HistorySweeperLight", "..\plugins\HistorySweeperLight\historysweeperlight_10.vcxproj", "{9DE1F0B0-B9D1-4681-82E7-13CC3E047445}"
@@ -683,14 +681,6 @@ Global {019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|Win32.Build.0 = Release|Win32
{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|x64.ActiveCfg = Release|x64
{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|x64.Build.0 = Release|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|Win32.ActiveCfg = Debug|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|Win32.Build.0 = Debug|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|x64.ActiveCfg = Debug|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|x64.Build.0 = Debug|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|Win32.ActiveCfg = Release|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|Win32.Build.0 = Release|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|x64.ActiveCfg = Release|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|x64.Build.0 = Release|x64
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|Win32.ActiveCfg = Debug|Win32
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|Win32.Build.0 = Debug|Win32
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|x64.ActiveCfg = Debug|x64
@@ -1716,7 +1706,6 @@ Global {F4F2FD25-1553-FB72-F695-0701D20C3168} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{2D0B4CB0-3ACA-4612-B745-FF3050E1500A} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{9290A9CC-3FDA-4FD6-A8A2-04AD4BA1C856} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{214F211F-1A2B-4F79-8993-B8DEE2EF7441} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{210DD88D-649B-4695-8C5F-898A4F60A8CE} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{C09A0E86-E7C3-4229-B817-C86A0AE8ACE5} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
@@ -1730,17 +1719,6 @@ Global {AE677E3A-DAC5-42FD-8762-47370C57639B} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{EEB57129-946C-4B98-8856-FDA501AE2A5E} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
{AF7D71D4-19B7-42B8-91DD-701F155AC4AE} = {03FBFF5D-0539-4C51-B7C2-B8CFF9DEA649}
- {8CEBD7AC-CD02-4BEC-B889-A7243F3E5DD8} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {D726A7E5-CF4C-4CF2-A2D3-073DECEC0260} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {EFD45F48-63D5-48AE-96CD-8ADB3545A4EE} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {1948EAEA-4C25-4F6B-AD9E-5891F656EADA} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {63E05ECA-0A63-479E-86BD-2CAF53869BDA} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {E37561EB-B9C5-4215-9FF9-DB559916FBA2} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {A9265E36-7F2D-440C-BF3E-F447FDB6200F} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {6A1969EA-9657-4828-93E0-8D21A970F868} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {2E0A2793-94C3-82E7-2AB0-FD421816CFBF} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {F29CCB9B-79CF-4341-AA05-3626A036D3E3} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
- {3933E789-D185-41DC-8169-9FF4365B6015} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
{0007BE9F-DD4D-4E9B-B1C8-C5049538F862} = {0EF566FB-09FC-4F4D-9944-A0CDC82DF626}
{DD76B998-ED0D-4BFD-9660-3ADC3A334872} = {0EF566FB-09FC-4F4D-9944-A0CDC82DF626}
{27CA5499-B3F2-4FB6-8414-651819B0B96C} = {0EF566FB-09FC-4F4D-9944-A0CDC82DF626}
@@ -1762,6 +1740,17 @@ Global {88E47CF7-7B40-4312-A35A-9B28885FFED9} = {76177119-A395-4739-AECE-25D4864198AD}
{F29D0C8D-141A-43CF-86B2-34A04653F8D4} = {76177119-A395-4739-AECE-25D4864198AD}
{0FF6989B-880A-4C3F-B69D-AFF93296044D} = {76177119-A395-4739-AECE-25D4864198AD}
+ {D726A7E5-CF4C-4CF2-A2D3-073DECEC0260} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {EFD45F48-63D5-48AE-96CD-8ADB3545A4EE} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {1948EAEA-4C25-4F6B-AD9E-5891F656EADA} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {63E05ECA-0A63-479E-86BD-2CAF53869BDA} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {E37561EB-B9C5-4215-9FF9-DB559916FBA2} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {A9265E36-7F2D-440C-BF3E-F447FDB6200F} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {6A1969EA-9657-4828-93E0-8D21A970F868} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {2E0A2793-94C3-82E7-2AB0-FD421816CFBF} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {F29CCB9B-79CF-4341-AA05-3626A036D3E3} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {8CEBD7AC-CD02-4BEC-B889-A7243F3E5DD8} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
+ {3933E789-D185-41DC-8169-9FF4365B6015} = {99B819F8-65D9-45BC-B0C4-8C2B0F63AD46}
{66503A70-B1E8-4545-B4FF-2108DFB40C72} = {74981ED5-7A15-4C46-AECF-DA229AF9CC9D}
{D548A54E-310B-4A86-A545-64BDD5748745} = {74981ED5-7A15-4C46-AECF-DA229AF9CC9D}
{1BD5E5B9-A750-4CF8-A370-0FBD40A92CB2} = {74981ED5-7A15-4C46-AECF-DA229AF9CC9D}
diff --git a/bin11/mir_full.sln b/bin11/mir_full.sln index 2ed18e5eb3..e60dda6695 100644 --- a/bin11/mir_full.sln +++ b/bin11/mir_full.sln @@ -1,5 +1,5 @@ Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
+# Visual Studio Express 2012 for Windows Desktop
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AVS", "..\plugins\AVS\avs_11.vcxproj", "{7711F563-6473-4ABD-B5E3-477CE8384AD6}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Zlib", "..\plugins\Zlib\zlib_11.vcxproj", "{E2A369CD-EDA3-414F-8AD0-E732CD7EE68C}"
@@ -76,8 +76,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FltContacts", "..\plugins\F EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Folders", "..\plugins\Folders\folders_11.vcxproj", "{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Gender", "..\plugins\Gender\gender_11.vcxproj", "{9DF8913A-99A3-40D2-86FE-585EBDDCABB2}"
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LinkList", "..\plugins\HistoryLinkListPlus\linklist_11.vcxproj", "{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HistorySweeperLight", "..\plugins\HistorySweeperLight\historysweeperlight_11.vcxproj", "{9DE1F0B0-B9D1-4681-82E7-13CC3E047445}"
@@ -647,14 +645,6 @@ Global {019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|Win32.Build.0 = Release|Win32
{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|x64.ActiveCfg = Release|x64
{019FAEBD-BD7B-4470-A15B-A7DB1787E6BD}.Release|x64.Build.0 = Release|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|Win32.ActiveCfg = Debug|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|Win32.Build.0 = Debug|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|x64.ActiveCfg = Debug|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Debug|x64.Build.0 = Debug|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|Win32.ActiveCfg = Release|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|Win32.Build.0 = Release|Win32
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|x64.ActiveCfg = Release|x64
- {9DF8913A-99A3-40D2-86FE-585EBDDCABB2}.Release|x64.Build.0 = Release|x64
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|Win32.ActiveCfg = Debug|Win32
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|Win32.Build.0 = Debug|Win32
{850EC838-0EAD-45EB-6F1B-16DC90DCE18D}.Debug|x64.ActiveCfg = Debug|x64
diff --git a/plugins/Gender/docs/gender-readme.txt b/plugins/Gender/docs/gender-readme.txt deleted file mode 100644 index 9b61305da1..0000000000 --- a/plugins/Gender/docs/gender-readme.txt +++ /dev/null @@ -1,62 +0,0 @@ -Gender plugin for Miranda IM (http://miranda-im.org)
-Homepage: http://thief.miranda.im
-Version: 0.0.2.1 (c) 2006-2011 Thief
-Idea by nile, icons by a0x
-
-This plugin shows gender icon in contact list. Nothing more ;)
-
-Changes:
-
-v0.0.2.1
-+ 64bit build
-+ internal unicode support
-- removed old PLUGININFO support
-
-v0.0.2.0
-+ added support for extraicons service plugin
-
-v0.0.1.9
-* gender key is now written to "UserInfo" module instead of protocol (the key doesn't get deleted on info update) (ticket #32)
-+ option to draw an icon when no gender info found (ticket #33)
-* look up for gender key in "UserInfo" module and then in protocol
-* other small fixes
-
-v0.0.1.8
-- some changes to icons handling, now Miranda 0.7 is required
-+ added possibility to disable contact list icon
-* fixed service function
-
-v0.0.1.7
-- version bump (to allow update from 0.0.1.6 previously released as beta)
-
-v0.0.1.6
-+ metacontacts support (thanks sje for clearing things out)
-+ added a service for retrieving gender icon for a contact
-
-v0.0.1.5
-* changed icons - now using cute icons by a0x (thanks!)
-
-v0.0.1.4
-+ added uuid (FB1C17E0-77FC-45A7-9C8B-E2BEF4F56B28) and MIID_GENDER interface for Miranda 0.8.x compatibility
-* make menu subitem checked when gender key is found
-
-v0.0.1.3
-! addons release
-* hide menu items for chatrooms and non-IM protocols (like weather, etc)
-* icons changes in icolib reflect menuitems icons
-+ option to disable menu items
-
-v0.0.1.2
-+ plugin now checks "UserInfo" module if gender key was not found in protocol module (FR by BraVo123)
-- MinGW build
-
-v0.0.1.1
-+ menuitems to set gender (FR by Shaggoth)
-+ langpack and readme
-Happy New Year! :)
-
-v0.0.1.0
-- initial release
-
-Plugin is released under GPL licence.
-http://www.gnu.org/copyleft/gpl.html
\ No newline at end of file diff --git a/plugins/Gender/gender_10.vcxproj b/plugins/Gender/gender_10.vcxproj deleted file mode 100644 index d0c037790d..0000000000 --- a/plugins/Gender/gender_10.vcxproj +++ /dev/null @@ -1,186 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{9DF8913A-99A3-40D2-86FE-585EBDDCABB2}</ProjectGuid>
- <ProjectName>Gender</ProjectName>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>Full</Optimization>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>Level3</WarningLevel>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <Optimization>Full</Optimization>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>Level3</WarningLevel>
- <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
- <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="src\main.cpp" />
- <ClCompile Include="src\options.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\commonheaders.h" />
- <ClInclude Include="src\resource.h" />
- </ItemGroup>
- <ItemGroup>
- <None Include="docs\gender-readme.txt" />
- <None Include="docs\gender-translate.txt" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\gender.rc" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
\ No newline at end of file diff --git a/plugins/Gender/gender_11.vcxproj b/plugins/Gender/gender_11.vcxproj deleted file mode 100644 index 651a8e08a7..0000000000 --- a/plugins/Gender/gender_11.vcxproj +++ /dev/null @@ -1,190 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <ItemGroup Label="ProjectConfigurations">
- <ProjectConfiguration Include="Debug|Win32">
- <Configuration>Debug</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Debug|x64">
- <Configuration>Debug</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|Win32">
- <Configuration>Release</Configuration>
- <Platform>Win32</Platform>
- </ProjectConfiguration>
- <ProjectConfiguration Include="Release|x64">
- <Configuration>Release</Configuration>
- <Platform>x64</Platform>
- </ProjectConfiguration>
- </ItemGroup>
- <PropertyGroup Label="Globals">
- <ProjectGuid>{9DF8913A-99A3-40D2-86FE-585EBDDCABB2}</ProjectGuid>
- <ProjectName>Gender</ProjectName>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <PlatformToolset>v110</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <WholeProgramOptimization>true</WholeProgramOptimization>
- <PlatformToolset>v110</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v110</PlatformToolset>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
- <ConfigurationType>DynamicLibrary</ConfigurationType>
- <CharacterSet>Unicode</CharacterSet>
- <PlatformToolset>v110</PlatformToolset>
- </PropertyGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
- <ImportGroup Label="ExtensionSettings">
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
- <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
- </ImportGroup>
- <PropertyGroup Label="UserMacros" />
- <PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
- <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
- <IgnoreImportLibrary>true</IgnoreImportLibrary>
- </PropertyGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <MinimalRebuild>true</MinimalRebuild>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
- <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
- <ClCompile>
- <Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
- <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
- <WarningLevel>Level3</WarningLevel>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
- <ClCompile>
- <Optimization>Full</Optimization>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>Level3</WarningLevel>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <ClCompile>
- <Optimization>Full</Optimization>
- <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;GENDER2_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <WarningLevel>Level3</WarningLevel>
- <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
- <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
- <ExceptionHandling>false</ExceptionHandling>
- </ClCompile>
- <Link>
- <SubSystem>Windows</SubSystem>
- <OptimizeReferences>true</OptimizeReferences>
- <EnableCOMDATFolding>true</EnableCOMDATFolding>
- <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
- <GenerateDebugInformation>true</GenerateDebugInformation>
- <RandomizedBaseAddress>false</RandomizedBaseAddress>
- <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin11\lib</AdditionalLibraryDirectories>
- <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
- </Link>
- <ResourceCompile>
- <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
- </ResourceCompile>
- </ItemDefinitionGroup>
- <ItemGroup>
- <ClCompile Include="src\main.cpp" />
- <ClCompile Include="src\options.cpp" />
- </ItemGroup>
- <ItemGroup>
- <ClInclude Include="src\commonheaders.h" />
- <ClInclude Include="src\resource.h" />
- </ItemGroup>
- <ItemGroup>
- <None Include="docs\gender-readme.txt" />
- <None Include="docs\gender-translate.txt" />
- </ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="res\gender.rc" />
- </ItemGroup>
- <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
- <ImportGroup Label="ExtensionTargets">
- </ImportGroup>
-</Project>
\ No newline at end of file diff --git a/plugins/Gender/res/female.ico b/plugins/Gender/res/female.ico Binary files differdeleted file mode 100644 index fe1cbd2bce..0000000000 --- a/plugins/Gender/res/female.ico +++ /dev/null diff --git a/plugins/Gender/res/gender.ico b/plugins/Gender/res/gender.ico Binary files differdeleted file mode 100644 index 930c34279c..0000000000 --- a/plugins/Gender/res/gender.ico +++ /dev/null diff --git a/plugins/Gender/res/gender.rc b/plugins/Gender/res/gender.rc deleted file mode 100644 index 8497a110e9..0000000000 --- a/plugins/Gender/res/gender.rc +++ /dev/null @@ -1,123 +0,0 @@ -// Microsoft Visual C++ generated resource script.
-//
-#include "..\src\resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "afxres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// Ukrainian resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_UKR)
-#ifdef _WIN32
-LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
-#pragma code_page(1251)
-#endif //_WIN32
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_MALE ICON "male.ico"
-IDI_FEMALE ICON "female.ico"
-IDI_UNDEF ICON "gender.ico"
-#endif // Ukrainian 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
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "..\\src\\resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#include ""afxres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_GENDER_OPT DIALOGEX 0, 0, 314, 240
-STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD
-FONT 8, "MS Shell Dlg", 0, 0, 0x0
-BEGIN
- GROUPBOX "Plugin settings",IDC_STATIC,46,78,222,100
- CONTROL "Enable menu items",IDC_MENUITEMS,"Button",
- BS_AUTOCHECKBOX | WS_TABSTOP,76,122,167,12
- CONTROL "Draw an icon when gender info not found",
- IDC_DRAWUNDEFICON,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
- 76,138,167,12
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
-BEGIN
- IDD_GENDER_OPT, DIALOG
- BEGIN
- LEFTMARGIN, 7
- RIGHTMARGIN, 307
- TOPMARGIN, 7
- BOTTOMMARGIN, 233
- END
-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/Gender/res/male.ico b/plugins/Gender/res/male.ico Binary files differdeleted file mode 100644 index ebd0420554..0000000000 --- a/plugins/Gender/res/male.ico +++ /dev/null diff --git a/plugins/Gender/src/commonheaders.h b/plugins/Gender/src/commonheaders.h deleted file mode 100644 index 2d588792e5..0000000000 --- a/plugins/Gender/src/commonheaders.h +++ /dev/null @@ -1,65 +0,0 @@ -/*
- Show Contact Gender plugin for Miranda-IM (www.miranda-im.org)
- (c) 2006-2011 by Thief
-
- 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
-
- File name : $URL: http://svn.miranda.im/mainrepo/gender/trunk/commonheaders.h $
- Revision : $Rev: 1687 $
- Last change on : $Date: 2011-01-22 18:44:21 +0200 (Сб, 22 янв 2011) $
- Last change by : $Author: Thief $
-
-*/
-
-#ifndef COMMHEADERS_H
-#define COMMHEADERS_H
-
-#define _CRT_SECURE_NO_WARNINGS
-#define MIRANDA_VER 0x0A00
-
-#include <stdio.h> //needed by m_utils.h
-#include <stddef.h> // needed by m_icolib.h > r9256
-
-#include <windows.h>
-#include <commctrl.h>
-
-//Miranda API headers
-#include <newpluginapi.h>
-#include <m_database.h>
-#include <m_system.h>
-#include <m_protocols.h>
-#include <m_protosvc.h>
-#include <m_utils.h>
-#include <m_clist.h>
-#include <m_options.h>
-#include <m_langpack.h>
-#include <m_genmenu.h>
-#include <m_icolib.h>
-#include <m_cluiframes.h>
-#include <win2k.h>
-
-//Gender SDK
-#include "m_gender.h"
-
-//Resources
-#include "resource.h"
-
-//external SDK headers
-#include "m_metacontacts.h"
-#include "m_extraicons.h"
-
-#define MODULENAME "Gender"
-
-#endif //COMMHEADERS_H
diff --git a/plugins/Gender/src/main.cpp b/plugins/Gender/src/main.cpp deleted file mode 100644 index fa662d172c..0000000000 --- a/plugins/Gender/src/main.cpp +++ /dev/null @@ -1,323 +0,0 @@ -/*
- Show Contact Gender plugin for Miranda-IM (www.miranda-im.org)
- (c) 2006-2011 by Thief
-
- 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
-
- File name : $URL: http://svn.miranda.im/mainrepo/gender/trunk/main.cpp $
- Revision : $Rev: 1688 $
- Last change on : $Date: 2011-01-22 19:44:43 +0200 (Сб, 22 янв 2011) $
- Last change by : $Author: Thief $
-
-*/
-
-#include "commonheaders.h"
-
-HINSTANCE g_hInst;
-
-static HANDLE hContactMenu = NULL, hContactMenuMale = NULL, hContactMenuFemale = NULL, hContactMenuNotDef = NULL;
-static HANDLE hSetMale = NULL, hSetFemale = NULL, hSetUndef = NULL, hGenderGetIcon = NULL;
-
-HANDLE g_hExtraIcon = NULL;
-
-byte bEnableClistIcon = 1; // do we need clist icon?
-byte bDrawNoGenderIcon = 0; // enable icon when no info?
-byte bContactMenuItems = 1; // do we need a contact menu items?
-byte bMetaAvail = 0; // metacontacts installed?
-int hLangpack;
-
-extern int onOptInitialise(WPARAM wParam, LPARAM lParam);
-
-PLUGININFOEX pluginInfo={
-sizeof(PLUGININFOEX),
- "Show Contact Gender",
- PLUGIN_MAKE_VERSION(0,0,2,1),
- "Shows contacts gender as an icon in contact list.",
- "Thief, idea by nile, icons by a0x",
- "thief@miranda.im",
- "2006-2011 Alexander Turyak",
- "http://miranda-ng.org/",
- UNICODE_AWARE, //doesn't replace anything built-in
- {0xfb1c17e0, 0x77fc, 0x45a7, {0x9c, 0x8b, 0xe2, 0xbe, 0xf4, 0xf5, 0x6b, 0x28}} /* FB1C17E0-77FC-45A7-9C8B-E2BEF4F56B28 */
-};
-
-static IconItem iconList[] =
-{
- { LPGEN("Male"), "male_icon", IDI_MALE },
- { LPGEN("Female"), "female_icon", IDI_FEMALE },
- { LPGEN("No info"), "menu_icon", IDI_UNDEF }
-};
-
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
-{
- g_hInst = hinstDLL;
- return TRUE;
-}
-
-/* 0FF3991A-5505-479D-A2E0-53DD31C6DFA7 */
-#define MIID_GENDER {0x0ff3991a, 0x5505, 0x479d, {0xa2, 0xe0, 0x53, 0xdd, 0x31, 0xc6, 0xdf, 0xa7}}
-
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_GENDER, MIID_LAST};
-
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
-{
- return &pluginInfo;
-}
-
-void setIcon(HANDLE hContact, unsigned int gender)
-{
- char *ico;
- switch (gender) {
- case 77: ico = "male_icon"; break;
- case 70: ico = "female_icon"; break;
- default: ico = (bDrawNoGenderIcon ? "menu_icon" : NULL); break;
- }
- ExtraIcon_SetIcon(g_hExtraIcon, hContact, ico);
-}
-
-int applyExtraImage(HANDLE hContact)
-{
- if (!bEnableClistIcon) return 0;
-
- if (bMetaAvail) {
- HANDLE hMetacontact = (HANDLE)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)hContact, 0);
- if (hMetacontact != NULL)
- hContact = hMetacontact;
- }
-
- char *proto = GetContactProto(hContact);
- if (!proto)
- return 0;
-
- if ( DBGetContactSettingByte(hContact, proto, "ChatRoom", 0))
- return 0;
-
- unsigned int gender = DBGetContactSettingByte(hContact, "UserInfo", "Gender", DBGetContactSettingByte(hContact, proto, "Gender", 0));
-
- setIcon(hContact, gender);
- return 0;
-}
-
-// Returns gender icon for specific contact
-INT_PTR GetIcon(WPARAM wParam, LPARAM lParam)
-{
- char *proto = GetContactProto((HANDLE)wParam);
- unsigned short gender = DBGetContactSettingByte((HANDLE)wParam, "UserInfo", "Gender", DBGetContactSettingByte((HANDLE)wParam, proto, "Gender", 0));
-
- if (gender > 0) {
- if (gender == 77)
- return (INT_PTR)Skin_GetIconByHandle(iconList[0].hIcolib);
- if (gender == 70)
- return (INT_PTR)Skin_GetIconByHandle(iconList[1].hIcolib);
- }
-
- return 0;
-}
-
-int onPrebuildContactMenu(WPARAM wParam, LPARAM lParam)
-{
- char *proto = GetContactProto((HANDLE)wParam);
- if (!proto)
- return 0;
-
- CLISTMENUITEM mi = { sizeof(mi) };
- if (DBGetContactSettingByte((HANDLE)wParam, proto, "ChatRoom", 0) || !(CallProtoService(proto, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_IMSEND))
- mi.flags = CMIM_FLAGS | CMIF_HIDDEN;
- else
- mi.flags = CMIM_FLAGS;
-
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenu, (LPARAM)&mi);
-
- unsigned short gender = DBGetContactSettingByte((HANDLE)wParam, proto, "Gender", DBGetContactSettingByte((HANDLE)wParam, "UserInfo", "Gender", 0));
-
- CLISTMENUITEM mitem = { sizeof(mitem) };
- mitem.flags = CMIM_FLAGS;
-
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenuMale, (LPARAM)&mitem);
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenuFemale, (LPARAM)&mitem);
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenuNotDef, (LPARAM)&mitem);
-
- mitem.flags = CMIM_FLAGS | CMIF_CHECKED;
-
- switch (gender) {
- case 77:
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenuMale, (LPARAM)&mitem);
- break;
- case 70:
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenuFemale, (LPARAM)&mitem);
- break;
- case 0:
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hContactMenuNotDef, (LPARAM)&mitem);
- break;
- }
-
- return 0;
-}
-
-void setGender(HANDLE hContact, unsigned int gender)
-{
- DBWriteContactSettingByte(hContact, "UserInfo", "Gender", gender);
- setIcon(hContact, gender);
-
- int metasnum = (bMetaAvail ? CallService(MS_MC_GETNUMCONTACTS,(WPARAM)hContact,0) : 0);
- for(int i=0; i<metasnum; i++)
- {
- HANDLE hSubContact = (HANDLE)CallService(MS_MC_GETSUBCONTACT, (WPARAM)hContact, i);
- DBWriteContactSettingByte(hSubContact, "UserInfo", "Gender", gender);
- setIcon(hSubContact, gender);
- }
-}
-
-INT_PTR onSetMale(WPARAM wParam,LPARAM lParam)
-{
- setGender((HANDLE)wParam, 77);
- return 0;
-}
-
-INT_PTR onSetFemale(WPARAM wParam,LPARAM lParam)
-{
- setGender((HANDLE)wParam, 70);
- return 0;
-}
-
-INT_PTR onSetUndef(WPARAM wParam,LPARAM lParam)
-{
- DBDeleteContactSetting((HANDLE)wParam, "UserInfo", "Gender");
- applyExtraImage((HANDLE)wParam);
-
- int metasnum = (bMetaAvail ? CallService(MS_MC_GETNUMCONTACTS,wParam,0) : 0);
- for(int i=0; i<metasnum; i++)
- {
- HANDLE hContact = (HANDLE)CallService(MS_MC_GETSUBCONTACT, wParam, i);
- DBDeleteContactSetting(hContact, "UserInfo", "Gender");
- applyExtraImage(hContact);
- }
-
- return 0;
-}
-
-int onModulesLoaded(WPARAM wParam,LPARAM lParam)
-{
- HookEvent(ME_OPT_INITIALISE, onOptInitialise);
- if (bContactMenuItems)
- HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPrebuildContactMenu);
- bMetaAvail = (ServiceExists(MS_MC_GETMETACONTACT) != 0);
-
- //IcoLib support
- Icon_Register(g_hInst, "Gender", iconList, SIZEOF(iconList));
-
- // Adding clist extra icon
- g_hExtraIcon = ExtraIcon_Register("gender", "Gender", "menu_icon");
-
- HANDLE hContact = db_find_first();
- while (hContact != NULL) {
- applyExtraImage(hContact);
- hContact = db_find_next(hContact);
- }
-
- // Adding menu items, submenu even if clist supports that
- if (bContactMenuItems)
- {
- if(ServiceExists(MS_CLIST_MENUBUILDSUBGROUP))
- {
- CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIF_ROOTPOPUP | CMIF_ICONFROMICOLIB | CMIF_TCHAR;
- mi.icolibItem = iconList[2].hIcolib;
- mi.pszPopupName = (char*)-1;
- mi.position = 203;
- mi.ptszName = LPGENT("Set Gender");
- mi.pszService = NULL;
- hContactMenu = Menu_AddContactMenuItem(&mi);
-
- mi.flags = CMIF_CHILDPOPUP | CMIF_ICONFROMICOLIB | CMIF_TCHAR;
- mi.position = 1001;
- mi.pszPopupName = (char*)hContactMenu;
-
- mi.ptszName = LPGENT("Male");
- mi.icolibItem = iconList[0].hIcolib;
- mi.pszService = "Gender/MenuItemSetMale";
- hContactMenuMale = Menu_AddContactMenuItem(&mi);
-
- mi.ptszName = LPGENT("Female");
- mi.icolibItem = iconList[1].hIcolib;
- mi.pszService = "Gender/MenuItemSetFemale";
- hContactMenuFemale = Menu_AddContactMenuItem(&mi);
-
- mi.ptszName = LPGENT("Undefined");
- mi.hIcon = NULL;
- mi.pszService = "Gender/MenuItemSetUndef";
- hContactMenuNotDef = Menu_AddContactMenuItem(&mi);
- }
- else
- {
- CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIF_ICONFROMICOLIB | CMIF_TCHAR;
- mi.position = 1001;
- mi.ptszName = LPGENT("Set Male");
- mi.icolibItem = iconList[0].hIcolib;
- mi.pszService = "Gender/MenuItemSetMale";
- hContactMenuMale = Menu_AddContactMenuItem(&mi);
-
- mi.flags = CMIF_ICONFROMICOLIB | CMIF_TCHAR;
- mi.position = 1002;
- mi.ptszName = LPGENT("Set Female");
- mi.icolibItem = iconList[1].hIcolib;
- mi.pszService = "Gender/MenuItemSetFemale";
- hContactMenuFemale = Menu_AddContactMenuItem(&mi);
-
- mi.flags = CMIF_TCHAR;
- mi.position = 1003;
- mi.ptszName = LPGENT("Set Undefined");
- mi.pszService = "Gender/MenuItemSetUndef";
- mi.hIcon = NULL;
- hContactMenuNotDef = Menu_AddContactMenuItem(&mi);
- }
- }
-
- return 0;
-}
-
-int onSystemOKToExit(WPARAM wParam,LPARAM lParam)
-{
- DestroyServiceFunction(hSetMale);
- DestroyServiceFunction(hSetFemale);
- DestroyServiceFunction(hSetUndef);
- DestroyServiceFunction(hGenderGetIcon);
- return 0;
-}
-
-extern "C" int __declspec(dllexport) Load(void)
-{
- mir_getLP(&pluginInfo);
-
- HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
- HookEvent(ME_SYSTEM_OKTOEXIT,onSystemOKToExit);
-
- bEnableClistIcon = DBGetContactSettingByte(NULL, MODULENAME, "ClistIcon", 1);
- bContactMenuItems = DBGetContactSettingByte(NULL, MODULENAME, "MenuItems", 1);
- bDrawNoGenderIcon = DBGetContactSettingByte(NULL, MODULENAME, "NoGenderIcon", 0);
-
- hSetMale = CreateServiceFunction("Gender/MenuItemSetMale", onSetMale);
- hSetFemale = CreateServiceFunction("Gender/MenuItemSetFemale", onSetFemale);
- hSetUndef = CreateServiceFunction("Gender/MenuItemSetUndef", onSetUndef);
-
- hGenderGetIcon = CreateServiceFunction(MS_GENDER_GETICON, GetIcon);
- return 0;
-}
-
-extern "C" int __declspec(dllexport) Unload(void)
-{
- return 0;
-}
diff --git a/plugins/Gender/src/options.cpp b/plugins/Gender/src/options.cpp deleted file mode 100644 index 6726079d3b..0000000000 --- a/plugins/Gender/src/options.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/*
- Show Contact Gender plugin for Miranda-IM (www.miranda-im.org)
- (c) 2006-2011 by Thief
-
- 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
-
- File name : $URL: http://svn.miranda.im/mainrepo/gender/trunk/options.cpp $
- Revision : $Rev: 1687 $
- Last change on : $Date: 2011-01-22 18:44:21 +0200 (Сб, 22 янв 2011) $
- Last change by : $Author: Thief $
-
-*/
-
-#include "commonheaders.h"
-
-int applyExtraImage(HANDLE hContact);
-
-extern HINSTANCE g_hInst;
-extern int clistIcon;
-extern HANDLE g_hExtraIcon;
-extern byte bContactMenuItems, bEnableClistIcon, bDrawNoGenderIcon;
-
-INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
-{
- static int bInitializing = 0;
- switch (msg) {
- case WM_INITDIALOG:
- TranslateDialogDefault(hwndDlg);
- bInitializing = 1;
-
- CheckDlgButton(hwndDlg, IDC_MENUITEMS, DBGetContactSettingByte(NULL, MODULENAME, "MenuItems", 1) ? BST_CHECKED : BST_UNCHECKED);
- CheckDlgButton(hwndDlg, IDC_DRAWUNDEFICON, bDrawNoGenderIcon ? BST_CHECKED : BST_UNCHECKED);
-
- bInitializing = 0;
- return TRUE;
-
- case WM_COMMAND:
- switch (LOWORD(wParam)) {
- case IDC_MENUITEMS:
- case IDC_DRAWUNDEFICON:
- SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
- break;
- }
- break;
-
- case WM_NOTIFY:
- if (((LPNMHDR)lParam)->idFrom == 0)
- switch (((LPNMHDR)lParam)->code) {
- case PSN_APPLY:
- {
- bDrawNoGenderIcon = IsDlgButtonChecked(hwndDlg, IDC_DRAWUNDEFICON);
-
- HANDLE hContact = db_find_first();
- while (hContact) {
- applyExtraImage(hContact);
- hContact = db_find_next(hContact);
- }
-
- DBWriteContactSettingByte(NULL, MODULENAME, "ClistIcon", bEnableClistIcon);
- DBWriteContactSettingByte(NULL, MODULENAME, "NoGenderIcon", bDrawNoGenderIcon);
- DBWriteContactSettingByte(NULL, MODULENAME, "MenuItems", IsDlgButtonChecked(hwndDlg, IDC_MENUITEMS));
- }
- return TRUE;
- }
- }
- return FALSE;
-}
-
-int onOptInitialise(WPARAM wParam, LPARAM lParam)
-{
- OPTIONSDIALOGPAGE odp = { 0 };
- odp.cbSize = sizeof(odp);
- odp.hInstance = g_hInst;
- odp.pszGroup = LPGEN("Icons");
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_GENDER_OPT);
- odp.pszTitle = LPGEN("Gender");
- odp.pfnDlgProc = DlgProcOptions;
- odp.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wParam, &odp);
-
- return 0;
-}
diff --git a/plugins/Gender/src/resource.h b/plugins/Gender/src/resource.h deleted file mode 100644 index 765b554966..0000000000 --- a/plugins/Gender/src/resource.h +++ /dev/null @@ -1,21 +0,0 @@ -//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by gender.rc
-//
-#define IDD_GENDER_OPT 9
-#define IDI_MALE 101
-#define IDI_FEMALE 102
-#define IDI_UNDEF 103
-#define IDC_MENUITEMS 1002
-#define IDC_DRAWUNDEFICON 1003
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 104
-#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1007
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
|