summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/!NotAdopted/SMS/!clear.bat36
-rw-r--r--plugins/!NotAdopted/SMS/SMS.def8
-rw-r--r--plugins/!NotAdopted/SMS/sms.dsp231
-rw-r--r--plugins/!NotAdopted/SMS/sms.dsw29
-rw-r--r--plugins/!NotAdopted/SMS/sms.optbin52736 -> 0 bytes
-rw-r--r--plugins/!NotAdopted/SMS/sms.vcproj388
-rw-r--r--plugins/SMS/docs/readme.txt (renamed from plugins/!NotAdopted/SMS/readme.txt)0
-rw-r--r--plugins/SMS/res/SMSNOTSENT.ico (renamed from plugins/!NotAdopted/SMS/res/SMSNOTSENT.ico)bin1406 -> 1406 bytes
-rw-r--r--plugins/SMS/res/SMSSENT.ico (renamed from plugins/!NotAdopted/SMS/res/SMSSENT.ico)bin1406 -> 1406 bytes
-rw-r--r--plugins/SMS/res/Version.rc38
-rw-r--r--plugins/SMS/res/halftick.ico (renamed from plugins/!NotAdopted/SMS/res/halftick.ico)bin318 -> 318 bytes
-rw-r--r--plugins/SMS/res/resource.rc (renamed from plugins/!NotAdopted/SMS/resource.rc)54
-rw-r--r--plugins/SMS/sms_10.sln26
-rw-r--r--plugins/SMS/sms_10.vcxproj212
-rw-r--r--plugins/SMS/sms_10.vcxproj.filters74
-rw-r--r--plugins/SMS/src/AdditionalFunctions/BuffToLowerCase.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/BuffToLowerCase.h)0
-rw-r--r--plugins/SMS/src/AdditionalFunctions/DebugFunctions.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/DebugFunctions.h)0
-rw-r--r--plugins/SMS/src/AdditionalFunctions/InterlockedFunctions.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/InterlockedFunctions.h)0
-rw-r--r--plugins/SMS/src/AdditionalFunctions/ListMT.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/ListMT.h)2
-rw-r--r--plugins/SMS/src/AdditionalFunctions/MemoryCompare.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryCompare.h)0
-rw-r--r--plugins/SMS/src/AdditionalFunctions/MemoryFind.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryFind.h)0
-rw-r--r--plugins/SMS/src/AdditionalFunctions/MemoryFindByte.h (renamed from plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryFindByte.h)2
-rw-r--r--plugins/SMS/src/SMSConstans.h (renamed from plugins/!NotAdopted/SMS/SMSConstans.h)1
-rw-r--r--plugins/SMS/src/SMS_svc.cpp (renamed from plugins/!NotAdopted/SMS/SMS_svc.cpp)10
-rw-r--r--plugins/SMS/src/Version.h20
-rw-r--r--plugins/SMS/src/common.h (renamed from plugins/!NotAdopted/SMS/main.h)81
-rw-r--r--plugins/SMS/src/functions.cpp (renamed from plugins/!NotAdopted/SMS/functions.cpp)2
-rw-r--r--plugins/SMS/src/main.cpp (renamed from plugins/!NotAdopted/SMS/main.cpp)84
-rw-r--r--plugins/SMS/src/options.cpp (renamed from plugins/!NotAdopted/SMS/options.cpp)7
-rw-r--r--plugins/SMS/src/receive.cpp (renamed from plugins/!NotAdopted/SMS/receive.cpp)2
-rw-r--r--plugins/SMS/src/recvdlg.cpp (renamed from plugins/!NotAdopted/SMS/recvdlg.cpp)2
-rw-r--r--plugins/SMS/src/recvdlg.h (renamed from plugins/!NotAdopted/SMS/recvdlg.h)0
-rw-r--r--plugins/SMS/src/resource.h (renamed from plugins/!NotAdopted/SMS/resource.h)0
-rw-r--r--plugins/SMS/src/send.cpp (renamed from plugins/!NotAdopted/SMS/send.cpp)2
-rw-r--r--plugins/SMS/src/senddlg.cpp (renamed from plugins/!NotAdopted/SMS/senddlg.cpp)6
-rw-r--r--plugins/SMS/src/senddlg.h (renamed from plugins/!NotAdopted/SMS/senddlg.h)0
-rw-r--r--plugins/SMS/src/stdafx.cpp18
37 files changed, 480 insertions, 855 deletions
diff --git a/plugins/!NotAdopted/SMS/!clear.bat b/plugins/!NotAdopted/SMS/!clear.bat
deleted file mode 100644
index f35ebe94fd..0000000000
--- a/plugins/!NotAdopted/SMS/!clear.bat
+++ /dev/null
@@ -1,36 +0,0 @@
-@echo off
-
-del .\*.aps /q
-del .\*.clw /q
-del .\*.ncb /q
-rem del .\*.opt /q
-del .\*.plg /q
-
-del .\Release\*.obj /q
-del .\Release\*.pch /q
-del .\Release\*.pdb /q
-del .\Release\*.idb /q
-del .\Release\*.res /q
-del .\Release\*.exp /q
-del .\Release\*.sbr /q
-del .\Release\*.map /q
-del .\Release\*.cod /q
-
-del .\debug\*.obj /q
-del .\debug\*.pch /q
-del .\debug\*.pdb /q
-del .\debug\*.idb /q
-del .\debug\*.res /q
-del .\debug\*.ilk /q
-del .\debug\*.exp /q
-del .\debug\*.sbr /q
-del .\debug\*.asm /q
-del .\debug\*.cod /q
-del .\debug\*.map /q
-del .\debug\*.opt /q
-del .\debug\*._xe /q
-del .\debug\*.pbi /q
-del .\debug\*.pbo /q
-del .\debug\*.pbt /q
-del .\debug\*.map /q
-del .\debug\*.cod /q
diff --git a/plugins/!NotAdopted/SMS/SMS.def b/plugins/!NotAdopted/SMS/SMS.def
deleted file mode 100644
index 3ec70ac7bb..0000000000
--- a/plugins/!NotAdopted/SMS/SMS.def
+++ /dev/null
@@ -1,8 +0,0 @@
-LIBRARY SMS
-
-EXPORTS
- MirandaPluginInfo @1
- MirandaPluginInfoEx @2
- MirandaPluginInterfaces @3
- Load @4
- Unload @5
diff --git a/plugins/!NotAdopted/SMS/sms.dsp b/plugins/!NotAdopted/SMS/sms.dsp
deleted file mode 100644
index 75d75ee5d8..0000000000
--- a/plugins/!NotAdopted/SMS/sms.dsp
+++ /dev/null
@@ -1,231 +0,0 @@
-# Microsoft Developer Studio Project File - Name="sms" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=sms - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "sms.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "sms.mak" CFG="sms - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "sms - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "sms - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "sms - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SMS_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SMS_EXPORTS" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x809 /d "NDEBUG"
-# ADD RSC /l 0x809 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 LIBCTINY.LIB kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib /nologo /base:"0x25000000" /dll /map /machine:I386 /nodefaultlib
-
-!ELSEIF "$(CFG)" == "sms - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SMS_EXPORTS" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "SMS_EXPORTS" /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x809 /d "_DEBUG"
-# ADD RSC /l 0x809 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 LIBCTINY.LIB kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /nodefaultlib /out:"../../Debug/plugins/sms.dll" /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "sms - Win32 Release"
-# Name "sms - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Group "minicrt"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\mincrt\MEMSET.C
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\STRCHR.C
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\STRDUP.C
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\strncmp.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\STRSPN.C
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\time.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\wsnprintf.c
-# End Source File
-# End Group
-# Begin Source File
-
-SOURCE=.\main.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\options.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\receive.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\recvdlg.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\send.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\senddlg.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\utf8.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\AggressiveOptimize.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\m_autoreplacer.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\main.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\receive.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\send.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\utf8.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\mincrt\wsnprintf.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\halftick.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\history.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\res\history.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\notick.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\resource.rc
-# End Source File
-# Begin Source File
-
-SOURCE=.\SMSMSG.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\SMSNOTSENT.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\SMSSENT.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\tick.ico
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/plugins/!NotAdopted/SMS/sms.dsw b/plugins/!NotAdopted/SMS/sms.dsw
deleted file mode 100644
index 2bc1715ec7..0000000000
--- a/plugins/!NotAdopted/SMS/sms.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "sms"=.\sms.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/plugins/!NotAdopted/SMS/sms.opt b/plugins/!NotAdopted/SMS/sms.opt
deleted file mode 100644
index d32d04fb8b..0000000000
--- a/plugins/!NotAdopted/SMS/sms.opt
+++ /dev/null
Binary files differ
diff --git a/plugins/!NotAdopted/SMS/sms.vcproj b/plugins/!NotAdopted/SMS/sms.vcproj
deleted file mode 100644
index 2b5e61d508..0000000000
--- a/plugins/!NotAdopted/SMS/sms.vcproj
+++ /dev/null
@@ -1,388 +0,0 @@
-<?xml version="1.0" encoding="windows-1251"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="9,00"
- Name="sms"
- ProjectGUID="{896C1557-3841-4D04-B3CA-3DED03AFED37}"
- RootNamespace="sms"
- TargetFrameworkVersion="131072"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Release|Win32"
- OutputDirectory=".\Release"
- IntermediateDirectory=".\Release"
- ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- WholeProgramOptimization="1"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="NDEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Release/sms.tlb"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="1"
- InlineFunctionExpansion="1"
- FavorSizeOrSpeed="2"
- EnableFiberSafeOptimizations="true"
- WholeProgramOptimization="false"
- PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SMS_EXPORTS"
- StringPooling="true"
- MinimalRebuild="false"
- ExceptionHandling="0"
- RuntimeLibrary="0"
- BufferSecurityCheck="false"
- EnableFunctionLevelLinking="false"
- UsePrecompiledHeader="0"
- PrecompiledHeaderFile=""
- AssemblerListingLocation=".\Release/"
- ObjectFile=".\Release/"
- ProgramDataBaseFileName=".\Release/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="NDEBUG"
- Culture="2057"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/MACHINE:I386"
- AdditionalDependencies="comctl32.lib"
- OutputFile=".\Release/sms.dll"
- LinkIncremental="0"
- SuppressStartupBanner="true"
- AdditionalManifestDependencies="type=&apos;Win32&apos; name=&apos;Microsoft.Windows.Common-Controls&apos; version=&apos;6.0.0.0&apos; processorArchitecture=&apos;X86&apos; publicKeyToken=&apos;6595b64144ccf1df&apos; language=&apos;*&apos;"
- IgnoreAllDefaultLibraries="true"
- IgnoreDefaultLibraryNames=""
- ModuleDefinitionFile="sms.def"
- ProgramDatabaseFile=".\Release/sms.pdb"
- GenerateMapFile="true"
- MapFileName=".\Release/sms.map"
- SubSystem="2"
- OptimizeReferences="2"
- EnableCOMDATFolding="2"
- OptimizeForWindows98="0"
- LinkTimeCodeGeneration="0"
- ResourceOnlyDLL="true"
- SetChecksum="true"
- BaseAddress=""
- RandomizedBaseAddress="1"
- DataExecutionPrevention="2"
- ImportLibrary=".\Release/sms.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|Win32"
- OutputDirectory=".\Debug"
- IntermediateDirectory=".\Debug"
- ConfigurationType="2"
- InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
- UseOfMFC="0"
- ATLMinimizesCRunTimeLibraryUsage="false"
- CharacterSet="2"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- CommandLine="copy &quot;C:\Documents and Settings\rozhuk_IM\Мои документы\Programmer\VC\smsvsrc-unicode\Debug\SMS.dll&quot; &quot;C:\Documents and Settings\rozhuk_IM\Мои документы\Programmer\VC\Mra\Miranda IM\Plugins\SMS.dll&quot;&#x0D;&#x0A;"
- Outputs="w"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- PreprocessorDefinitions="_DEBUG"
- MkTypLibCompatible="true"
- SuppressStartupBanner="true"
- TargetEnvironment="1"
- TypeLibraryName=".\Debug/sms.tlb"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SMS_EXPORTS"
- StringPooling="true"
- MinimalRebuild="true"
- ExceptionHandling="0"
- BasicRuntimeChecks="3"
- RuntimeLibrary="1"
- UsePrecompiledHeader="0"
- PrecompiledHeaderFile=""
- AssemblerListingLocation=".\Debug/"
- ObjectFile=".\Debug/"
- ProgramDataBaseFileName=".\Debug/"
- WarningLevel="3"
- SuppressStartupBanner="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- PreprocessorDefinitions="_DEBUG"
- Culture="2057"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalOptions="/MACHINE:I386"
- AdditionalDependencies="comctl32.lib"
- OutputFile="Debug/sms.dll"
- LinkIncremental="2"
- SuppressStartupBanner="true"
- AdditionalManifestDependencies="type=&apos;Win32&apos; name=&apos;Microsoft.Windows.Common-Controls&apos; version=&apos;6.0.0.0&apos; processorArchitecture=&apos;X86&apos; publicKeyToken=&apos;6595b64144ccf1df&apos; language=&apos;*&apos;"
- IgnoreAllDefaultLibraries="false"
- IgnoreDefaultLibraryNames="msvcrtd.lib"
- ModuleDefinitionFile="sms.def"
- GenerateDebugInformation="true"
- ProgramDatabaseFile=".\Debug/sms.pdb"
- OptimizeReferences="1"
- EnableCOMDATFolding="1"
- RandomizedBaseAddress="1"
- DataExecutionPrevention="2"
- ImportLibrary=".\Debug/sms.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>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
- >
- <File
- RelativePath="functions.cpp"
- >
- </File>
- <File
- RelativePath="main.cpp"
- >
- </File>
- <File
- RelativePath="options.cpp"
- >
- </File>
- <File
- RelativePath="receive.cpp"
- >
- </File>
- <File
- RelativePath="recvdlg.cpp"
- >
- </File>
- <File
- RelativePath="send.cpp"
- >
- </File>
- <File
- RelativePath="senddlg.cpp"
- >
- </File>
- <File
- RelativePath=".\SMS_svc.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl"
- >
- <File
- RelativePath="..\!Clases\include\ListMT.h"
- >
- </File>
- <File
- RelativePath=".\m_autoreplacer.h"
- >
- </File>
- <File
- RelativePath="..\!Clases\include\Miranda\m_fontservice.h"
- >
- </File>
- <File
- RelativePath=".\main.h"
- >
- </File>
- <File
- RelativePath="..\!Clases\include\MemoryCompare.h"
- >
- </File>
- <File
- RelativePath="..\!Clases\include\MemoryFind.h"
- >
- </File>
- <File
- RelativePath="..\!Clases\include\MemoryFindByte.h"
- >
- </File>
- <File
- RelativePath="recvdlg.h"
- >
- </File>
- <File
- RelativePath=".\resource.h"
- >
- </File>
- <File
- RelativePath="senddlg.h"
- >
- </File>
- <File
- RelativePath="SMS.def"
- >
- </File>
- <File
- RelativePath=".\SMSConstans.h"
- >
- </File>
- </Filter>
- <Filter
- Name="Resource Files"
- Filter="ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
- >
- <File
- RelativePath=".\halftick.ico"
- >
- </File>
- <File
- RelativePath=".\res\halftick.ico"
- >
- </File>
- <File
- RelativePath=".\res\history.ico"
- >
- </File>
- <File
- RelativePath=".\history.ico"
- >
- </File>
- <File
- RelativePath=".\notick.ico"
- >
- </File>
- <File
- RelativePath=".\resource.rc"
- >
- </File>
- <File
- RelativePath=".\SMSMSG.ico"
- >
- </File>
- <File
- RelativePath=".\SMSNOTSENT.ico"
- >
- </File>
- <File
- RelativePath=".\res\SMSNOTSENT.ico"
- >
- </File>
- <File
- RelativePath=".\res\SMSSENT.ico"
- >
- </File>
- <File
- RelativePath=".\SMSSENT.ico"
- >
- </File>
- <File
- RelativePath=".\tick.ico"
- >
- </File>
- </Filter>
- <File
- RelativePath="readme.txt"
- >
- </File>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
diff --git a/plugins/!NotAdopted/SMS/readme.txt b/plugins/SMS/docs/readme.txt
index 3fe787fec8..3fe787fec8 100644
--- a/plugins/!NotAdopted/SMS/readme.txt
+++ b/plugins/SMS/docs/readme.txt
diff --git a/plugins/!NotAdopted/SMS/res/SMSNOTSENT.ico b/plugins/SMS/res/SMSNOTSENT.ico
index edc59a9d00..edc59a9d00 100644
--- a/plugins/!NotAdopted/SMS/res/SMSNOTSENT.ico
+++ b/plugins/SMS/res/SMSNOTSENT.ico
Binary files differ
diff --git a/plugins/!NotAdopted/SMS/res/SMSSENT.ico b/plugins/SMS/res/SMSSENT.ico
index da61e1c52c..da61e1c52c 100644
--- a/plugins/!NotAdopted/SMS/res/SMSSENT.ico
+++ b/plugins/SMS/res/SMSSENT.ico
Binary files differ
diff --git a/plugins/SMS/res/Version.rc b/plugins/SMS/res/Version.rc
new file mode 100644
index 0000000000..5bfbab4754
--- /dev/null
+++ b/plugins/SMS/res/Version.rc
@@ -0,0 +1,38 @@
+// Microsoft Visual C++ generated resource script.
+//
+#ifdef APSTUDIO_INVOKED
+#error this file is not editable by Microsoft Visual C++
+#endif //APSTUDIO_INVOKED
+
+#include "afxres.h"
+#include "..\src\version.h"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION __FILEVERSION_STRING
+ PRODUCTVERSION __FILEVERSION_STRING
+ FILEFLAGSMASK 0x17L
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS 0x4L
+ FILETYPE 0x0L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "FileDescription", __DESCRIPTION
+ VALUE "InternalName", __PLUGIN_NAME
+ VALUE "LegalCopyright", __COPYRIGHT
+ VALUE "OriginalFilename", __FILENAME
+ VALUE "ProductName", __PLUGIN_NAME
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END
diff --git a/plugins/!NotAdopted/SMS/res/halftick.ico b/plugins/SMS/res/halftick.ico
index a7fcd94b7a..a7fcd94b7a 100644
--- a/plugins/!NotAdopted/SMS/res/halftick.ico
+++ b/plugins/SMS/res/halftick.ico
Binary files differ
diff --git a/plugins/!NotAdopted/SMS/resource.rc b/plugins/SMS/res/resource.rc
index 5f34d6e13d..6ed23fbcdf 100644
--- a/plugins/!NotAdopted/SMS/resource.rc
+++ b/plugins/SMS/res/resource.rc
@@ -1,13 +1,13 @@
// Microsoft Visual C++ generated resource script.
//
-#include "resource.h"
+#include "..\src\resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
-#include <windows.h>
+#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
@@ -23,54 +23,14 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/////////////////////////////////////////////////////////////////////////////
//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION 0,2,5,3
- PRODUCTVERSION 0,2,5,3
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS 0x40004L
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "000004b0"
- BEGIN
- VALUE "Comments", "Send and receive SMS messages"
- VALUE "CompanyName", " "
- VALUE "FileDescription", "Miranda SMS plugin"
- VALUE "FileVersion", "0.2.5.3"
- VALUE "InternalName", "sms plugin"
- VALUE "LegalCopyright", "Copyright © 2002-3 Ariel Shulman (Original by Richard Hughes), 2007-2009 Rozhuk Ivan (Ivan 83)"
- VALUE "OriginalFilename", "sms.dll"
- VALUE "ProductName", "Miranda NG"
- VALUE "ProductVersion", "0.2.5.3"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x0, 1200
- END
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
-IDI_SMSNOTSENT ICON "res\\SMSNOTSENT.ico"
-IDI_SMSSENT ICON "res\\SMSSENT.ico"
-IDI_HALFTICK ICON "res\\halftick.ico"
+IDI_SMSNOTSENT ICON "SMSNOTSENT.ico"
+IDI_SMSSENT ICON "SMSSENT.ico"
+IDI_HALFTICK ICON "halftick.ico"
/////////////////////////////////////////////////////////////////////////////
//
@@ -257,12 +217,12 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
1 TEXTINCLUDE
BEGIN
- "resource.h\0"
+ "..\\src\\resource.h\0"
END
2 TEXTINCLUDE
BEGIN
- "#include <windows.h>\r\n"
+ "#include ""afxres.h""\r\n"
"\0"
END
diff --git a/plugins/SMS/sms_10.sln b/plugins/SMS/sms_10.sln
new file mode 100644
index 0000000000..8d957c9e61
--- /dev/null
+++ b/plugins/SMS/sms_10.sln
@@ -0,0 +1,26 @@
+п»ї
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SMS", "sms_10.vcxproj", "{5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Debug|Win32.ActiveCfg = Debug|Win32
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Debug|Win32.Build.0 = Debug|Win32
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Debug|x64.ActiveCfg = Debug|x64
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Debug|x64.Build.0 = Debug|x64
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Release|Win32.ActiveCfg = Release|Win32
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Release|Win32.Build.0 = Release|Win32
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Release|x64.ActiveCfg = Release|x64
+ {5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/plugins/SMS/sms_10.vcxproj b/plugins/SMS/sms_10.vcxproj
new file mode 100644
index 0000000000..05d26ff7dd
--- /dev/null
+++ b/plugins/SMS/sms_10.vcxproj
@@ -0,0 +1,212 @@
+п»ї<?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>SMS</ProjectName>
+ <ProjectGuid>{5F09C93B-463A-4BF5-A85E-6E4E916AA8F8}</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)'=='Debug|x64'" 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)'=='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>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Plugins\</OutDir>
+ <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Plugins\</OutDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)\Obj\$(ProjectName)\</IntDir>
+ <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\</IntDir>
+ <IgnoreImportLibrary>true</IgnoreImportLibrary>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <ClCompile>
+ <Optimization>Full</Optimization>
+ <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <WarningLevel>Level3</WarningLevel>
+ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
+ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
+ <ExceptionHandling>false</ExceptionHandling>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
+ <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+ <ClCompile>
+ <Optimization>Full</Optimization>
+ <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN64;NDEBUG;_WINDOWS;_USRDLL;SMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <WarningLevel>Level3</WarningLevel>
+ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
+ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
+ <ExceptionHandling>false</ExceptionHandling>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <OptimizeReferences>true</OptimizeReferences>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
+ <AdditionalOptions>/PDBALTPATH:%_PDB%</AdditionalOptions>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <MinimalRebuild>true</MinimalRebuild>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
+ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <ExceptionHandling>false</ExceptionHandling>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <SubSystem>Windows</SubSystem>
+ <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <Optimization>Disabled</Optimization>
+ <AdditionalIncludeDirectories>..\..\include;..\ExternalAPI%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;SMS_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <PrecompiledHeaderFile>common.h</PrecompiledHeaderFile>
+ <WarningLevel>Level3</WarningLevel>
+ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <ExceptionHandling>false</ExceptionHandling>
+ </ClCompile>
+ <ResourceCompile>
+ <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\..\include\msapi</AdditionalIncludeDirectories>
+ </ResourceCompile>
+ <Link>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <RandomizedBaseAddress>false</RandomizedBaseAddress>
+ <ImportLibrary>$(IntDir)$(TargetName).lib</ImportLibrary>
+ <SubSystem>Windows</SubSystem>
+ <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalLibraryDirectories>$(ProfileDir)..\..\bin10\lib</AdditionalLibraryDirectories>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemGroup>
+ <ClCompile Include="src\functions.cpp" />
+ <ClCompile Include="src\main.cpp" />
+ <ClCompile Include="src\options.cpp" />
+ <ClCompile Include="src\receive.cpp" />
+ <ClCompile Include="src\recvdlg.cpp" />
+ <ClCompile Include="src\send.cpp" />
+ <ClCompile Include="src\senddlg.cpp" />
+ <ClCompile Include="src\SMS_svc.cpp" />
+ <ClCompile Include="src\stdafx.cpp">
+ <PrecompiledHeader>Create</PrecompiledHeader>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="src\main.h" />
+ <ClInclude Include="src\recvdlg.h" />
+ <ClInclude Include="src\resource.h" />
+ <ClInclude Include="src\senddlg.h" />
+ <ClInclude Include="src\SMSConstans.h" />
+ <ClInclude Include="src\Version.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="res\resource.rc" />
+ <ResourceCompile Include="res\Version.rc" />
+ </ItemGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project> \ No newline at end of file
diff --git a/plugins/SMS/sms_10.vcxproj.filters b/plugins/SMS/sms_10.vcxproj.filters
new file mode 100644
index 0000000000..74e4e04223
--- /dev/null
+++ b/plugins/SMS/sms_10.vcxproj.filters
@@ -0,0 +1,74 @@
+п»ї<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup>
+ <Filter Include="Source Files">
+ <UniqueIdentifier>{7e24b5e6-2653-4143-a42b-d3486d5c416f}</UniqueIdentifier>
+ <Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
+ </Filter>
+ <Filter Include="Header Files">
+ <UniqueIdentifier>{596c44cc-f8d3-4837-8fb4-49d4aa913452}</UniqueIdentifier>
+ <Extensions>h;hpp;hxx;hm;inl</Extensions>
+ </Filter>
+ <Filter Include="Resource Files">
+ <UniqueIdentifier>{9c926bbb-252f-489c-8433-2db02ad00ba7}</UniqueIdentifier>
+ <Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
+ </Filter>
+ </ItemGroup>
+ <ItemGroup>
+ <ClCompile Include="src\stdafx.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\functions.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\main.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\options.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\receive.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\recvdlg.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\send.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\senddlg.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ <ClCompile Include="src\SMS_svc.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
+ </ItemGroup>
+ <ItemGroup>
+ <ClInclude Include="src\Version.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\resource.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\main.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\recvdlg.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\senddlg.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ <ClInclude Include="src\SMSConstans.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="res\resource.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ <ResourceCompile Include="res\Version.rc">
+ <Filter>Resource Files</Filter>
+ </ResourceCompile>
+ </ItemGroup>
+</Project> \ No newline at end of file
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/BuffToLowerCase.h b/plugins/SMS/src/AdditionalFunctions/BuffToLowerCase.h
index d2bb7a6671..d2bb7a6671 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/BuffToLowerCase.h
+++ b/plugins/SMS/src/AdditionalFunctions/BuffToLowerCase.h
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/DebugFunctions.h b/plugins/SMS/src/AdditionalFunctions/DebugFunctions.h
index 8b21d1bc5a..8b21d1bc5a 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/DebugFunctions.h
+++ b/plugins/SMS/src/AdditionalFunctions/DebugFunctions.h
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/InterlockedFunctions.h b/plugins/SMS/src/AdditionalFunctions/InterlockedFunctions.h
index 3fb008b216..3fb008b216 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/InterlockedFunctions.h
+++ b/plugins/SMS/src/AdditionalFunctions/InterlockedFunctions.h
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/ListMT.h b/plugins/SMS/src/AdditionalFunctions/ListMT.h
index 7cf1e81808..fd9ab3baaf 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/ListMT.h
+++ b/plugins/SMS/src/AdditionalFunctions/ListMT.h
@@ -6,7 +6,7 @@
#endif // _MSC_VER > 1000
-#include <InterlockedFunctions.h>
+#include "InterlockedFunctions.h"
#if defined(_MSC_VER)
#if _MSC_VER >= 800
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryCompare.h b/plugins/SMS/src/AdditionalFunctions/MemoryCompare.h
index de663c6d8a..de663c6d8a 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryCompare.h
+++ b/plugins/SMS/src/AdditionalFunctions/MemoryCompare.h
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryFind.h b/plugins/SMS/src/AdditionalFunctions/MemoryFind.h
index dbc5f1a2d1..dbc5f1a2d1 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryFind.h
+++ b/plugins/SMS/src/AdditionalFunctions/MemoryFind.h
diff --git a/plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryFindByte.h b/plugins/SMS/src/AdditionalFunctions/MemoryFindByte.h
index 0dcc1f91a6..002f76e44c 100644
--- a/plugins/!NotAdopted/SMS/AdditionalFunctions/MemoryFindByte.h
+++ b/plugins/SMS/src/AdditionalFunctions/MemoryFindByte.h
@@ -15,7 +15,7 @@ __inline LPVOID MemoryFindByte(SIZE_T dwFrom,LPCVOID lpcSource,SIZE_T dwSourceSi
{
if (dwFrom<dwSourceSize)
{
- lpRet=memchr((LPCVOID)(((SIZE_T)lpcSource)+dwFrom),chWhatFind,(dwSourceSize-dwFrom));
+ lpRet=(LPVOID)memchr((LPCVOID)(((SIZE_T)lpcSource)+dwFrom),chWhatFind,(dwSourceSize-dwFrom));
}
}
return(lpRet);
diff --git a/plugins/!NotAdopted/SMS/SMSConstans.h b/plugins/SMS/src/SMSConstans.h
index ddaddc3df7..2642a56c7d 100644
--- a/plugins/!NotAdopted/SMS/SMSConstans.h
+++ b/plugins/SMS/src/SMSConstans.h
@@ -32,7 +32,6 @@
#define MIN_SMS_DBEVENT_LEN 4 // для фильтрации событий авторизации от джабер плагина
#define MAX_PHONE_LEN MAX_PATH
#define PHONES_MIN_COUNT 4 //internal // колличество элементов обязательно проверяемых при извлечении email адреса из инфы юзера
-#define SMS_PLUGIN_UPDATER_ID 4187 //появляется после первого выкладывания на сайт
diff --git a/plugins/!NotAdopted/SMS/SMS_svc.cpp b/plugins/SMS/src/SMS_svc.cpp
index 24e6d1ad2f..489f9f4dbd 100644
--- a/plugins/!NotAdopted/SMS/SMS_svc.cpp
+++ b/plugins/SMS/src/SMS_svc.cpp
@@ -1,4 +1,4 @@
-#include "main.h"
+#include "common.h"
@@ -39,16 +39,14 @@ int LoadModules(void)
mi.ptszName=SMS_SEND_STR;
mi.pszService=szServiceFunction;
mi.flags=(CMIF_UNICODE);
- CallService(MS_CLIST_ADDMAINMENUITEM,0,(LPARAM)&mi);
+ Menu_AddMainMenuItem(&mi);
mi.position=-2000070000;
mi.hIcon=LoadSkinnedIcon(SKINICON_OTHER_SMS);
mi.ptszName=SMS_SEND_CM_STR;
mi.pszService=szServiceFunction;
- mi.flags=(CMIF_UNICODE);
- ssSMSSettings.hContactMenuItems[0]=(HANDLE)CallService(MS_CLIST_ADDCONTACTMENUITEM,0,(LPARAM)&mi);
-
-
+ mi.flags=(CMIF_UNICODE);
+ ssSMSSettings.hContactMenuItems[0]=Menu_AddContactMenuItem(&mi);
SkinAddNewSoundEx("RecvSMSMsg",PROTOCOL_NAMEA,Translate("Incoming SMS Message"));
SkinAddNewSoundEx("RecvSMSConfirmation",PROTOCOL_NAMEA,Translate("Incoming SMS Confirmation"));
diff --git a/plugins/SMS/src/Version.h b/plugins/SMS/src/Version.h
new file mode 100644
index 0000000000..c4028e622b
--- /dev/null
+++ b/plugins/SMS/src/Version.h
@@ -0,0 +1,20 @@
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 2
+#define __RELEASE_NUM 5
+#define __BUILD_NUM 3
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
+
+#define __STRINGIFY_IMPL(x) #x
+#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
+#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
+
+#define __PLUGIN_NAME "SMS plugin"
+#define __INTERNAL_NAME "SMS plugin"
+#define __FILENAME "sms.dll"
+#define __DESCRIPTION "Send SMS text messages to mobile phones through the IM networks"
+#define __AUTHOR "Richard Hughes, Improved by Ariel Shulman, rewritten by Rozhuk Ivan"
+#define __AUTHOREMAIL "Rozhuk_I@mail.ru"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2001-2 Richard Hughes, 2003 Ariel Shulman, 2007-2009 Rozhuk Ivan (Rozhuk_I@mail.ru)"
diff --git a/plugins/!NotAdopted/SMS/main.h b/plugins/SMS/src/common.h
index 8becfefb44..b65c11e5c5 100644
--- a/plugins/!NotAdopted/SMS/main.h
+++ b/plugins/SMS/src/common.h
@@ -1,16 +1,20 @@
-#ifndef _MAIN_H
-#define _MAIN_H
+#ifndef _COMMON_H
+#define _COMMON_H
+#define _WIN32_WINNT 0x0500
+#define _WIN32_IE 0x0400
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+#define VC_EXTRALEAN
-#define _USE_32BIT_TIME_T
+//////#define _USE_32BIT_TIME_T
#define _CRT_SECURE_NO_WARNINGS
-#define UNICODE
-#define _UNICODE
+//#define UNICODE
+//#define _UNICODE
-#ifdef NDEBUG
+/*#ifdef NDEBUG
#pragma optimize("gsy",on)
#pragma comment(linker,"/subsystem:Windows,5")
#pragma comment(linker,"/version:5")
@@ -28,46 +32,47 @@
//#pragma comment(linker,"/noentry")
//#pragma comment(linker,"/ENTRY:DllMain")
-#define CRTDLL
+//#define CRTDLL
-#define MIRANDA_VER 0x0800
+#define MIRANDA_VER 0x0A00
-
-#include "resource.h"
#include <windows.h>
#include <commctrl.h>
#include <stdio.h>
#include <time.h>
-#ifdef NDEBUG
+/*#ifdef NDEBUG
#include <..\minicrt\minicrt.h>
#else
#include <..\minicrt\timefuncs.h>
#endif //_DEBUG*/
-#include <ListMT.h>
-#include <DebugFunctions.h>
-#include <MemoryCompare.h>
-#include <MemoryFind.h>
-#include <MemoryFindByte.h>
-#include <BuffToLowerCase.h>
-#include "newpluginapi.h"
-#include "m_database.h"
-#include "m_clist.h"
-#include "m_langpack.h"
-#include "m_history.h"
-#include "m_protomod.h"
-#include "m_autoreplacer.h"
+#include "AdditionalFunctions/ListMT.h"
+#include "AdditionalFunctions/DebugFunctions.h"
+#include "AdditionalFunctions/MemoryCompare.h"
+#include "AdditionalFunctions/MemoryFind.h"
+#include "AdditionalFunctions/MemoryFindByte.h"
+#include "AdditionalFunctions/BuffToLowerCase.h"
+
+#include <newpluginapi.h>
+#include <m_database.h>
+#include <m_clist.h>
+#include <m_langpack.h>
+#include <m_history.h>
+#include <m_protomod.h>
+#include <m_autoreplacer.h>
+#include <m_skin.h>
+#include <m_protosvc.h>
+#include <m_icq.h>
+#include <m_protosvc.h>
+#include <m_system.h>
+#include <m_utils.h>
+#include <m_options.h>
+#include <win2k.h>
+
#include "resource.h"
-#include "m_skin.h"
-#include "m_protosvc.h"
-#include "m_icq.h"
-#include "m_protosvc.h"
-#include "m_system.h"
-#include "m_utils.h"
-#include "m_options.h"
-#include "m_updater.h"
-#include "win2k.h"
+#include "version.h"
+extern HINSTANCE hInst;
// структура содержащая информацию по построению меню или расширеных иконок
struct GUI_DISPLAY_ITEM
@@ -87,14 +92,11 @@ struct SERVICE_ITEM
};
-
-
#include "SMSConstans.h"
#include "senddlg.h"
#include "recvdlg.h"
-
#define MAIN_MENU_ITEMS_COUNT 1
#define CONTACT_MENU_ITEMS_COUNT 1
@@ -226,11 +228,4 @@ void StartSmsSend(HWND hWndDlg,SIZE_T dwModuleIndex,LPWSTR lpwszPhone,SIZE_T dwP
-
-
-
-
-
-
-
#endif \ No newline at end of file
diff --git a/plugins/!NotAdopted/SMS/functions.cpp b/plugins/SMS/src/functions.cpp
index aebafa42d8..07a592c67d 100644
--- a/plugins/!NotAdopted/SMS/functions.cpp
+++ b/plugins/SMS/src/functions.cpp
@@ -1,4 +1,4 @@
-#include "main.h"
+#include "common.h"
diff --git a/plugins/!NotAdopted/SMS/main.cpp b/plugins/SMS/src/main.cpp
index 051064ac4d..bbf821ed03 100644
--- a/plugins/!NotAdopted/SMS/main.cpp
+++ b/plugins/SMS/src/main.cpp
@@ -25,12 +25,12 @@ All the information needed you can find at www.nuke007.tk
Enjoy the code and use it smartly!
*/
-#include "main.h"
-
+#include "common.h"
+/*
extern "C" __declspec(naked) void __cdecl _chkstk()
{
#define _PAGESIZE_ 4096
@@ -140,42 +140,45 @@ extern "C" void __declspec(naked) __cdecl _aulldiv()
+*/
+int hLangpack;
+HINSTANCE hInst;
-MM_INTERFACE mmi;
-PLUGINLINK *pluginLink;
SMS_SETTINGS ssSMSSettings;
-PLUGININFOEX pluginInfoEx={
+PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
- PROTOCOL_DISPLAY_NAME_ORIG" (Unicode)",
- PLUGIN_VERSION_DWORD,
- "Send SMS text messages to mobile phones through the IM networks",
- "Richard Hughes, Improved by Ariel Shulman, rewritten by Rozhuk Ivan",
- "Rozhuk_I@mail.ru",
- "© 2001-2 Richard Hughes, 2003 Ariel Shulman, 2007-2009 Rozhuk Ivan (Rozhuk_I@mail.ru)",
- "http://miranda-icq.sourceforge.net/",
- UNICODE_AWARE, //not transient
- 0, //doesn't replace anything built-in
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ UNICODE_AWARE,
// {70AC2AC9-85C6-4624-9B05-24733FEBB052}
SMS_GUID
};
-extern "C" __declspec(dllexport) const MUUID interfaces[]={SMS_GUID,MIID_LAST};
-
+extern "C" __declspec(dllexport) const MUUID interfaces[] = {SMS_GUID,MIID_LAST};
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+{
+ return &pluginInfo;
+}
int OnModulesLoaded (WPARAM wParam,LPARAM lParam);
int OnPreShutdown (WPARAM wParam,LPARAM lParam);
void VersionConversions();
-
-
BOOL WINAPI DllMain(HINSTANCE hInstance,DWORD dwReason,LPVOID lpvReserved)
{
- switch(dwReason){
+ hInst = hInstance;
+
+ switch(dwReason){
case DLL_PROCESS_ATTACH:
ZeroMemory(&ssSMSSettings,sizeof(ssSMSSettings));
ssSMSSettings.hInstance=hInstance;
@@ -189,36 +192,13 @@ BOOL WINAPI DllMain(HINSTANCE hInstance,DWORD dwReason,LPVOID lpvReserved)
case DLL_THREAD_DETACH:
break;
}
-return(TRUE);
-}
-
-__declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
-{
- if (mirandaVersion<MIN_MIR_VER_VERSION_DWORD)
- {
- MessageBox(NULL,TEXT("Pleace, update your Miranda NG, SMS will not load with this version."),NULL,(MB_OK|MB_ICONERROR));
- return(NULL);
- }
-return(&pluginInfoEx);
-}
-__declspec(dllexport) PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
-{
-return((PLUGININFO*)MirandaPluginInfoEx(mirandaVersion));
+ return(TRUE);
}
-
-__declspec(dllexport) const MUUID* MirandaPluginInterfaces()
-{
-return(interfaces);
-}
-
-
-
-int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink=link;
- mir_getMMI(&mmi);
+ mir_getLP(&pluginInfo);
ssSMSSettings.hHookModulesLoaded=HookEvent(ME_SYSTEM_MODULESLOADED,OnModulesLoaded);
ssSMSSettings.hHookPreShutdown=HookEvent(ME_SYSTEM_PRESHUTDOWN,OnPreShutdown);
@@ -228,32 +208,28 @@ int __declspec(dllexport) Load(PLUGINLINK *link)
LoadServices();
-return(0);
+ return 0;
}
-int __declspec(dllexport) Unload(void)
+extern "C" int __declspec(dllexport) Unload(void)
{
UnloadServices();
if (ssSMSSettings.hHookPreShutdown) {UnhookEvent(ssSMSSettings.hHookPreShutdown); ssSMSSettings.hHookPreShutdown=NULL;}
if (ssSMSSettings.hHookModulesLoaded) {UnhookEvent(ssSMSSettings.hHookModulesLoaded); ssSMSSettings.hHookModulesLoaded=NULL;}
- SecureZeroMemory(pluginLink,sizeof(pluginLink));
- SecureZeroMemory(&mmi,sizeof(pluginLink));
-
-return(0);
+ return 0;
}
+
int OnModulesLoaded(WPARAM wParam,LPARAM lParam)
{
VersionConversions();
LoadModules();
- CallService(MS_UPDATE_REGISTERFL,(WPARAM)SMS_PLUGIN_UPDATER_ID,(LPARAM)&pluginInfoEx);
-
-return(0);
+ return(0);
}
diff --git a/plugins/!NotAdopted/SMS/options.cpp b/plugins/SMS/src/options.cpp
index dd52602484..d34d5187eb 100644
--- a/plugins/!NotAdopted/SMS/options.cpp
+++ b/plugins/SMS/src/options.cpp
@@ -24,7 +24,7 @@ For any comments, problems, etc. contact me at Miranda-IM forums or E-Mail or IC
All the information needed you can find at www.nuke007.tk
Enjoy the code and use it smartly!
*/
-#include "main.h"
+#include "common.h"
@@ -110,7 +110,8 @@ int OptInitialise(WPARAM wParam,LPARAM lParam)
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_SMSPLUGIN);
odp.ptszTitle=PROTOCOL_DISPLAY_NAME_ORIGW;
odp.pfnDlgProc=DlgProcEditorOptions;
- CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
-return(0);
+
+ Options_AddPage(wParam, &odp);
+ return 0;
}
diff --git a/plugins/!NotAdopted/SMS/receive.cpp b/plugins/SMS/src/receive.cpp
index 24a1df5be5..fe7fd9848c 100644
--- a/plugins/!NotAdopted/SMS/receive.cpp
+++ b/plugins/SMS/src/receive.cpp
@@ -25,7 +25,7 @@ All the information needed you can find at www.nuke007.tk
Enjoy the code and use it smartly!
*/
-#include "main.h"
+#include "common.h"
diff --git a/plugins/!NotAdopted/SMS/recvdlg.cpp b/plugins/SMS/src/recvdlg.cpp
index ec3998edfc..58c33d044e 100644
--- a/plugins/!NotAdopted/SMS/recvdlg.cpp
+++ b/plugins/SMS/src/recvdlg.cpp
@@ -25,7 +25,7 @@ All the information needed you can find at www.nuke007.tk
Enjoy the code and use it smartly!
*/
-#include "main.h"
+#include "common.h"
#include "recvdlg.h"
//Defnition needed to the SMS window list
diff --git a/plugins/!NotAdopted/SMS/recvdlg.h b/plugins/SMS/src/recvdlg.h
index a34231b255..a34231b255 100644
--- a/plugins/!NotAdopted/SMS/recvdlg.h
+++ b/plugins/SMS/src/recvdlg.h
diff --git a/plugins/!NotAdopted/SMS/resource.h b/plugins/SMS/src/resource.h
index 3a7e98455d..3a7e98455d 100644
--- a/plugins/!NotAdopted/SMS/resource.h
+++ b/plugins/SMS/src/resource.h
diff --git a/plugins/!NotAdopted/SMS/send.cpp b/plugins/SMS/src/send.cpp
index fdfc80ffd8..fda9c490db 100644
--- a/plugins/!NotAdopted/SMS/send.cpp
+++ b/plugins/SMS/src/send.cpp
@@ -25,7 +25,7 @@ All the information needed you can find at www.nuke007.tk
Enjoy the code and use it smartly!
*/
-#include "main.h"
+#include "common.h"
diff --git a/plugins/!NotAdopted/SMS/senddlg.cpp b/plugins/SMS/src/senddlg.cpp
index dbecd20ec6..6836a6fa09 100644
--- a/plugins/!NotAdopted/SMS/senddlg.cpp
+++ b/plugins/SMS/src/senddlg.cpp
@@ -25,7 +25,7 @@ All the information needed you can find at www.nuke007.tk
Enjoy the code and use it smartly!
*/
-#include "main.h"
+#include "common.h"
@@ -93,7 +93,7 @@ BOOL CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM lPar
switch(message){
case WM_INITDIALOG:
TranslateDialogDefault(hWndDlg); //Translate intially - bid
- AddWinHandle(GetDlgItem(hWndDlg,IDC_MESSAGE));
+ ////////AddWinHandle(GetDlgItem(hWndDlg,IDC_MESSAGE));
psswdWindowData=(SEND_SMS_WINDOW_DATA*)lParam;
SetWindowLongPtr(hWndDlg,GWL_USERDATA,(LONG_PTR)lParam);
@@ -516,7 +516,7 @@ BOOL CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM lPar
case WM_CLOSE:
DeleteObject((HFONT)SEND_DLG_ITEM_MESSAGE(hWndDlg,IDC_MESSAGE,WM_GETFONT,0,0));
DeleteObject(psswdWindowData->hBkgBrush);
- RemWinHandle(GetDlgItem(hWndDlg,IDC_MESSAGE));
+ ////////RemWinHandle(GetDlgItem(hWndDlg,IDC_MESSAGE));
KillTimer(GetParent(hWndDlg),TIMERID_MSGSEND);
SendSMSWindowRemove(hWndDlg);
break;
diff --git a/plugins/!NotAdopted/SMS/senddlg.h b/plugins/SMS/src/senddlg.h
index 225cf80f28..225cf80f28 100644
--- a/plugins/!NotAdopted/SMS/senddlg.h
+++ b/plugins/SMS/src/senddlg.h
diff --git a/plugins/SMS/src/stdafx.cpp b/plugins/SMS/src/stdafx.cpp
new file mode 100644
index 0000000000..7a516adf58
--- /dev/null
+++ b/plugins/SMS/src/stdafx.cpp
@@ -0,0 +1,18 @@
+/*
+Copyright (C) 2012 Miranda NG team (http://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#include "common.h" \ No newline at end of file