summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-08 17:26:53 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-08 17:26:53 +0000
commitaaa6b9eba58239dee4b2b6817ac809b80461c630 (patch)
treed714f6bbdb882fcf39c2285792d3d60ab3c936a0
parent7de2582e33a521a9e1950c9f1681a660b4a10894 (diff)
SendScreenshotPlus:
adopted git-svn-id: http://svn.miranda-ng.org/main/trunk@856 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/SendScreenshotPlus/CSendHTTPServer.cpp3
-rw-r--r--plugins/SendScreenshotPlus/Main.cpp50
-rw-r--r--plugins/SendScreenshotPlus/SendSS_10.vcxproj229
-rw-r--r--plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters199
-rw-r--r--plugins/SendScreenshotPlus/SendSS_9.vcproj621
-rw-r--r--plugins/SendScreenshotPlus/dlg_msgbox.cpp2
-rw-r--r--plugins/SendScreenshotPlus/global.h18
-rw-r--r--plugins/SendScreenshotPlus/mir_icolib.cpp2
-rw-r--r--plugins/SendScreenshotPlus/mir_string.h22
9 files changed, 442 insertions, 704 deletions
diff --git a/plugins/SendScreenshotPlus/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/CSendHTTPServer.cpp
index 27eb42d9b4..788ebca4d1 100644
--- a/plugins/SendScreenshotPlus/CSendHTTPServer.cpp
+++ b/plugins/SendScreenshotPlus/CSendHTTPServer.cpp
@@ -98,12 +98,9 @@ void CSendHTTPServer::SendThread() {
else {
//original plugin
m_fsi.dwOptions = OPT_SEND_LINK;
- g_MirCallService = pluginLink->CallService; //backup Miranda CallService
- pluginLink->CallService = MyCallService; //Hack on Miranda CallService
//send DATA and wait for reply
ret = (int)CallService(MS_HTTP_ADD_CHANGE_REMOVE, (WPARAM)m_hContact, (LPARAM)&m_fsi);
- pluginLink->CallService = g_MirCallService; //restore Miranda CallService
}
if (ret != 0) {
diff --git a/plugins/SendScreenshotPlus/Main.cpp b/plugins/SendScreenshotPlus/Main.cpp
index 66a9b074e1..e1c87a0239 100644
--- a/plugins/SendScreenshotPlus/Main.cpp
+++ b/plugins/SendScreenshotPlus/Main.cpp
@@ -34,15 +34,13 @@ Last change by : $Author: ing.u.horn $
#include "main.h"
// Prototypes ///////////////////////////////////////////////////////////////////////////
-MM_INTERFACE mmi;
-UTF8_INTERFACE utfi;
//LIST_INTERFACE li;
FI_INTERFACE *FIP = 0;
HINSTANCE hInst; //!< Global reference to the application
MGLOBAL myGlobals;
+int hLangpack;
-PLUGINLINK *pluginLink; //!< Link between Miranda and this plugin
//Information gathered by Miranda, displayed in the plugin pane of the Option Dialog
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -89,11 +87,6 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvRe
* It only returns the PLUGININFO structure, without any test on the version
* @param mirandaVersion The version of the application calling this function
*/
-extern "C" __declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion) {
- pluginInfo.cbSize = sizeof(PLUGININFO);
- return (PLUGININFO*) &pluginInfo;
-}
-
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) {
pluginInfo.cbSize = sizeof(PLUGININFOEX);
myGlobals.mirandaVersion = mirandaVersion;
@@ -109,8 +102,8 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) {
* Initializes the services provided and the link to those needed
* Called when the plugin is loaded into Miranda
*/
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) {
- pluginLink = link;
+extern "C" int __declspec(dllexport) Load(void) {
+ mir_getLP(&pluginInfo);
INT_PTR result = CALLSERVICE_NOTFOUND;
if(ServiceExists(MS_IMG_GETINTERFACE))
@@ -121,11 +114,6 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) {
return 1;
}
- mmi.cbSize = sizeof(mmi);
- mir_getMMI(&mmi);
- utfi.cbSize = sizeof(utfi);
- mir_getUTFI(&utfi);
-
// load icon library (use UserInfoEx icon Pack)
IcoLib_LoadModule();
@@ -163,32 +151,6 @@ int hook_ModulesLoaded(WPARAM, LPARAM) {
hFolderScreenshot = (HANDLE) FoldersRegisterCustomPathT("SendSS", "Screenshots",
_T(PROFILE_PATH)_T("\\")_T(CURRENT_PROFILE)_T("\\Screenshots"));
}
- // updater plugin support
- if(ServiceExists(MS_UPDATE_REGISTER)) {
- Update update = {0};
- char szVersion[16];
- update.cbSize = sizeof(Update);
- update.szComponentName = pluginInfo.shortName;
- update.pbVersion = (BYTE *)CreateVersionStringPluginEx(&pluginInfo, szVersion);
- update.cpbVersion = (int)strlen((char *)update.pbVersion);
-
- update.szVersionURL = __FLVersionURL;
- update.pbVersionPrefix = (BYTE *)__FLVersionPrefix;
- update.cpbVersionPrefix = (int)strlen((char *)update.pbVersionPrefix);
- update.szUpdateURL = __FLUpdateURL;
- // update.szUpdateURL = UPDATER_AUTOREGISTER;
-
- update.szBetaVersionURL = __BetaVersionURL;
- // bytes occuring in VersionURL before the version, used to locate the version information within the URL data
- update.pbBetaVersionPrefix = (BYTE *)__BetaVersionPrefix;
- update.cpbBetaVersionPrefix = (int)strlen((char *)update.pbBetaVersionPrefix);
- update.szBetaUpdateURL = __BetaUpdateURL;
-
- // url for displaying changelog for beta versions
- update.szBetaChangelogURL = __BetaChangelogURL;
-
- CallService(MS_UPDATE_REGISTER, 0, (WPARAM)&update);
- }
return 0;
}
@@ -352,21 +314,21 @@ void AddMenuItems(void) {
mi.ptszName = LPGENT("Send Screenshot");
mi.hIcon = IcoLib_GetIcon(ICO_PLUG_SSWINDOW2);
mi.pszService = MS_SENDSS_OPENDIALOG;
- CallService(MS_CLIST_ADDCONTACTMENUITEM, 0, (LPARAM)&mi);
+ Menu_AddContactMenuItem(&mi);
// Add item to contact menu
mi.position = 1000001;
mi.ptszName = LPGENT("Send desktop screenshot");
mi.hIcon = IcoLib_GetIcon(ICO_PLUG_SSWINDOW2);
mi.pszService = MS_SENDSS_SENDDESKTOP;
- CallService(MS_CLIST_ADDCONTACTMENUITEM, 0, (LPARAM)&mi);
+ Menu_AddContactMenuItem(&mi);
// Add item to main menu
mi.position = 1000001;
mi.ptszName = LPGENT("Take a screenshot");
mi.hIcon = IcoLib_GetIcon(ICO_PLUG_SSWINDOW2);
mi.pszService = MS_SENDSS_OPENDIALOG;
- CallService(MS_CLIST_ADDMAINMENUITEM, 0, (LPARAM)&mi);
+ Menu_AddMainMenuItem(&mi);
}
//---------------------------------------------------------------------------
diff --git a/plugins/SendScreenshotPlus/SendSS_10.vcxproj b/plugins/SendScreenshotPlus/SendSS_10.vcxproj
new file mode 100644
index 0000000000..2c50d8b867
--- /dev/null
+++ b/plugins/SendScreenshotPlus/SendSS_10.vcxproj
@@ -0,0 +1,229 @@
+<?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">
+ <ProjectName>SendSS</ProjectName>
+ <ProjectGuid>{CEAD8BCF-1F22-4E00-9F6D-E33405B00552}</ProjectGuid>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <CharacterSet>Unicode</CharacterSet>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </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>
+ <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>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup>
+ <_ProjectFileVersion>10.0.40219.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)'=='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>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
+ <IgnoreImportLibrary>true</IgnoreImportLibrary>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <AdditionalIncludeDirectories>sdk;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Full</Optimization>
+ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <AdditionalLibraryDirectories>$(SolutionDir)\lib</AdditionalLibraryDirectories>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ </Link>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>sdk;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <AdditionalLibraryDirectories>$(SolutionDir)\lib</AdditionalLibraryDirectories>
+ <SubSystem>Windows</SubSystem>
+ </Link>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <AdditionalIncludeDirectories>sdk;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Full</Optimization>
+ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <AdditionalLibraryDirectories>$(SolutionDir)\lib</AdditionalLibraryDirectories>
+ <SubSystem>Windows</SubSystem>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ </Link>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>sdk;..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ </ClCompile>
+ <Link>
+ <AdditionalDependencies>gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <AdditionalLibraryDirectories>$(SolutionDir)\lib</AdditionalLibraryDirectories>
+ <SubSystem>Windows</SubSystem>
+ </Link>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="UAboutForm.cpp" />
+ <ClCompile Include="UMainForm.cpp" />
+ <ClCompile Include="ctrl_button.cpp" />
+ <ClCompile Include="dlg_msgbox.cpp" />
+ <ClCompile Include="mir_icolib.cpp" />
+ <ClCompile Include="mir_string.cpp" />
+ <ClCompile Include="Utils.cpp" />
+ <ClCompile Include="CSend.cpp" />
+ <ClCompile Include="CSendEmail.cpp" />
+ <ClCompile Include="CSendFile.cpp" />
+ <ClCompile Include="CSendFTPFile.cpp" />
+ <ClCompile Include="CSendHTTPServer.cpp" />
+ <ClCompile Include="CSendImageShack.cpp" />
+ <ClCompile Include="Main.cpp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="UAboutForm.h" />
+ <ClInclude Include="UMainForm.h" />
+ <ClInclude Include="ctrl_button.h" />
+ <ClInclude Include="dlg_msgbox.h" />
+ <ClInclude Include="mir_icolib.h" />
+ <ClInclude Include="mir_string.h" />
+ <ClInclude Include="Utils.h" />
+ <ClInclude Include="resource.h" />
+ <ClInclude Include="CSend.h" />
+ <ClInclude Include="CSendEmail.h" />
+ <ClInclude Include="CSendFile.h" />
+ <ClInclude Include="CSendFTPFile.h" />
+ <ClInclude Include="CSendHTTPServer.h" />
+ <ClInclude Include="CSendImageShack.h" />
+ <ClInclude Include="global.h" />
+ <ClInclude Include="Main.h" />
+ <ClInclude Include="version.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="res\009_avatar.ico" />
+ <None Include="res\credits.txt" />
+ <None Include="res\default.ico" />
+ <None Include="res\icon1.ico" />
+ <None Include="res\license.txt" />
+ <None Include="res\overlay_disabled.ico" />
+ <None Include="res\overlay_enabled.ico" />
+ <None Include="res\ssArrow_Left.ico" />
+ <None Include="res\ssArrow_Right.ico" />
+ <None Include="res\ssCamera.ico" />
+ <None Include="res\ssCamera_1.ico" />
+ <None Include="res\ssCamera_2.ico" />
+ <None Include="res\ssDefault.ico" />
+ <None Include="res\ssDelOff.ico" />
+ <None Include="res\ssDelOn.ico" />
+ <None Include="res\ssDeskOff.ico" />
+ <None Include="res\ssDeskOn.ico" />
+ <None Include="res\sshelp.ico" />
+ <None Include="res\ssMonitor.ico" />
+ <None Include="res\ssOpen.ico" />
+ <None Include="res\ssTarget.ico" />
+ <None Include="res\treePhoto.ico" />
+ <None Include="res\UEditForm_nvr_1.bmp" />
+ <None Include="res\UEditForm_nvr_2.bmp" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="resource.rc" />
+ <ResourceCompile Include="version.rc" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+</Project> \ No newline at end of file
diff --git a/plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters b/plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters
new file mode 100644
index 0000000000..1c963f799a
--- /dev/null
+++ b/plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Class Form">
+ <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+ <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+ </Filter>
+ <Filter Include="Helper">
+ <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+ <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+ </Filter>
+ <Filter Include="Class Send">
+ <UniqueIdentifier>{2e2953d9-74f5-47c7-a652-0da67d678000}</UniqueIdentifier>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="UAboutForm.cpp">
+ <Filter>Class Form</Filter>
+ </ClCompile>
+ <ClCompile Include="UMainForm.cpp">
+ <Filter>Class Form</Filter>
+ </ClCompile>
+ <ClCompile Include="ctrl_button.cpp">
+ <Filter>Helper</Filter>
+ </ClCompile>
+ <ClCompile Include="dlg_msgbox.cpp">
+ <Filter>Helper</Filter>
+ </ClCompile>
+ <ClCompile Include="mir_icolib.cpp">
+ <Filter>Helper</Filter>
+ </ClCompile>
+ <ClCompile Include="mir_string.cpp">
+ <Filter>Helper</Filter>
+ </ClCompile>
+ <ClCompile Include="Utils.cpp">
+ <Filter>Helper</Filter>
+ </ClCompile>
+ <ClCompile Include="CSend.cpp">
+ <Filter>Class Send</Filter>
+ </ClCompile>
+ <ClCompile Include="CSendEmail.cpp">
+ <Filter>Class Send</Filter>
+ </ClCompile>
+ <ClCompile Include="CSendFile.cpp">
+ <Filter>Class Send</Filter>
+ </ClCompile>
+ <ClCompile Include="CSendFTPFile.cpp">
+ <Filter>Class Send</Filter>
+ </ClCompile>
+ <ClCompile Include="CSendHTTPServer.cpp">
+ <Filter>Class Send</Filter>
+ </ClCompile>
+ <ClCompile Include="CSendImageShack.cpp">
+ <Filter>Class Send</Filter>
+ </ClCompile>
+ <ClCompile Include="Main.cpp">
+ <Filter>Class Form</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="UAboutForm.h">
+ <Filter>Class Form</Filter>
+ </ClInclude>
+ <ClInclude Include="UMainForm.h">
+ <Filter>Class Form</Filter>
+ </ClInclude>
+ <ClInclude Include="ctrl_button.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="dlg_msgbox.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="mir_icolib.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="mir_string.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="Utils.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="resource.h">
+ <Filter>Resource Files</Filter>
+ </ClInclude>
+ <ClInclude Include="CSend.h">
+ <Filter>Class Send</Filter>
+ </ClInclude>
+ <ClInclude Include="CSendEmail.h">
+ <Filter>Class Send</Filter>
+ </ClInclude>
+ <ClInclude Include="CSendFile.h">
+ <Filter>Class Send</Filter>
+ </ClInclude>
+ <ClInclude Include="CSendFTPFile.h">
+ <Filter>Class Send</Filter>
+ </ClInclude>
+ <ClInclude Include="CSendHTTPServer.h">
+ <Filter>Class Send</Filter>
+ </ClInclude>
+ <ClInclude Include="CSendImageShack.h">
+ <Filter>Class Send</Filter>
+ </ClInclude>
+ <ClInclude Include="global.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="Main.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ <ClInclude Include="version.h">
+ <Filter>Helper</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="res\009_avatar.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\credits.txt">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\default.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\icon1.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\license.txt">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\overlay_disabled.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\overlay_enabled.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssArrow_Left.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssArrow_Right.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssCamera.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssCamera_1.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssCamera_2.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssDefault.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssDelOff.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssDelOn.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssDeskOff.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssDeskOn.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\sshelp.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssMonitor.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssOpen.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\ssTarget.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\treePhoto.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\UEditForm_nvr_1.bmp">
+ <Filter>Resource Files</Filter>
+ </None>
+ <None Include="res\UEditForm_nvr_2.bmp">
+ <Filter>Resource Files</Filter>
+ </None>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="resource.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ <ResourceCompile Include="version.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/plugins/SendScreenshotPlus/SendSS_9.vcproj b/plugins/SendScreenshotPlus/SendSS_9.vcproj
deleted file mode 100644
index 25fc100659..0000000000
--- a/plugins/SendScreenshotPlus/SendSS_9.vcproj
+++ /dev/null
@@ -1,621 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9,00"
- Name="SendSS_Plus"
- ProjectGUID="{CEAD8BCF-1F22-4E00-9F6D-E33405B00552}"
- RootNamespace="SendSS"
- Keyword="ManagedCProj"
- TargetFrameworkVersion="196613"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
- IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
- ConfigurationType="2"
- CharacterSet="2"
- ManagedExtensions="0"
- DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pch;*.pgc;*.pgd;*.meta;$(TargetPath);$(TargetDir)$(ProjectName).*;$(TargetDir)$(RootNamespace).*"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="../../include;../../include_API;./sdk"
- PreprocessorDefinitions="WIN32;_DEBUG;_USRDLL"
- RuntimeLibrary="3"
- WarningLevel="3"
- DebugInformationFormat="3"
- DisableSpecificWarnings="4996"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="gdiplus.lib msimg32.lib shlwapi.lib comctl32.lib"
- OutputFile="$(OutDir)\$(RootNamespace).dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- ProgramDatabaseFile="$(OutDir)\$(RootNamespace).pdb"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- ImportLibrary="$(IntDir)/$(TargetName).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)$(ConfigurationName)/Plugins"
- IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
- ConfigurationType="2"
- UseOfMFC="0"
- CharacterSet="2"
- ManagedExtensions="0"
- DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pch;*.pgc;*.pgd;*.meta;$(TargetPath);$(TargetDir)$(ProjectName).*;$(TargetDir)$(RootNamespace).*"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="../../include;../../include_API;./sdk"
- PreprocessorDefinitions="WIN32;NDEBUG;_USRDLL"
- RuntimeLibrary="2"
- WarningLevel="3"
- DebugInformationFormat="3"
- DisableSpecificWarnings="4996"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="gdiplus.lib msimg32.lib shlwapi.lib comctl32.lib"
- OutputFile="$(OutDir)\$(RootNamespace).dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- ProgramDatabaseFile="$(OutDir)\$(RootNamespace).pdb"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- ImportLibrary="$(IntDir)/$(TargetName).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 Unicode|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
- IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
- ConfigurationType="2"
- UseOfMFC="0"
- CharacterSet="1"
- ManagedExtensions="0"
- DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pch;*.pgc;*.pgd;*.meta;$(TargetPath);$(TargetDir)$(ProjectName).*;$(TargetDir)$(RootNamespace).*"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="../../include;../../include_API;./sdk"
- PreprocessorDefinitions="WIN32;NDEBUG;_USRDLL"
- RuntimeLibrary="2"
- WarningLevel="3"
- DebugInformationFormat="3"
- DisableSpecificWarnings="4996"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="gdiplus.lib msimg32.lib shlwapi.lib comctl32.lib"
- OutputFile="$(OutDir)\$(RootNamespace).dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- ProgramDatabaseFile="$(OutDir)\$(RootNamespace).pdb"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- ImportLibrary="$(IntDir)/$(TargetName).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="Debug Unicode|Win32"
- OutputDirectory="$(SolutionDir)$(ConfigurationName)/Plugins"
- IntermediateDirectory="$(SolutionDir)$(ConfigurationName)/Obj/$(ProjectName)"
- ConfigurationType="2"
- UseOfMFC="0"
- CharacterSet="1"
- ManagedExtensions="0"
- DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pch;*.pgc;*.pgd;*.meta;$(TargetPath);$(TargetDir)$(ProjectName).*;$(TargetDir)$(RootNamespace).*"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="../../include;../../include_API;./sdk"
- PreprocessorDefinitions="WIN32;_DEBUG;_USRDLL;_UNICODE;UNICODE"
- RuntimeLibrary="3"
- PrecompiledHeaderThrough="global.h"
- WarningLevel="3"
- DebugInformationFormat="3"
- DisableSpecificWarnings="4996"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="gdiplus.lib msimg32.lib shlwapi.lib comctl32.lib"
- OutputFile="$(OutDir)\$(RootNamespace).dll"
- LinkIncremental="1"
- GenerateDebugInformation="true"
- ProgramDatabaseFile="$(OutDir)\$(RootNamespace).pdb"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="0"
- ImportLibrary="$(IntDir)/$(TargetName).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>
- </Configurations>
- <References>
- <AssemblyReference
- RelativePath="System.dll"
- AssemblyName="System, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
- MinFrameworkVersion="131072"
- />
- <AssemblyReference
- RelativePath="System.Data.dll"
- AssemblyName="System.Data, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=x86"
- MinFrameworkVersion="131072"
- />
- <AssemblyReference
- RelativePath="System.Drawing.dll"
- AssemblyName="System.Drawing, Version=2.0.0.0, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
- MinFrameworkVersion="131072"
- />
- <AssemblyReference
- RelativePath="System.Windows.Forms.dll"
- AssemblyName="System.Windows.Forms, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
- MinFrameworkVersion="131072"
- />
- <AssemblyReference
- RelativePath="System.XML.dll"
- AssemblyName="System.Xml, Version=2.0.0.0, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"
- MinFrameworkVersion="131072"
- />
- </References>
- <Files>
- <Filter
- Name="Class Form"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\UAboutForm.cpp"
- >
- </File>
- <File
- RelativePath=".\UAboutForm.h"
- >
- </File>
- <File
- RelativePath=".\UMainForm.cpp"
- >
- </File>
- <File
- RelativePath=".\UMainForm.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Helper"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\ctrl_button.cpp"
- >
- </File>
- <File
- RelativePath=".\ctrl_button.h"
- >
- </File>
- <File
- RelativePath=".\dlg_msgbox.cpp"
- >
- </File>
- <File
- RelativePath=".\dlg_msgbox.h"
- >
- </File>
- <File
- RelativePath=".\mir_icolib.cpp"
- >
- </File>
- <File
- RelativePath=".\mir_icolib.h"
- >
- </File>
- <File
- RelativePath=".\mir_string.cpp"
- >
- </File>
- <File
- RelativePath=".\mir_string.h"
- >
- </File>
- <File
- RelativePath=".\Utils.cpp"
- >
- </File>
- <File
- RelativePath=".\Utils.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
- UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
- >
- <File
- RelativePath=".\res\009_avatar.ico"
- >
- </File>
- <File
- RelativePath=".\res\credits.txt"
- >
- </File>
- <File
- RelativePath=".\res\default.ico"
- >
- </File>
- <File
- RelativePath=".\res\icon1.ico"
- >
- </File>
- <File
- RelativePath=".\res\license.txt"
- >
- </File>
- <File
- RelativePath=".\res\overlay_disabled.ico"
- >
- </File>
- <File
- RelativePath=".\res\overlay_enabled.ico"
- >
- </File>
- <File
- RelativePath=".\resource.h"
- >
- </File>
- <File
- RelativePath=".\resource.rc"
- >
- </File>
- <File
- RelativePath=".\res\ssArrow_Left.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssArrow_Right.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssCamera.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssCamera_1.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssCamera_2.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssDefault.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssDelOff.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssDelOn.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssDeskOff.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssDeskOn.ico"
- >
- </File>
- <File
- RelativePath=".\res\sshelp.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssMonitor.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssOpen.ico"
- >
- </File>
- <File
- RelativePath=".\res\ssTarget.ico"
- >
- </File>
- <File
- RelativePath=".\res\treePhoto.ico"
- >
- </File>
- <File
- RelativePath=".\res\UEditForm_nvr_1.bmp"
- >
- </File>
- <File
- RelativePath=".\res\UEditForm_nvr_2.bmp"
- >
- </File>
- <File
- RelativePath=".\version.rc"
- >
- </File>
- </Filter>
- <Filter
- Name="Class Send"
- >
- <File
- RelativePath=".\CSend.cpp"
- >
- </File>
- <File
- RelativePath=".\CSend.h"
- >
- </File>
- <File
- RelativePath=".\CSendEmail.cpp"
- >
- </File>
- <File
- RelativePath=".\CSendEmail.h"
- >
- </File>
- <File
- RelativePath=".\CSendFile.cpp"
- >
- </File>
- <File
- RelativePath=".\CSendFile.h"
- >
- </File>
- <File
- RelativePath=".\CSendFTPFile.cpp"
- >
- </File>
- <File
- RelativePath=".\CSendFTPFile.h"
- >
- </File>
- <File
- RelativePath=".\CSendHTTPServer.cpp"
- >
- </File>
- <File
- RelativePath=".\CSendHTTPServer.h"
- >
- </File>
- <File
- RelativePath=".\CSendImageShack.cpp"
- >
- </File>
- <File
- RelativePath=".\CSendImageShack.h"
- >
- </File>
- </Filter>
- <File
- RelativePath=".\global.h"
- >
- </File>
- <File
- RelativePath=".\sdk\m_sendss.h"
- >
- </File>
- <File
- RelativePath=".\Main.cpp"
- >
- </File>
- <File
- RelativePath=".\Main.h"
- >
- </File>
- <File
- RelativePath=".\version.h"
- >
- </File>
- </Files>
- <Globals>
- <Global
- Name="RESOURCE_FILE"
- Value="resource.rc"
- />
- </Globals>
-</VisualStudioProject>
diff --git a/plugins/SendScreenshotPlus/dlg_msgbox.cpp b/plugins/SendScreenshotPlus/dlg_msgbox.cpp
index 86fa25cbae..f1b1535802 100644
--- a/plugins/SendScreenshotPlus/dlg_msgbox.cpp
+++ b/plugins/SendScreenshotPlus/dlg_msgbox.cpp
@@ -571,7 +571,7 @@ INT_PTR CALLBACK MsgBoxPop(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
case WM_INITDIALOG:
{
- POPUPDATAT pd;
+ POPUPDATAT_V2 pd;
LPMSGPOPUPDATA pmpd;
LPMSGBOX pMsgBox = (LPMSGBOX)lParam;
diff --git a/plugins/SendScreenshotPlus/global.h b/plugins/SendScreenshotPlus/global.h
index 0320949957..2710be0e17 100644
--- a/plugins/SendScreenshotPlus/global.h
+++ b/plugins/SendScreenshotPlus/global.h
@@ -38,12 +38,8 @@ Last change by : $Author: ing.u.horn $
#define _WIN32_IE 0x0601
#define OEMRESOURCE
-
-#define MIRANDA_VER 0x0800
-
-#ifdef _WIN32
- #pragma warning(disable:4786)
-#endif
+#define _CRT_SECURE_NO_WARNINGS
+#define MIRANDA_VER 0x0A00
// Windows includes
#include <windows.h>
@@ -86,17 +82,17 @@ using namespace std;
#include <m_protoint.h>
#include <m_skin.h>
#include <m_system.h>
+#include <m_popup.h>
// plugins SDK
#include <m_folders.h>
-#include <m_updater.h>
#include <m_HTTPServer.h>
#include <m_ftpfile.h>
-#include "sdk/m_popup.h" //<m_popup.h>
-#include "sdk/icons.h" //from uiex icon pack
+#include <m_popup2.h>
+#include "icons.h" //from uiex icon pack
// Project resources
-#include "sdk/m_sendss.h"
+#include "m_sendss.h"
#include "mir_string.h"
#include "mir_icolib.h"
#include "ctrl_button.h"
@@ -135,8 +131,6 @@ typedef struct _MGLOBAL {
extern HINSTANCE hInst;
extern MGLOBAL myGlobals;
-extern MM_INTERFACE mmi;
-extern UTF8_INTERFACE utfi;
extern HANDLE hNetlibUser;
#define PtrIsValid(p) (((p)!=0)&&(((HANDLE)(p))!=INVALID_HANDLE_VALUE))
diff --git a/plugins/SendScreenshotPlus/mir_icolib.cpp b/plugins/SendScreenshotPlus/mir_icolib.cpp
index dc9a7ad02f..33718faf98 100644
--- a/plugins/SendScreenshotPlus/mir_icolib.cpp
+++ b/plugins/SendScreenshotPlus/mir_icolib.cpp
@@ -301,7 +301,7 @@ static HANDLE IcoLib_RegisterIconHandleEx(LPSTR szIconID, LPSTR szDescription, L
sid.hDefaultIcon = hDefIcon;
sid.iDefaultIndex = -1;
}
- hIconHandle = (HANDLE) CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
+ hIconHandle = Skin_AddIcon(&sid);
}
mir_freeAndNil(sid.ptszDescription);
mir_freeAndNil(sid.ptszSection);
diff --git a/plugins/SendScreenshotPlus/mir_string.h b/plugins/SendScreenshotPlus/mir_string.h
index 11f8276d1b..882cd38896 100644
--- a/plugins/SendScreenshotPlus/mir_string.h
+++ b/plugins/SendScreenshotPlus/mir_string.h
@@ -33,28 +33,6 @@ Last change by : $Author: ing.u.horn $
#ifndef _MIR_STRING_H_INCLUDED_
#define _MIR_STRING_H_INCLUDED_
-class _A2T
-{
- public:
- _A2T(const char* s) :
- buf(mir_a2t(s))
- {}
-
- _A2T(const char* s, int cp) :
- buf(mir_a2t_cp(s, cp))
- {}
-
- ~_A2T()
- { mir_free(buf);
- }
-
- __inline operator TCHAR*() const
- { return buf;
- }
-
- private: TCHAR* buf;
-};
-
#define mir_wcsdup mir_wstrdup
#ifdef _UNICODE