From d472416d3e24ecc00083369d0a91c2ce1144f295 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 7 Jun 2012 11:59:59 +0000 Subject: removed not needed files git-svn-id: http://svn.miranda-ng.org/main/trunk@354 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/README.SOURCE | 25 - plugins/Db3x/Makefile | 53 - plugins/Db3x_mmap/Makefile | 53 - plugins/Db3x_mmap/resource.rc | 2 - plugins/Db_autobackups/resource.rc | 2 - plugins/Dbx_mmap_SA/resource.rc | 2 - plugins/ExtraIcons/.cproject | 993 ---------- plugins/ExtraIcons/.project | 70 - plugins/MenuItemEx/DoIt.bat | 16 - plugins/MetaContacts/resource.rc | 6 - plugins/Modernb/.cvsignore | 1 - .../_disabled_src/ExtFrames/modern_ext_frames.c | 54 - .../ExtFrames/modern_ext_frames_extern.c | 99 - .../ExtFrames/modern_ext_frames_intern.c | 195 -- .../ExtFrames/modern_ext_frames_opt.c | 346 ---- .../ExtFrames/modern_ext_frames_private.h | 132 -- .../ExtFrames/modern_ext_frames_services.c | 386 ---- plugins/Modernb/_disabled_src/forkthread.c | 103 -- plugins/Modernb/_disabled_src/forkthread.h | 63 - plugins/Modernb/_disabled_src/groups.c | 525 ------ plugins/Modernb/_disabled_src/modern_layout.c | 44 - plugins/Modernb/_disabled_src/skinpp.cpp | 181 -- plugins/Modernb/_disabled_src/skinpp.h | 48 - plugins/Modernb/_disabled_src/skinpp_object.cpp | 71 - plugins/Modernb/_disabled_src/skinpp_object.h | 49 - .../Modernb/_disabled_src/skinpp_object_glyph.cpp | 122 -- .../Modernb/_disabled_src/skinpp_object_glyph.h | 75 - plugins/Modernb/_disabled_src/skinpp_private.h | 143 -- plugins/Modernb/_disabled_src/stdafx.cpp | 56 - plugins/Modernb/msvc6.rc | 2 - plugins/NewAwaySysMod/resources.rc | 6 - plugins/Popup/Deprecated/notify_imp.cpp | 296 --- plugins/Popup/Deprecated/notify_imp.h | 39 - plugins/Popup/Deprecated/opt_notify.cpp | 446 ----- plugins/Popup/Deprecated/opt_notify.h | 38 - plugins/Popup/Deprecated/opt_old.cpp | 87 - plugins/Popup/Deprecated/opt_old.h | 39 - plugins/Popup/Deprecated/res_notify.h | 36 - plugins/Popup/Deprecated/res_notify.rc | 135 -- plugins/Popup/res_vc6.rc | 2 - plugins/Scriver/Makefile | 41 - plugins/Scriver/MakefileA | 41 - plugins/Scriver/MakefileIcons | 41 - plugins/Scriver/MakefileUbuntu | 41 - plugins/SmileyAdd/mingw-comp.bat | 3 - plugins/SplashScreen/src/msvc6.rc | 2 - plugins/StatusPlugins/AdvancedAutoAway/fsm.sdr | Bin 18219 -> 0 bytes plugins/StatusPlugins/AdvancedAutoAway/pack.cmd | 42 - plugins/StatusPlugins/KeepStatus/pack.cmd | 44 - plugins/StatusPlugins/StartupStatus/pack.cmd | 42 - plugins/StatusPlugins/lpgen.pl | 212 --- plugins/StopSpamPlus/res/resource.rc | 2 - plugins/Svc_dbepp/dbeditorpp.opt | Bin 49664 -> 0 bytes plugins/Svc_vi/docs/Pack files/files_release.txt | 1 - .../Svc_vi/docs/Pack files/files_releasex64.txt | 1 - plugins/Svc_vi/docs/Pack files/files_source.txt | 4 - .../Svc_vi/docs/Pack files/files_source_ignore.txt | 4 - plugins/Svc_vi/docs/pack source.bat | 8 - plugins/Svc_vi/docs/pack symbols.bat | 9 - plugins/Svc_vi/docs/pack x64.bat | 10 - plugins/Svc_vi/docs/pack.bat | 10 - plugins/Svc_vi/docs/symbols_exclude.txt | 1 - plugins/TabSRMM/.cproject | 1892 -------------------- plugins/TabSRMM/.project | 82 - plugins/TabSRMM/BuildScripts/VS_2010_Toolset9.bat | 18 - plugins/TabSRMM/BuildScripts/Visual | 1 - plugins/TabSRMM/DEPRECATED/tabSRMM.sln | 58 - plugins/TabSRMM/DEPRECATED/tabsrmm.vcproj | 1076 ----------- plugins/TabSRMM/DEPRECATED/tabsrmm_9.sln | 38 - plugins/TabSRMM/Makefile | 129 -- plugins/TabSRMM/pack.cmd | 24 - plugins/TabSRMM/sdkbuild.bat | 13 - plugins/TabSRMM/tabsrmm_private.rc | 18 - plugins/TipperYM/DoIt.bat | 58 - plugins/Updater/resource.rc | 6 - plugins/UserInfoEx/_clear.cmd | 22 - plugins/UserInfoEx/_publishall.cmd | 23 - plugins/UserInfoEx/_publishbin.cmd | 65 - plugins/Variables/Makefile | 47 - plugins/Variables/pack.cmd | 35 - plugins/Variables/resource.rc | 2 - plugins/Variables/variables.spec | 3 - plugins/YAPP/resource.rc | 2 - plugins/mTextControl/mtextcontrol.opt | Bin 50688 -> 0 bytes protocols/AimOscar/Makefile | 126 -- protocols/AimOscar/aim.dev | 267 --- protocols/IRCG/resource.rc | 2 - protocols/JabberG/msvc6.rc | 2 - protocols/MSN/resource.rc | 2 - protocols/Weather/mingw-comp.bat | 2 - protocols/YAMN/mingw/base.dev | 69 - protocols/YAMN/mingw/base.win | 38 - protocols/YAMN/mingw/simple.dev | 59 - protocols/YAMN/mingw/simple.win | 35 - protocols/YAMN/mingw/yamn-2in1.dev | 469 ----- protocols/YAMN/mingw/yamn-2in1.win | 92 - protocols/YAMN/mingw/yamn-w9x.dev | 469 ----- protocols/YAMN/mingw/yamn-w9x.win | 92 - protocols/YAMN/mingw/yamn.dev | 469 ----- protocols/YAMN/mingw/yamn.win | 92 - protocols/Yahoo/Makefile.win | 76 - protocols/Yahoo/yahoo.dev | 539 ------ src/manifest.rc | 8 - 103 files changed, 12120 deletions(-) delete mode 100644 plugins/AVS/README.SOURCE delete mode 100644 plugins/Db3x/Makefile delete mode 100644 plugins/Db3x_mmap/Makefile delete mode 100644 plugins/Db3x_mmap/resource.rc delete mode 100644 plugins/Db_autobackups/resource.rc delete mode 100644 plugins/Dbx_mmap_SA/resource.rc delete mode 100644 plugins/ExtraIcons/.cproject delete mode 100644 plugins/ExtraIcons/.project delete mode 100644 plugins/MenuItemEx/DoIt.bat delete mode 100644 plugins/MetaContacts/resource.rc delete mode 100644 plugins/Modernb/.cvsignore delete mode 100644 plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames.c delete mode 100644 plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_extern.c delete mode 100644 plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_intern.c delete mode 100644 plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_opt.c delete mode 100644 plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_private.h delete mode 100644 plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_services.c delete mode 100644 plugins/Modernb/_disabled_src/forkthread.c delete mode 100644 plugins/Modernb/_disabled_src/forkthread.h delete mode 100644 plugins/Modernb/_disabled_src/groups.c delete mode 100644 plugins/Modernb/_disabled_src/modern_layout.c delete mode 100644 plugins/Modernb/_disabled_src/skinpp.cpp delete mode 100644 plugins/Modernb/_disabled_src/skinpp.h delete mode 100644 plugins/Modernb/_disabled_src/skinpp_object.cpp delete mode 100644 plugins/Modernb/_disabled_src/skinpp_object.h delete mode 100644 plugins/Modernb/_disabled_src/skinpp_object_glyph.cpp delete mode 100644 plugins/Modernb/_disabled_src/skinpp_object_glyph.h delete mode 100644 plugins/Modernb/_disabled_src/skinpp_private.h delete mode 100644 plugins/Modernb/_disabled_src/stdafx.cpp delete mode 100644 plugins/Modernb/msvc6.rc delete mode 100644 plugins/NewAwaySysMod/resources.rc delete mode 100644 plugins/Popup/Deprecated/notify_imp.cpp delete mode 100644 plugins/Popup/Deprecated/notify_imp.h delete mode 100644 plugins/Popup/Deprecated/opt_notify.cpp delete mode 100644 plugins/Popup/Deprecated/opt_notify.h delete mode 100644 plugins/Popup/Deprecated/opt_old.cpp delete mode 100644 plugins/Popup/Deprecated/opt_old.h delete mode 100644 plugins/Popup/Deprecated/res_notify.h delete mode 100644 plugins/Popup/Deprecated/res_notify.rc delete mode 100644 plugins/Popup/res_vc6.rc delete mode 100644 plugins/Scriver/Makefile delete mode 100644 plugins/Scriver/MakefileA delete mode 100644 plugins/Scriver/MakefileIcons delete mode 100644 plugins/Scriver/MakefileUbuntu delete mode 100644 plugins/SmileyAdd/mingw-comp.bat delete mode 100644 plugins/SplashScreen/src/msvc6.rc delete mode 100644 plugins/StatusPlugins/AdvancedAutoAway/fsm.sdr delete mode 100644 plugins/StatusPlugins/AdvancedAutoAway/pack.cmd delete mode 100644 plugins/StatusPlugins/KeepStatus/pack.cmd delete mode 100644 plugins/StatusPlugins/StartupStatus/pack.cmd delete mode 100644 plugins/StatusPlugins/lpgen.pl delete mode 100644 plugins/StopSpamPlus/res/resource.rc delete mode 100644 plugins/Svc_dbepp/dbeditorpp.opt delete mode 100644 plugins/Svc_vi/docs/Pack files/files_release.txt delete mode 100644 plugins/Svc_vi/docs/Pack files/files_releasex64.txt delete mode 100644 plugins/Svc_vi/docs/Pack files/files_source.txt delete mode 100644 plugins/Svc_vi/docs/Pack files/files_source_ignore.txt delete mode 100644 plugins/Svc_vi/docs/pack source.bat delete mode 100644 plugins/Svc_vi/docs/pack symbols.bat delete mode 100644 plugins/Svc_vi/docs/pack x64.bat delete mode 100644 plugins/Svc_vi/docs/pack.bat delete mode 100644 plugins/Svc_vi/docs/symbols_exclude.txt delete mode 100644 plugins/TabSRMM/.cproject delete mode 100644 plugins/TabSRMM/.project delete mode 100644 plugins/TabSRMM/BuildScripts/VS_2010_Toolset9.bat delete mode 100644 plugins/TabSRMM/BuildScripts/Visual delete mode 100644 plugins/TabSRMM/DEPRECATED/tabSRMM.sln delete mode 100644 plugins/TabSRMM/DEPRECATED/tabsrmm.vcproj delete mode 100644 plugins/TabSRMM/DEPRECATED/tabsrmm_9.sln delete mode 100644 plugins/TabSRMM/Makefile delete mode 100644 plugins/TabSRMM/pack.cmd delete mode 100644 plugins/TabSRMM/sdkbuild.bat delete mode 100644 plugins/TabSRMM/tabsrmm_private.rc delete mode 100644 plugins/TipperYM/DoIt.bat delete mode 100644 plugins/Updater/resource.rc delete mode 100644 plugins/UserInfoEx/_clear.cmd delete mode 100644 plugins/UserInfoEx/_publishall.cmd delete mode 100644 plugins/UserInfoEx/_publishbin.cmd delete mode 100644 plugins/Variables/Makefile delete mode 100644 plugins/Variables/pack.cmd delete mode 100644 plugins/Variables/resource.rc delete mode 100644 plugins/Variables/variables.spec delete mode 100644 plugins/YAPP/resource.rc delete mode 100644 plugins/mTextControl/mtextcontrol.opt delete mode 100644 protocols/AimOscar/Makefile delete mode 100644 protocols/AimOscar/aim.dev delete mode 100644 protocols/IRCG/resource.rc delete mode 100644 protocols/JabberG/msvc6.rc delete mode 100644 protocols/MSN/resource.rc delete mode 100644 protocols/Weather/mingw-comp.bat delete mode 100644 protocols/YAMN/mingw/base.dev delete mode 100644 protocols/YAMN/mingw/base.win delete mode 100644 protocols/YAMN/mingw/simple.dev delete mode 100644 protocols/YAMN/mingw/simple.win delete mode 100644 protocols/YAMN/mingw/yamn-2in1.dev delete mode 100644 protocols/YAMN/mingw/yamn-2in1.win delete mode 100644 protocols/YAMN/mingw/yamn-w9x.dev delete mode 100644 protocols/YAMN/mingw/yamn-w9x.win delete mode 100644 protocols/YAMN/mingw/yamn.dev delete mode 100644 protocols/YAMN/mingw/yamn.win delete mode 100644 protocols/Yahoo/Makefile.win delete mode 100644 protocols/Yahoo/yahoo.dev delete mode 100644 src/manifest.rc diff --git a/plugins/AVS/README.SOURCE b/plugins/AVS/README.SOURCE deleted file mode 100644 index 5f87280afe..0000000000 --- a/plugins/AVS/README.SOURCE +++ /dev/null @@ -1,25 +0,0 @@ - -Source code for the loadavatars (avatar service plugin) is available via -anonymous SVN at: - -http://svn.berlios.de/svnroot/repos/mimplugins/trunk/avs/ - -You need a SVN client to access this, I recommend TortoiseSVN for Windows which -is easy to use and provides a good UI. - -To compile, you need a complete checkout of Mirandas main source repository and -Visual C++ 6 with service pack 6 + the latest platform SDK installed. - -Project files are provided for Visual C++ 6 and Visual Studio 2005 (aka Visual -C++ 8). The sources may compile with Mingw32/GCC, but this is not supported at -this time. - -This plugin for the Miranda Instant messenger is licensed under the GNU -General Public License Version 2. - -The code was written by: - -Nightwish (silvercircle@gmail.com) (original idea and implementation) -Pescuma (major rewrite for version 0.0.2.0 with new request/poll code and most of - the image manipulation utilities). - diff --git a/plugins/Db3x/Makefile b/plugins/Db3x/Makefile deleted file mode 100644 index 5a7563001f..0000000000 --- a/plugins/Db3x/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -SRC = commonheaders.c \ - database.c \ - dbcache.c \ - dbcontacts.c \ - dbevents.c \ - dbheaders.c \ - dbini.c \ - dblists.c \ - dbmodulechain.c \ - dbsettings.c \ - dbtime.c \ - encrypt.c \ - init.c -OBJ = $(SRC:.c=.o) -RES = resource.res -LIB = -lgdi32 -lversion -lcomctl32 -lcomdlg32 -lole32 - -CC = gcc -RC = windres -RM = rm - -# Install location -ifdef DEBUG -BIN = ..\..\bin\debug\plugins\dbx_3x.dll -else -BIN = ..\..\bin\release\plugins\dbx_3x.dll -endif - -# Defines -DEFINES = -DWIN32 -D__SEH_NOOP -ifdef DEBUG -DEFINES := $(DEFINES) -D_DEBUG -endif - -# Flags -LFLAGS = -shared -RCFLAGS = --input-format rc --output-format coff -ifdef DEBUG -CFLAGS = -g $(DEFINES) -I../../include -else -CFLAGS = -O1 $(DEFINES) -I../../include -endif - -# Targets -all : $(OBJ) $(RES) - $(CC) $(LFLAGS) $(CFLAGS) -o $(BIN) $(OBJ) $(RES) $(LIB) -Wl - -$(RES) : $(RES:.res=.rc) $(RES:.res=.h) Makefile - $(RC) $(RCFLAGS) -o $(RES) -i $(RES:.res=.rc) - -clean : - $(RM) -f $(OBJ) $(RES) - diff --git a/plugins/Db3x_mmap/Makefile b/plugins/Db3x_mmap/Makefile deleted file mode 100644 index 5a7563001f..0000000000 --- a/plugins/Db3x_mmap/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -SRC = commonheaders.c \ - database.c \ - dbcache.c \ - dbcontacts.c \ - dbevents.c \ - dbheaders.c \ - dbini.c \ - dblists.c \ - dbmodulechain.c \ - dbsettings.c \ - dbtime.c \ - encrypt.c \ - init.c -OBJ = $(SRC:.c=.o) -RES = resource.res -LIB = -lgdi32 -lversion -lcomctl32 -lcomdlg32 -lole32 - -CC = gcc -RC = windres -RM = rm - -# Install location -ifdef DEBUG -BIN = ..\..\bin\debug\plugins\dbx_3x.dll -else -BIN = ..\..\bin\release\plugins\dbx_3x.dll -endif - -# Defines -DEFINES = -DWIN32 -D__SEH_NOOP -ifdef DEBUG -DEFINES := $(DEFINES) -D_DEBUG -endif - -# Flags -LFLAGS = -shared -RCFLAGS = --input-format rc --output-format coff -ifdef DEBUG -CFLAGS = -g $(DEFINES) -I../../include -else -CFLAGS = -O1 $(DEFINES) -I../../include -endif - -# Targets -all : $(OBJ) $(RES) - $(CC) $(LFLAGS) $(CFLAGS) -o $(BIN) $(OBJ) $(RES) $(LIB) -Wl - -$(RES) : $(RES:.res=.rc) $(RES:.res=.h) Makefile - $(RC) $(RCFLAGS) -o $(RES) -i $(RES:.res=.rc) - -clean : - $(RM) -f $(OBJ) $(RES) - diff --git a/plugins/Db3x_mmap/resource.rc b/plugins/Db3x_mmap/resource.rc deleted file mode 100644 index 47b87e4156..0000000000 --- a/plugins/Db3x_mmap/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "db3x_mmap.rc" -#include "version.rc" diff --git a/plugins/Db_autobackups/resource.rc b/plugins/Db_autobackups/resource.rc deleted file mode 100644 index 42f5b0b55b..0000000000 --- a/plugins/Db_autobackups/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "db_autobackups.rc" -#include "version.rc" diff --git a/plugins/Dbx_mmap_SA/resource.rc b/plugins/Dbx_mmap_SA/resource.rc deleted file mode 100644 index 47b87e4156..0000000000 --- a/plugins/Dbx_mmap_SA/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "db3x_mmap.rc" -#include "version.rc" diff --git a/plugins/ExtraIcons/.cproject b/plugins/ExtraIcons/.cproject deleted file mode 100644 index 39d4b46fc7..0000000000 --- a/plugins/ExtraIcons/.cproject +++ /dev/null @@ -1,993 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -make - -build -true -true -true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -make - -build -true -true -true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/ExtraIcons/.project b/plugins/ExtraIcons/.project deleted file mode 100644 index f451e2b4bc..0000000000 --- a/plugins/ExtraIcons/.project +++ /dev/null @@ -1,70 +0,0 @@ - - - extraicons - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - ?name? - - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.buildArguments - - - - org.eclipse.cdt.make.core.buildCommand - make - - - org.eclipse.cdt.make.core.buildLocation - ${workspace_loc:/extraicons/Debug} - - - org.eclipse.cdt.make.core.contents - org.eclipse.cdt.make.core.activeConfigSettings - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.stopOnError - true - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - true - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - - - - - - org.eclipse.cdt.core.ccnature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.core.cnature - - diff --git a/plugins/MenuItemEx/DoIt.bat b/plugins/MenuItemEx/DoIt.bat deleted file mode 100644 index 0496f199bc..0000000000 --- a/plugins/MenuItemEx/DoIt.bat +++ /dev/null @@ -1,16 +0,0 @@ -"%ProgramFiles%\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe" /REBUILD "Release" menuex.sln -"%ProgramFiles%\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe" /REBUILD "Release Unicode" menuex.sln -"%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /REBUILD "Release Unicode|x64" menuex_9.sln -if not exist plugins md plugins -copy /Y Release\plugins\MenuEx.dll plugins\MenuEx.dll -if exist menuitemex.zip del menuitemex.zip -"%ProgramFiles%\7-Zip\7z.exe" a -mx9 menuitemex.zip plugins\MenuEx.dll docs\menuex_changelog.txt -copy /Y "Release Unicode\plugins\MenuEx.dll" plugins\MenuEx.dll -if exist menuitemexw.zip del menuitemexw.zip -"%ProgramFiles%\7-Zip\7z.exe" a -mx9 menuitemexw.zip plugins\MenuEx.dll docs\menuex_changelog.txt -copy /Y "Release Unicode x64\plugins\MenuEx.dll" plugins\MenuEx.dll -if exist menuitemexxw.zip del menuitemexxw.zip -"%ProgramFiles%\7-Zip\7z.exe" a -mx9 menuitemexxw.zip plugins\MenuEx.dll docs\menuex_changelog.txt -del plugins\MenuEx.dll -if exist menuitemex_src.zip del menuitemex_src.zip -"%ProgramFiles%\7-Zip\7z.exe" a -mx9 menuitemex_src.zip *.c *.h *.rc *.vcproj *.vcxproj *.vcxproj.filters sdk\*.h icons\*.ico docs\*.txt diff --git a/plugins/MetaContacts/resource.rc b/plugins/MetaContacts/resource.rc deleted file mode 100644 index 5557199080..0000000000 --- a/plugins/MetaContacts/resource.rc +++ /dev/null @@ -1,6 +0,0 @@ - -// this makes our dependencies work better -#include "version.h" - -#include "MetaContacts.rc" -#include "version.rc" diff --git a/plugins/Modernb/.cvsignore b/plugins/Modernb/.cvsignore deleted file mode 100644 index 409184b388..0000000000 --- a/plugins/Modernb/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -.svn \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames.c b/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames.c deleted file mode 100644 index f43402138d..0000000000 --- a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames.c +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************\ - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this code base are copyrighted to Artem Shpynov and/or -the people listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Mar 19, 2007 - -Author and Copyright: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains implementation of vertical and horizontal frames layout -Module will substitute existed CLUIFrames feature - -The goal is to be: -1. Back compatibable with CLUIFrames services -2. Support Transparent frames -3. Be able to create Horizontal and Vertical layouted frames -4. Implement fast and unflicker resizing (one pass batch resizing) including during autoresize -5. Support snapped to its edges frames, and probably other windows - -\**************************************************************************/ - -#include "..\commonheaders.h" - -#define __modern_ext_frames_c__include_c_file - -#include "modern_ext_frames_private.h" //static definitions -#include "modern_ext_frames_extern.c" //external available procedures -#include "modern_ext_frames_intern.c" //static internal procedures -#include "modern_ext_frames_services.c" //services -#include "modern_ext_frames_opt.c" //options - -#undef __modern_ext_frames_c__include_c_file - diff --git a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_extern.c b/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_extern.c deleted file mode 100644 index fb5f8b2847..0000000000 --- a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_extern.c +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************\ - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this code base are copyrighted to Artem Shpynov and/or -the people listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Mar 19, 2007 - -Author and Copyright: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains realization of externaly available procedures -for modern_ext_frames.c module. - -This file have to be excluded from compilation and need to be adde to project via -#include preprocessor derective in modern_ext_frames.c - -\**************************************************************************/ - -#include "..\commonheaders.h" //only for precompiled headers - -#ifdef __modern_ext_frames_c__include_c_file //protection from adding to compilation -int ExtFrames_Init() -{ - if (ExtFrames.bModuleActive) return 0; - InitializeCriticalSection(&ExtFrames.CS); - ExtFrames.List=li.List_Create(0,1); - ExtFrames.List->sortFunc=_ExtFramesUtils_CopmareFrames; - _ExtFrames_InitServices(); - ExtFrames.bModuleActive = TRUE; - return 1; -} - -int ExtFrames_Uninit() -{ - efcheck 0; - eflock; - { - ExtFrames.bModuleActive = FALSE; - _ExtFrames_UninitServices(); - li_ListDestruct(ExtFrames.List, _ExtFrames_DestructorOf_EXTFRAMEWND); - ExtFrames.bModuleActive = FALSE; - } - efunlock; - DeleteCriticalSection(&ExtFrames.CS); - return 1; -} -int ExtFrames_GetMinWindowSize( OUT SIZE * size ) -{ - int minCX=0; - int minCY=0; - - efcheck 0; - eflock; - minCY=_ExtFrames_GetMinParentSize(ExtFrames.List, size); - efunlock; - return minCY; -} - -int ExtFrames_GetMaxCLCHeight( IN int iMaxDueDesk ) -{ - int maxHeight=iMaxDueDesk; - efcheck 0; - eflock; - { - int i=ExtFrames.List->realCount-1; - maxHeight=max(iMaxDueDesk, _ExtFrames_GetMinParentSize(ExtFrames.List,NULL)); - for (; i>0; --i) - { - EXTFRAMEWND * extFrame=(EXTFRAMEWND *)ExtFrames.List->items[i]; - if (extFrame && (extFrame->efrm.dwFlags&F_VISIBLE) && !extFrame->efrm.bFloat && !extFrame->efrm.bNotRegistered) - if (extFrame->efrm.nType==EFT_HORIZONTAL) - maxHeight-=extFrame->efrm.minCY; - } - } - efunlock; - return maxHeight; -} - -#endif \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_intern.c b/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_intern.c deleted file mode 100644 index 4eed16663a..0000000000 --- a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_intern.c +++ /dev/null @@ -1,195 +0,0 @@ -/**************************************************************************\ - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this code base are copyrighted to Artem Shpynov and/or -the people listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Mar 19, 2007 - -Author and Copyright: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains realization of internal only available procedures -for modern_ext_frames.c module. - -This file have to be excluded from compilation and need to be adde to project via -#include preprocessor derective in modern_ext_frames.c - -\**************************************************************************/ - -#include "..\commonheaders.h" //only for precompiled headers - -#ifdef __modern_ext_frames_c__include_c_file //protection from adding to compilation -// Closed module methods -static int _ExtFrames_GetMinParentSize(IN SortedList* pList, OUT SIZE * size ) -{ - EXTFRAME * clcFrame=(EXTFRAME *) pList->items[pList->realCount-1]; - int minCX=clcFrame->minCX; - int minCY=clcFrame->minCY; - int i=pList->realCount-1; - for (; i>0; --i) - { - EXTFRAME * extFrame=(EXTFRAME *)pList->items[i]; - if (extFrame && (extFrame->dwFlags&F_VISIBLE) && !extFrame->bFloat && !extFrame->bNotRegistered) - { - if (extFrame->nType==EFT_VERTICAL) - { - minCX+=extFrame->minCX; - minCY=max( minCY, extFrame->minCY ); - } - else - { - minCY+=extFrame->minCY; - minCX=max( minCX,extFrame->minCX ); - } - } - } - if (size) - { - size->cx=minCX; - size->cy=minCY; - } - return minCY; -} - -static int _ExtFrames_CalcFramesRect(IN SortedList* pList, IN int width, IN int height, OUT RECT * pOutRect ) -{ - int outHeight=height; - int i; - SIZE size; - RECT outRect={0}; - int frmCount=pList->realCount-1; - EXTFRAME * clcFrame=(EXTFRAME *)pList->items[frmCount]; - if (ExtFrames_GetMinWindowSize(&size)) //ensure that we provide normal size - { - width=max(size.cx,width); - height=max(size.cy,height); - } - outRect.right=width; - outRect.bottom=height; - - for (i=0; iitems[i]; - if (extFrame && (extFrame->dwFlags&F_VISIBLE) && !extFrame->bFloat && !extFrame->bNotRegistered) - { - extFrame->rcFrameRect=outRect; - switch(extFrame->nEdge) - { - case EFP_LEFT: - extFrame->rcFrameRect.right=extFrame->rcFrameRect.left+extFrame->minCX; - outRect.left+=extFrame->minCX; - break; - case EFP_RIGHT: - extFrame->rcFrameRect.left=extFrame->rcFrameRect.right-extFrame->minCX; - outRect.right-=extFrame->minCX; - break; - case EFP_TOP: - extFrame->rcFrameRect.bottom=extFrame->rcFrameRect.top+extFrame->minCY; - outRect.top+=extFrame->minCY; - break; - case EFP_BOTTOM: - extFrame->rcFrameRect.top=extFrame->rcFrameRect.bottom-extFrame->minCY; - outRect.bottom-=extFrame->minCY; - break; - } - } - } - clcFrame->rcFrameRect=outRect; - if (pOutRect) - { - pOutRect->top=0; - pOutRect->left=0; - pOutRect->right=width; - pOutRect->bottom=height; - } - outHeight=height; - return height; -} - -static void _ExtFrames_DestructorOf_EXTFRAMEWND(void * extFrame) -{ - EXTFRAMEWND * pExtFrameWnd = (EXTFRAMEWND *) extFrame; - if (!pExtFrameWnd) return; //early exit - if ( pExtFrameWnd->efrm.szFrameNameID ) mir_free( pExtFrameWnd->efrm.szFrameNameID ); - mir_free( pExtFrameWnd ); - return; -} - -static void _ExtFrames_GetFrameDBOption(EXTFRAMEWND * pExtFrm) -{ - // Each known frame order per 1 000 000 - // Each Unknown frame but absent during saving per 10 000 - // Each new unknown per 100 - static DWORD NextUnknownOrder=100; - char szKey[100]={0}; - DWORD dwOrderInDB; - if (!mir_strcmpi(pExtFrm->efrm.szFrameNameID,"My Contacts")) - dwOrderInDB=0xFFFFFFFF; - else - { - _snprintf(szKey,sizeof(szKey), EXTFRAMEORDERDBPREFIX "%s",pExtFrm->efrm.szFrameNameID); - dwOrderInDB=DBGetContactSettingDword(NULL,EXTFRAMEMODULE,szKey,0); - if (!dwOrderInDB) - { - dwOrderInDB=NextUnknownOrder; - NextUnknownOrder+=100; - } - else - NextUnknownOrder = dwOrderInDB + 100; - } - pExtFrm->efrm.dwOrder=dwOrderInDB; - -} -static int _ExtFramesUtils_CopmareFrames(void * first, void * last) -{ - EXTFRAMEWND * pExtFrmWnd1=(EXTFRAMEWND *)first; - EXTFRAMEWND * pExtFrmWnd2=(EXTFRAMEWND *)last; - if (!pExtFrmWnd1 || ! pExtFrmWnd2) return 0; - return pExtFrmWnd1->efrm.dwOrder-pExtFrmWnd2->efrm.dwOrder; -} -static void _ExtFramesUtils_CheckAlighment(EXTFRAMEWND * pExtFrm) -{ - if (!(pExtFrm->efrm.dwFlags&F_CANBEVERTICAL) && pExtFrm->efrm.nType == EFT_VERTICAL) - { - //issue have not be ever Vertical - int minsize = pExtFrm->efrm.minCX; - pExtFrm->efrm.minCX = pExtFrm->efrm.minCY; - pExtFrm->efrm.minCY = minsize; - - pExtFrm->efrm.nType = EFT_HORIZONTAL; - pExtFrm->efrm.nEdge&=(~alVertFrameMask); - - } - else if (pExtFrm->efrm.dwFlags&F_CANBEVERTICAL && !(pExtFrm->efrm.dwFlags&F_CANNOTBEHORIZONTAL) && (pExtFrm->efrm.nType == EFT_HORIZONTAL)) - { - //issue have not be Horizontal - int minsize = pExtFrm->efrm.minCX; - pExtFrm->efrm.minCX = pExtFrm->efrm.minCY; - pExtFrm->efrm.minCY = minsize; - - pExtFrm->efrm.nType=EFT_VERTICAL; - pExtFrm->efrm.nEdge|=alVertFrameMask; - } -} - -#endif \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_opt.c b/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_opt.c deleted file mode 100644 index 7930530a84..0000000000 --- a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_opt.c +++ /dev/null @@ -1,346 +0,0 @@ -/**************************************************************************\ - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this code base are copyrighted to Artem Shpynov and/or -the people listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Mar 19, 2007 - -Author and Copyright: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains realization of options procedures -for modern_ext_frames.c module. - -This file have to be excluded from compilation and need to be adde to project via -#include preprocessor derective in modern_ext_frames.c - -\**************************************************************************/ - -#include "..\commonheaders.h" //only for precompiled headers - -#ifdef __modern_ext_frames_c__include_c_file //protection from adding to compilation - -static SortedList * extFrmOptList=NULL; - -static int _ExtFrames_OptionsDlgInit(WPARAM wParam,LPARAM lParam) -{ - OPTIONSDIALOGPAGE odp; - efcheck 0; - if (MirandaExiting()) return 0; - ZeroMemory(&odp,sizeof(odp)); - odp.cbSize=sizeof(odp); - odp.position=0; - odp.hInstance=g_hInst; - //odp.ptszGroup=TranslateT("Contact List"); - odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_EXTFRAMES); - odp.ptszTitle=LPGENT("Contact List"); - odp.pfnDlgProc=_ExtFrames_DlgProcFrameOpts; - odp.ptszTab=LPGENT("Frames"); - odp.flags=ODPF_BOLDGROUPS|ODPF_EXPERTONLY|ODPF_TCHAR; -#ifdef _DEBUG - CallService(MS_OPT_ADDPAGE,wParam,(LPARAM)&odp); -#endif - return 0; -} - -static int _ExtFramesOptUtils_enumdb_Frames (const char *szSetting,LPARAM lParam) -{ - EXTFRAMEOPTDBENUMERATION * params=(EXTFRAMEOPTDBENUMERATION *)lParam; - char * szName=NULL; - - if (wildcmpi((char*)szSetting,EXTFRAMEORDERDBPREFIX "?*")) - { - char szDBKey[100]; - DWORD nOrder; - EXTFRAMEWND * pExtFrame; - szName=(char*)szSetting+SIZEOF(EXTFRAMEORDERDBPREFIX)-1; - - _snprintf(szDBKey, SIZEOF(szDBKey), EXTFRAMEORDERDBPREFIX"%s", szName); - nOrder=DBGetContactSettingDword(NULL, EXTFRAMEMODULE, szDBKey, 0); - - pExtFrame=mir_alloc(sizeof(EXTFRAMEWND)); - memset(pExtFrame, 0, sizeof(EXTFRAMEWND)); - - pExtFrame->efrm.szFrameNameID = mir_strdup(szName); - pExtFrame->efrm.bNotRegistered = TRUE; - pExtFrame->efrm.dwOrder = nOrder; - li.List_Insert(params->pFrameList, pExtFrame, params->pFrameList->realCount); - } - return 0; -} - -static void _ExtFramesOptUtils_FillListOfFrames(HWND hwndDlg, SortedList * pFrameList) -{ - DBCONTACTENUMSETTINGS dbces; - EXTFRAMEOPTDBENUMERATION params={0}; - int i, j; - - //firstly add all known frames from db as not registered - params.hwndDlg=hwndDlg; - params.pFrameList=pFrameList; - dbces.pfnEnumProc=_ExtFramesOptUtils_enumdb_Frames; - dbces.szModule=EXTFRAMEMODULE; - dbces.ofsSettings=0; - dbces.lParam=(LPARAM)¶ms; - CallService(MS_DB_CONTACT_ENUMSETTINGS,0,(LPARAM)&dbces); - - //now lets check registered frames and if it in list - set registered if not set add - efcheck; - eflock; - { - for (i=0; irealCount; i++) - { - EXTFRAMEWND * pRegExtFrm=(EXTFRAMEWND *)ExtFrames.List->items[i]; - EXTFRAMEWND * pKnownFrm=NULL; - for (j=0; jrealCount; j++) - { - EXTFRAMEWND * pFrm=(EXTFRAMEWND *)pFrameList->items[j]; - if (!mir_strcmpi(pFrm->efrm.szFrameNameID, pRegExtFrm->efrm.szFrameNameID)) - { - pKnownFrm=pFrm; - break; - } - } - if (!pKnownFrm) - { - pKnownFrm=mir_alloc(sizeof(EXTFRAMEWND)); - memset(pKnownFrm, 0, sizeof(EXTFRAMEWND)); - li.List_Insert(pFrameList, pKnownFrm, pFrameList->realCount); - } - if (pKnownFrm->efrm.szFrameNameID) mir_free(pKnownFrm->efrm.szFrameNameID); - *pKnownFrm=*pRegExtFrm; - pKnownFrm->efrm.szFrameNameID = mir_strdup(pRegExtFrm->efrm.szFrameNameID); - } - } - efunlock; - li_SortList(pFrameList,NULL); - //now lets add all Registered and visible frames to frame list - for (i=0; irealCount; i++) - { - EXTFRAMEWND * pFrm=(EXTFRAMEWND *)pFrameList->items[i]; - TCHAR * name=mir_a2t(pFrm->efrm.szFrameNameID); - int idx=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_ADDSTRING, 0, (LPARAM)TranslateTS(name)); - mir_free(name); - SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_SETITEMDATA, idx, (LPARAM) pFrm); - } -} -static void _ExtFramesOptUtils_RenderPreview(HWND hwndDlg, SortedList * pList, HDC hDC) -{ - int i; - RECT rcCLUIWindow; - RECT rcPreviewWindow; - RECT outRect={0}; - float scaleX=1, scaleY=1; - HFONT hFont = (HFONT)SendMessage(hwndDlg,WM_GETFONT,0,0); - LOGFONT lf; - HFONT hNewFont; - void * pCurrSelected=NULL; - int idx=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETCURSEL, 0,0); - int Num=0; - if (idx>=0) - pCurrSelected=(void*)SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETITEMDATA, idx,0); - GetObject(hFont, sizeof(lf), &lf); - - GetWindowRect(pcli->hwndContactList,&rcCLUIWindow); - OffsetRect(&rcCLUIWindow,-rcCLUIWindow.left, -rcCLUIWindow.top); - - GetWindowRect(GetDlgItem(hwndDlg,IDC_PREVIEW),&rcPreviewWindow); - OffsetRect(&rcPreviewWindow,-rcPreviewWindow.left, -rcPreviewWindow.top); - - _ExtFrames_CalcFramesRect(pList, rcCLUIWindow.right, rcCLUIWindow.bottom, &outRect ); - OffsetRect(&outRect,-outRect.left, -outRect.top); - - if (rcCLUIWindow.right) scaleX=((float)rcPreviewWindow.right/outRect.right); - if (rcCLUIWindow.bottom) scaleY=((float)rcPreviewWindow.bottom/outRect.bottom); - - Rectangle(hDC,0,0,rcPreviewWindow.right,rcPreviewWindow.bottom); - for (i=0; irealCount; i++) - { - EXTFRAMEWND * pExtFrm=(EXTFRAMEWND *)pList->items[i]; - - if (pExtFrm->efrm.dwFlags&F_VISIBLE && !pExtFrm->efrm.bNotRegistered && !pExtFrm->efrm.bFloat) - { - if (pExtFrm->efrm.nType&EFT_VERTICAL) - lf.lfEscapement=900; - else - lf.lfEscapement=0; - if (pCurrSelected==pExtFrm) - { - SelectObject(hDC,GetSysColorBrush(COLOR_HIGHLIGHT)); - SetTextColor(hDC,GetSysColor(COLOR_HIGHLIGHTTEXT)); - SetBkColor(hDC,GetSysColor(COLOR_HIGHLIGHT)); - } else { - SelectObject(hDC,GetSysColorBrush(COLOR_WINDOW)); - SetTextColor(hDC,GetSysColor(COLOR_WINDOWTEXT)); - SetBkColor(hDC,GetSysColor(COLOR_WINDOW)); - } - hNewFont=CreateFontIndirect(&lf); - SelectObject(hDC,hNewFont); - - outRect=pExtFrm->efrm.rcFrameRect; - outRect.left=(int)(scaleX*outRect.left); - outRect.top=(int)(scaleY*outRect.top); - outRect.right=(int)(scaleX*outRect.right); - outRect.bottom=(int)(scaleY*outRect.bottom); - Rectangle(hDC,outRect.left,outRect.top,outRect.right,outRect.bottom); - { - char szText[100]; - Num++; - _snprintf(szText,SIZEOF(szText),"%d. <%s>",Num, Translate(pExtFrm->efrm.szFrameNameID)); - DrawTextA(hDC,szText,-1,&outRect,DT_VCENTER|DT_CENTER|DT_NOPREFIX|DT_SINGLELINE); - } - SelectObject(hDC,GetStockObject(SYSTEM_FONT)); - DeleteObject(hNewFont); - } - } - -} - -static void _ExtFramesOptUtils_UpdateFrameOptControl(HWND hwndDlg, SortedList * pList) -{ - int idx=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETCURSEL, 0,0); - int count=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETCOUNT, 0,0); - RECT rcCLUIWindow; - GetWindowRect(pcli->hwndContactList,&rcCLUIWindow); - OffsetRect(&rcCLUIWindow,-rcCLUIWindow.left, -rcCLUIWindow.top); - - EnableWindow(GetDlgItem(hwndDlg,IDC_BUTTON_UP),(idx>0 && idx=0 && idxrealCount; i++) - { - if (afterFrame && pList->items[i]==pFrm2) break; - if (afterFrame) - { - EXTFRAMEWND * pFrm=(EXTFRAMEWND *)pList->items[i]; - if (pFrm->efrm.bNotRegistered) pFrm->efrm.dwOrder=newOrder++; - else break; - } - if (pList->items[i]==pFrm1) - afterFrame=TRUE; - } - -} - -static void _ExtFramesOptUtils_ExchangeItems(HWND hwndDlg, SortedList * pList, int fst, int scnd) -{ - int first,second; - first=min(fst,scnd); - second=max(fst,scnd); - if (first>=0 && second>=0 && first!=second) - { - EXTFRAMEWND * pFrm1=(EXTFRAMEWND *)SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETITEMDATA, first, 0); - EXTFRAMEWND * pFrm2=(EXTFRAMEWND *)SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETITEMDATA, second, 0); - int len=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETTEXTLEN, second, 0); - TCHAR * secondText=mir_alloc(len*sizeof(TCHAR)); - int idx; - SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETTEXT, second, (LPARAM)secondText); - SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_DELETESTRING, second, 0); - idx=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_INSERTSTRING, first, (LPARAM)secondText); - SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_SETITEMDATA, idx, (LPARAM) pFrm2); - //TO DO: change order in li.list - { - int newFirstOrder=pFrm2->efrm.dwOrder; - int newSecondOrder=pFrm1->efrm.dwOrder; - - pFrm1->efrm.dwOrder=newFirstOrder; - pFrm2->efrm.dwOrder=newSecondOrder; - _ExtFramesOptUtils_UpdateNotRegisteredFrames(pList,newFirstOrder, pFrm1, pFrm2 ); - _ExtFramesOptUtils_UpdateNotRegisteredFrames(pList,newSecondOrder, pFrm2, pFrm1 ); - li_SortList(pList,NULL); - } - SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_SETCURSEL, fst, 0); - _ExtFramesOptUtils_UpdateFrameOptControl(hwndDlg,pList); - } -} - -static BOOL CALLBACK _ExtFrames_DlgProcFrameOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) -{ - switch (msg) - { - case WM_DRAWITEM: - if (wParam==IDC_PREVIEW) - { - DRAWITEMSTRUCT * lpDrawItem=(DRAWITEMSTRUCT *)lParam; - _ExtFramesOptUtils_RenderPreview(hwndDlg,extFrmOptList,lpDrawItem->hDC); - return TRUE; - } - break; - case WM_INITDIALOG: - { - TranslateDialogDefault(hwndDlg); - extFrmOptList=li.List_Create(0,1); - extFrmOptList->sortFunc=_ExtFramesUtils_CopmareFrames; - _ExtFramesOptUtils_FillListOfFrames(hwndDlg,extFrmOptList); - _ExtFramesOptUtils_UpdateFrameOptControl(hwndDlg,extFrmOptList); - return TRUE; - } - case WM_COMMAND: - { - if (LOWORD(wParam)==IDC_EXTRAORDER && - (HIWORD(wParam)==LBN_SELCHANGE || HIWORD(wParam)==LBN_SELCANCEL ) ) - { - _ExtFramesOptUtils_UpdateFrameOptControl(hwndDlg, extFrmOptList); - return TRUE; - } - else if (HIWORD(wParam)==BN_CLICKED && - (LOWORD(wParam)==IDC_BUTTON_UP || LOWORD(wParam)==IDC_BUTTON_DOWN)) - { - int idx=SendDlgItemMessage(hwndDlg, IDC_EXTRAORDER, LB_GETCURSEL, 0,0); - if (LOWORD(wParam)==IDC_BUTTON_UP) - _ExtFramesOptUtils_ExchangeItems(hwndDlg, extFrmOptList, idx-1, idx); - else - _ExtFramesOptUtils_ExchangeItems(hwndDlg, extFrmOptList, idx+1, idx); - return TRUE; - } - - break; - } - case WM_DESTROY: - { - li_ListDestruct(extFrmOptList,_ExtFrames_DestructorOf_EXTFRAMEWND); - extFrmOptList=NULL; - } - return TRUE; - case 0: - switch (((LPNMHDR)lParam)->code) - { - case PSN_APPLY: - { - - } - return TRUE; - } - } - return FALSE; -} - -#endif \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_private.h b/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_private.h deleted file mode 100644 index 03f8e725a3..0000000000 --- a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_private.h +++ /dev/null @@ -1,132 +0,0 @@ -/**************************************************************************\ - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this code base are copyrighted to Artem Shpynov and/or -the people listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Mar 19, 2007 - -Author and Copyright: Artem Shpynov aka FYR: ashpynov@gmail.com - -\**************************************************************************/ - -#define eflock EnterCriticalSection(&ExtFrames.CS) -#define efunlock LeaveCriticalSection(&ExtFrames.CS) -#define efcheck if (!ExtFrames.bModuleActive) return - -#define EFT_VERTICAL 1 -#define EFT_HORIZONTAL 0 - -#define EFP_LEFT alLeft -#define EFP_TOP alTop -#define EFP_RIGHT alRight -#define EFP_BOTTOM alBottom - -#define EXTFRAMEMODULE "ExtFrames" -#define EXTFRAMEORDERDBPREFIX "FrameOrder/" - -typedef struct tagExtFrameRectDef -{ - DWORD dwOrder; - /* Used in both for frames and for options */ - int minCX; - int minCY; - BYTE nType; - BYTE nEdge; - BOOL bInPrevious; - RECT rcFrameRect; - char *szFrameNameID; //to be dealloced in destructor - - /* Used for real frames and faked in options */ - DWORD dwFlags; - BOOL bFloat; - BOOL bNotRegistered; // for options means frame is Not Registered -} EXTFRAME; - -typedef struct tagExtFrameWndDef -{ - EXTFRAME efrm; //have to be first element - //EXTFRAMEWND* can be directly type casted to EXTFRAME* - - /* Used Only for real frames */ - HWND hwndFrame; - HWND hwndTitle; - DWORD dwFrameID; - -} EXTFRAMEWND; - -typedef struct tagExtFrameModule -{ - CRITICAL_SECTION CS; - BOOL bModuleActive; - SortedList * List; - HANDLE hookSBShowTooltip; // ME_CLIST_FRAMES_SB_SHOW_TOOLTIP - HANDLE hookSBHideTooltip; // ME_CLIST_FRAMES_SB_HIDE_TOOLTIP - HANDLE hookPrebuildFrameMenu; // ME_CLIST_PREBUILDFRAMEMENU - DWORD dwNextFrameID; // unique number of registered frames -}EXTFRAMESMODULE; - -typedef struct tagExtFramesOptDBEnumeration -{ - HWND hwndDlg; - SortedList * pFrameList; -}EXTFRAMEOPTDBENUMERATION; - -////////////////////////////////////////////////////////////////////////// -// Static Declarations - -// modern_ext_frames_intern.c -static void _ExtFrames_DestructorOf_EXTFRAMEWND(void * extFrame); -static int _ExtFrames_CalcFramesRect( IN SortedList* pList, IN int width, IN int height, OUT RECT * pWndRect ); -static int _ExtFrames_GetMinParentSize( IN SortedList* pList, OUT SIZE * size ); -static void _ExtFrames_GetFrameDBOption( IN OUT EXTFRAMEWND * pExtFrm ); -static void _ExtFramesUtils_CheckAlighment( IN OUT EXTFRAMEWND * extFrame ); -static int _ExtFramesUtils_CopmareFrames(void * first, void * last); - - -// modern_ext_frames_services.c -static void _ExtFrames_InitServices(); -static void _ExtFrames_UninitServices(); - -// modern_ext_frames_opt.c -static int _ExtFrames_OptionsDlgInit(WPARAM wParam,LPARAM lParam); -static BOOL CALLBACK _ExtFrames_DlgProcFrameOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); - -// -/**static*/ int _ExtFramesSrv_AddFrame(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_RemoveFrame(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_ShowAllFrames(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_ShowAllFramesTB(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_HideAllFramesTB(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_SHFrame(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_SHFrameTitleBar(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_ULFrame(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_UCollFrame(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_SetUnBorder(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_UpdateFrame(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_GetFrameOptions(WPARAM wParam, LPARAM lParam); -static int _ExtFramesSrv_SetFrameOptions(WPARAM wParam, LPARAM lParam); - - - -////////////////////////////////////////////////////////////////////////// -// Static Local Global Variable -static EXTFRAMESMODULE ExtFrames={0}; \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_services.c b/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_services.c deleted file mode 100644 index e56be79255..0000000000 --- a/plugins/Modernb/_disabled_src/ExtFrames/modern_ext_frames_services.c +++ /dev/null @@ -1,386 +0,0 @@ -/**************************************************************************\ - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2008 Miranda ICQ/IM project, -all portions of this code base are copyrighted to Artem Shpynov and/or -the people listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Mar 19, 2007 - -Author and Copyright: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains realization of service procedures -for modern_ext_frames.c module. - -This file have to be excluded from compilation and need to be adde to project via -#include preprocessor derective in modern_ext_frames.c - -\**************************************************************************/ - -#include "..\commonheaders.h" //only for precompiled headers - -#ifdef __modern_ext_frames_c__include_c_file //protection from adding to compilation - -static void _ExtFrames_InitServices() -{ - //Create services here - /* - CreateServiceFunction( MS_CLIST_FRAMES_ADDFRAME, _ExtFramesSrv_AddFrame ); - CreateServiceFunction( MS_CLIST_FRAMES_REMOVEFRAME, _ExtFramesSrv_RemoveFrame ); - CreateServiceFunction( MS_CLIST_FRAMES_SHOWALLFRAMES, _ExtFramesSrv_ShowAllFrames ); - CreateServiceFunction( MS_CLIST_FRAMES_SHOWALLFRAMESTB, _ExtFramesSrv_ShowAllFramesTB ); - CreateServiceFunction( MS_CLIST_FRAMES_HIDEALLFRAMESTB, _ExtFramesSrv_HideAllFramesTB ); - CreateServiceFunction( MS_CLIST_FRAMES_SHFRAME, _ExtFramesSrv_SHFrame ); - CreateServiceFunction( MS_CLIST_FRAMES_SHFRAMETITLEBAR, _ExtFramesSrv_SHFrameTitleBar ); - CreateServiceFunction( MS_CLIST_FRAMES_ULFRAME, _ExtFramesSrv_ULFrame ); - CreateServiceFunction( MS_CLIST_FRAMES_UCOLLFRAME, _ExtFramesSrv_UCollFrame ); - CreateServiceFunction( MS_CLIST_FRAMES_SETUNBORDER, _ExtFramesSrv_SetUnBorder ); - CreateServiceFunction( MS_CLIST_FRAMES_UPDATEFRAME, _ExtFramesSrv_UpdateFrame ); - CreateServiceFunction( MS_CLIST_FRAMES_GETFRAMEOPTIONS, _ExtFramesSrv_GetFrameOptions ); - CreateServiceFunction( MS_CLIST_FRAMES_SETFRAMEOPTIONS, _ExtFramesSrv_SetFrameOptions ); - - //TODO Frame menu stuff services - - //register event hook here - ExtFrames.hookSBShowTooltip = CreateHookableEvent( ME_CLIST_FRAMES_SB_SHOW_TOOLTIP ); - ExtFrames.hookSBHideTooltip = CreateHookableEvent( ME_CLIST_FRAMES_SB_HIDE_TOOLTIP ); - ExtFrames.hookPrebuildFrameMenu = CreateHookableEvent( ME_CLIST_PREBUILDFRAMEMENU ); - */ - - //Hook other events - HookEvent(ME_OPT_INITIALISE,_ExtFrames_OptionsDlgInit); -} - -static void _ExtFrames_UninitServices() -{ - if (ExtFrames.hookSBShowTooltip) UnhookEvent( ExtFrames.hookSBShowTooltip ); - if (ExtFrames.hookSBHideTooltip) UnhookEvent( ExtFrames.hookSBHideTooltip ); - if (ExtFrames.hookPrebuildFrameMenu) UnhookEvent( ExtFrames.hookPrebuildFrameMenu ); - - ExtFrames.hookSBShowTooltip = NULL; - ExtFrames.hookSBHideTooltip = NULL; - ExtFrames.hookPrebuildFrameMenu = NULL; -} - -////////////////////////////////////////////////////////////////////////// -//want show tooltip for statusbar -//wparam=(char *)protocolname -//lparam=0 -//#define ME_CLIST_FRAMES_SB_SHOW_TOOLTIP "CListFrames/StatusBarShowToolTip" - -////////////////////////////////////////////////////////////////////////// -//want hide tooltip for statusbar -//wparam=lparam=0 -//#define ME_CLIST_FRAMES_SB_HIDE_TOOLTIP "CListFrames/StatusBarHideToolTip" - -////////////////////////////////////////////////////////////////////////// -//adds a frame window -//wParam=(CLISTFrame*) -//lParam=0 -//returns an integer, the frame id. -//#define MS_CLIST_FRAMES_ADDFRAME "CListFrames/AddFrame" -/**static*/ int _ExtFramesSrv_AddFrame(WPARAM wParam, LPARAM lParam) -{ - CLISTFrame *clfrm=(CLISTFrame *)wParam; - int frameId = -1; - - // the clfrm->name is used as id in DB and frames without it will not be supported - if ( !clfrm || pcli->hwndContactList == NULL || clfrm->cbSize!=sizeof(CLISTFrame) || clfrm->name==NULL) - return frameId; - - efcheck frameId; - eflock; - { - EXTFRAMEWND * pExtFrm=(EXTFRAMEWND *)mir_alloc(sizeof(EXTFRAMEWND)); - memset(pExtFrm,0,sizeof(EXTFRAMEWND)); - pExtFrm->dwFrameID = ExtFrames.dwNextFrameID++; - pExtFrm->hwndFrame = clfrm->hWnd; - pExtFrm->efrm.szFrameNameID = mir_strdup(clfrm->name); - - //fill frame info by caller provided values - pExtFrm->efrm.dwFlags = clfrm->Flags; - // frame alignment - pExtFrm->efrm.nEdge = clfrm->align; - pExtFrm->efrm.nType = (clfrm->align&alVertFrameMask) ? EFT_VERTICAL : EFT_HORIZONTAL; - - if (pExtFrm->efrm.nType == EFT_VERTICAL) - pExtFrm->efrm.minCX = clfrm->minSize; - else - pExtFrm->efrm.minCY = clfrm->minSize; - - _ExtFrames_GetFrameDBOption(pExtFrm); - _ExtFramesUtils_CheckAlighment(pExtFrm); - li.List_Insert(ExtFrames.List, pExtFrm, 0); - //clfrm->hIcon - //clfrm->TBname - - frameId=pExtFrm->dwFrameID; - } - efunlock; - return frameId; //frame id -} -////////////////////////////////////////////////////////////////////////// -// remove frame. It does not destroy your window -// -//#define MS_CLIST_FRAMES_REMOVEFRAME "CListFrames/RemoveFrame" -static int _ExtFramesSrv_RemoveFrame(WPARAM wParam, LPARAM lParam) -{ - efcheck 0; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} -////////////////////////////////////////////////////////////////////////// -//shows all frames -//wParam=lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_SHOWALLFRAMES "CListFrames/ShowALLFrames" -static int _ExtFramesSrv_ShowAllFrames(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} -////////////////////////////////////////////////////////////////////////// -//shows the titlebars of all frames -//wParam=lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_SHOWALLFRAMESTB "CListFrames/ShowALLFramesTB" -static int _ExtFramesSrv_ShowAllFramesTB(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} - -////////////////////////////////////////////////////////////////////////// -//hides the titlebars of all frames -//wParam=lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_HIDEALLFRAMESTB "CListFrames/HideALLFramesTB" -static int _ExtFramesSrv_HideAllFramesTB(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} -////////////////////////////////////////////////////////////////////////// -//shows the frame if it is hidden, -//hides the frame if it is shown -//wParam=FrameId -//lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_SHFRAME "CListFrames/SHFrame" -static int _ExtFramesSrv_SHFrame(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} -////////////////////////////////////////////////////////////////////////// -//shows the frame titlebar if it is hidden, -//hides the frame titlebar if it is shown -//wParam=FrameId -//lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_SHFRAMETITLEBAR "CListFrame/SHFrameTitleBar" -static int _ExtFramesSrv_SHFrameTitleBar(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} - -////////////////////////////////////////////////////////////////////////// -//locks the frame if it is unlocked, -//unlock the frame if it is locked -//wParam=FrameId -//lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_ULFRAME "CListFrame/ULFrame" -static int _ExtFramesSrv_ULFrame(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} -////////////////////////////////////////////////////////////////////////// -//collapses the frame if it is uncollapsed, -//uncollapses the frame if it is collapsed -//wParam=FrameId -//lParam=0 -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_UCOLLFRAME "CListFrame/UCOLLFrame" -static int _ExtFramesSrv_UCollFrame(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} -////////////////////////////////////////////////////////////////////////// -//trigger border flags -//wparam=frameid -//lparam=0 -//#define MS_CLIST_FRAMES_SETUNBORDER "CListFrame/SetUnBorder" -static int _ExtFramesSrv_SetUnBorder(WPARAM wParam, LPARAM lParam) -{ - efcheck -1; - eflock; - { - // DO HERE - } - efunlock; - return 0; -} - -////////////////////////////////////////////////////////////////////////// -//redraws the frame -//wParam=FrameId, -1 for all frames -//lparam=FU_flags -//returns a pointer to option, -1 on failure -//#define MS_CLIST_FRAMES_UPDATEFRAME "CListFrame/UpdateFrame" -static int _ExtFramesSrv_UpdateFrame(WPARAM wParam, LPARAM lParam) -{ - int ret=-1; - efcheck ret; - eflock; - { - // DO HERE - } - efunlock; - return ret; -} -////////////////////////////////////////////////////////////////////////// -//gets the frame options -//(HIWORD)wParam=FrameId -//(LOWORD)wParam=FO_flag -//lParam=0 -//returns a pointer to option, -1 on failure -//#define MS_CLIST_FRAMES_GETFRAMEOPTIONS "CListFrame/GetFrameOptions" -static int _ExtFramesSrv_GetFrameOptions(WPARAM wParam, LPARAM lParam) -{ - int ret=-1; - efcheck ret; - eflock; - { - // DO HERE - } - efunlock; - return ret; -} -//sets the frame options -//(HIWORLD)wParam=FrameId -//(LOWORD)wParam=FO_flag -//lParam=value -//returns 0 on success, -1 on failure -//#define MS_CLIST_FRAMES_SETFRAMEOPTIONS "CListFrame/SetFrameOptions" -static int _ExtFramesSrv_SetFrameOptions(WPARAM wParam, LPARAM lParam) -{ - int ret=-1; - efcheck ret; - eflock; - { - // DO HERE - } - efunlock; - return ret; -} -////////////////////////////////////////////////////////////////////////// -//Frames related menu stuff -////////////////////////////////////////////////////////////////////////// - -////////////////////////////////////////////////////////////////////////// -//add a new item to the context frame menu -//wParam=0 -//lParam=(LPARAM)(CLISTMENUITEM*)&mi -//returns a handle to the new item -//popupposition=frameid -//contactowner=advanced parameter -//#define MS_CLIST_ADDCONTEXTFRAMEMENUITEM "CList/AddContextFrameMenuItem" - -////////////////////////////////////////////////////////////////////////// -//remove a item from context frame menu -//wParam=hMenuItem returned by MS_CLIST_ADDCONTACTMENUITEM -//lParam=0 -//returns 0 on success, nonzero on failure -//#define MS_CLIST_REMOVECONTEXTFRAMEMENUITEM "CList/RemoveContextFrameMenuItem" - -////////////////////////////////////////////////////////////////////////// -//builds the context menu for a frame -//wparam=frameid -//lParam=0 -//returns a HMENU on success, or NULL on failure -//#define MS_CLIST_MENUBUILDFRAMECONTEXT "CList/BuildContextFrameMenu" - -////////////////////////////////////////////////////////////////////////// -// the frame menu is about to be built -// wparam=frameid -// lparam= -// -1 for build from titlebar, -// use -// MS_CLIST_ADDCONTEXTFRAMEMENUITEM -// MS_CLIST_REMOVECONTEXTFRAMEMENUITEM -// -// >0 for build in main menu, -// must be popupname=lparam to place your items in right popup of main menu. -// use -// MS_CLIST_ADDMAINMENUITEM -// MS_CLIST_REMOVEMAINMENUITEM -// -//#define ME_CLIST_PREBUILDFRAMEMENU "CList/PreBuildFrameMenu" - -////////////////////////////////////////////////////////////////////////// -//needed by cluiframes module to add frames menu to main menu. -//it just calls NotifyEventHooks(hPreBuildFrameMenuEvent,wParam,lParam); -//#define MS_CLIST_FRAMEMENUNOTIFY "CList/ContextFrameMenuNotify" -#endif \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/forkthread.c b/plugins/Modernb/_disabled_src/forkthread.c deleted file mode 100644 index ed380f7486..0000000000 --- a/plugins/Modernb/_disabled_src/forkthread.c +++ /dev/null @@ -1,103 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2006 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#include "commonheaders.h" - -struct FORK_ARG { - HANDLE hEvent; - void (__cdecl *threadcode)(void*); - unsigned (__stdcall *threadcodeex)(void*); - void *arg; -}; - -void __cdecl forkthread_r(struct FORK_ARG *fa) -{ - void (*callercode)(void*)=fa->threadcode; - void *arg=fa->arg; - CallService(MS_SYSTEM_THREAD_PUSH,0,0); - SetEvent(fa->hEvent); - __try { - callercode(arg); - } __finally { - CallService(MS_SYSTEM_THREAD_POP,0,0); - } - return; -} - -unsigned long forkthread ( - void (__cdecl *threadcode)(void*), - unsigned long stacksize, - void *arg -) -{ - unsigned long rc; - struct FORK_ARG fa; - if (g_bSTATE!=STATE_NORMAL) return 0; //not start the new thead if exiting - fa.hEvent=CreateEvent(NULL,FALSE,FALSE,NULL); - fa.threadcode=threadcode; - fa.arg=arg; - rc=_beginthread(forkthread_r,stacksize,&fa); - if ((unsigned long)-1L != rc) { - WaitForSingleObject(fa.hEvent,1000); - } //if - CloseHandle(fa.hEvent); - return rc; -} - -unsigned long __stdcall forkthreadex_r(struct FORK_ARG *fa) -{ - unsigned (__stdcall * threadcode) (void *)=fa->threadcodeex; - void *arg=fa->arg; - unsigned long rc=0; - - CallService(MS_SYSTEM_THREAD_PUSH,0,0); - SetEvent(fa->hEvent); - __try { - rc=threadcode(arg); - } __finally { - CallService(MS_SYSTEM_THREAD_POP,0,0); - } - return rc; -} - -unsigned long forkthreadex( - void *sec, - unsigned stacksize, - unsigned (__stdcall *threadcode)(void*), - void *arg, - unsigned cf, - unsigned *thraddr -) -{ - unsigned long rc; - struct FORK_ARG fa; - fa.threadcodeex=threadcode; - fa.arg=arg; - fa.hEvent=CreateEvent(NULL,FALSE,FALSE,NULL); - rc=_beginthreadex(sec,stacksize,forkthreadex_r,&fa,0,thraddr); - if (rc) { - WaitForSingleObject(fa.hEvent,INFINITE); - } - CloseHandle(fa.hEvent); - return rc; -} \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/forkthread.h b/plugins/Modernb/_disabled_src/forkthread.h deleted file mode 100644 index 7a25771e31..0000000000 --- a/plugins/Modernb/_disabled_src/forkthread.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2006 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -/* - -Purpose: - - A safe version of _beginthread() - -Description: - - A new thread is created and the source thread is paused until - internal code to call MS_SYSTEM_THREAD_PUSH is made in the context - if the new thread. - - The source thread is then released and then the user supplied - code is called, when that function returns -- MS_SYSTEM_THREAD_POP - is called and then the thread returns. - - This insures that Miranda will not exit whilst new threads - are trying to be born; and the unwind wait stack will unsure - that Miranda will wait for all created threads to return as well. - -Cavets: - - The function must be reimplemented across MT plugins, since thread - creation depends on CRT which can not be shared. - -*/ -unsigned long mir_forkthread ( - void (__cdecl *threadcode)(void*), - unsigned long stacksize, - void *arg -); - -unsigned long forkthreadex( - void *sec, - unsigned stacksize, - unsigned (__stdcall *threadcode)(void*), - void *arg, - unsigned cf, - unsigned *thraddr -); diff --git a/plugins/Modernb/_disabled_src/groups.c b/plugins/Modernb/_disabled_src/groups.c deleted file mode 100644 index e9350bf66a..0000000000 --- a/plugins/Modernb/_disabled_src/groups.c +++ /dev/null @@ -1,525 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2003 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ -#include "commonheaders.h" - -static int RenameGroup(WPARAM wParam,LPARAM lParam); -static int MoveGroupBefore(WPARAM wParam,LPARAM lParam); - - -static int CountGroups(void) -{ - DBVARIANT dbv; - int i; - char str[33]; - - for(i=0;;i++) { - itoa(i,str,10); - if (DBGetContactSettingTString(NULL, "CListGroups", str, &dbv)) - break; - DBFreeVariant(&dbv); - } - return i; -} - -static int GroupNameExists(const TCHAR *name, int skipGroup) -{ - char idstr[33]; - DBVARIANT dbv; - int i; - - for(i=0;;i++) { - if (i == skipGroup) - continue; - itoa(i,idstr,10); - if (DBGetContactSettingTString(NULL, "CListGroups", idstr, &dbv)) - break; - if (!_tcscmp(((TCHAR*)dbv.ptszVal + 1), name)) { - DBFreeVariant(&dbv); - return 1; - } - DBFreeVariant(&dbv); - } - return 0; -} - -static int CreateGroup(WPARAM wParam,LPARAM lParam) -{ - int newId=CountGroups(); - TCHAR newBaseName[127], newName[128]; - char str[33]; - int i; - DBVARIANT dbv; - - if(wParam) { - itoa(wParam-1,str,10); - if (DBGetContactSettingTString(NULL, "CListGroups", str, &dbv)) - return 0; - - mir_sntprintf( newBaseName, SIZEOF(newBaseName), _T("%s\\%s"), dbv.pszVal + 1, TranslateT("New Group")); - mir_free(dbv.pszVal); - } - else lstrcpyn( newBaseName, TranslateT( "New Group" ), SIZEOF( newBaseName )); - - itoa(newId,str,10); - i=1; - lstrcpyn( newName + 1, newBaseName, SIZEOF(newName) - 1); - while(GroupNameExists(newName+1,-1)) - mir_sntprintf( newName + 1, SIZEOF(newName) - 1, _T("%s (%d)"), newBaseName, ++i ); - - newName[0]=1|GROUPF_EXPANDED; //1 is required so we never get '\0' - DBWriteContactSettingTString(NULL, "CListGroups", str, newName); - CallService(MS_CLUI_GROUPADDED,newId+1,1); - return newId+1; -} - -static int GetGroupName2(WPARAM wParam,LPARAM lParam) -{ - char idstr[33]; - DBVARIANT dbv; - static char name[128]; - - itoa(wParam-1,idstr,10); - if(DBGetContactSettingTString(NULL,"CListGroups",idstr,&dbv)) - return (int)(char*)NULL; - lstrcpynA(name, dbv.pszVal + 1, SIZEOF(name)); - if ((DWORD *) lParam != NULL) - *(DWORD *) lParam = dbv.pszVal[0]; - DBFreeVariant(&dbv); - return (int)name; -} - -TCHAR* GetGroupNameTS( int idx, DWORD* pdwFlags ) -{ - char idstr[33]; - DBVARIANT dbv; - static TCHAR name[128]; - - itoa( idx-1, idstr, 10); - if (DBGetContactSettingTString( NULL, "CListGroups", idstr, &dbv )) - return NULL; - - lstrcpyn( name, (TCHAR*)dbv.ptszVal + 1, SIZEOF( name )); - if ( pdwFlags != NULL ) - *pdwFlags = dbv.ptszVal[0]; - DBFreeVariant( &dbv ); - return name; -} - -int GetGroupNameT(WPARAM wParam,LPARAM lParam) -{ - return (int)GetGroupNameTS ((int) wParam, (DWORD*)lParam); -} - -static int GetGroupName(WPARAM wParam,LPARAM lParam) -{ - int ret; - ret=GetGroupName2(wParam,lParam); - if ((int*)lParam) - *(int*)lParam=0!=(*(int*)lParam&GROUPF_EXPANDED); - return ret; -} - -static int DeleteGroup(WPARAM wParam,LPARAM lParam) -{ - int i; - char str[33]; - DBVARIANT dbv; - HANDLE hContact; - TCHAR name[256], szNewParent[256], *pszLastBackslash; - - //get the name - itoa(wParam-1,str,10); - if (DBGetContactSettingTString(NULL, "CListGroups", str, &dbv)) - return 1; - if (DBGetContactSettingByte(NULL, "CList", "ConfirmDelete", SETTING_CONFIRMDELETE_DEFAULT)) - if (MessageBox((HWND)CallService(MS_CLUI_GETHWND, 0, 0), TranslateT("Are you sure you want to delete this group? This operation can not be undone."), TranslateT("Delete Group"), MB_YESNO|MB_ICONQUESTION)==IDNO) - return 1; - lstrcpyn(name, (TCHAR*)dbv.ptszVal + 1, SIZEOF(name)); - DBFreeVariant(&dbv); - SetCursor(LoadCursor(NULL,IDC_WAIT)); - //must remove setting from all child contacts too - //children are demoted to the next group up, not deleted. - lstrcpy(szNewParent, name); - pszLastBackslash = _tcsrchr(szNewParent, '\\'); - if (pszLastBackslash) - pszLastBackslash[0] = '\0'; - else - szNewParent[0] = '\0'; - hContact=(HANDLE)CallService(MS_DB_CONTACT_FINDFIRST,0,0); - do { - if (DBGetContactSettingTString(hContact, "CList", "Group", &dbv)) - continue; - if (_tcscmp(dbv.ptszVal, name)) { - DBFreeVariant(&dbv); - continue; - } - DBFreeVariant(&dbv); - if (szNewParent[0]) - DBWriteContactSettingTString(hContact, "CList", "Group", szNewParent); - else - DBDeleteContactSetting(hContact, "CList", "Group"); - } while((hContact=(HANDLE)CallService(MS_DB_CONTACT_FINDNEXT,(WPARAM)hContact,0))!=NULL); - //shuffle list of groups up to fill gap - for(i=wParam-1;;i++) { - itoa(i+1,str,10); - if (DBGetContactSettingStringUtf(NULL, "CListGroups", str, &dbv)) - break; - itoa(i,str,10); - DBWriteContactSettingStringUtf(NULL, "CListGroups", str, dbv.pszVal); - DBFreeVariant(&dbv); - } - itoa(i,str,10); - DBDeleteContactSetting(NULL,"CListGroups",str); - //rename subgroups - { - TCHAR szNewName[256]; - int len; - - len = lstrlen(name); - for(i=0;;i++) { - itoa(i,str,10); - if (DBGetContactSettingTString(NULL, "CListGroups", str, &dbv)) - break; - if (!_tcsncmp((TCHAR*)dbv.ptszVal + 1, name, len) && dbv.ptszVal[len + 1] == '\\' && _tcschr(dbv.ptszVal + len + 2, '\\') == NULL) { - if (szNewParent[0]) - mir_sntprintf(szNewName, SIZEOF(szNewName), _T("%s\\%s"), szNewParent, dbv.ptszVal + len + 2); - else - lstrcpyn(szNewName, dbv.ptszVal + len + 2, SIZEOF(szNewName)); - RenameGroupT((WPARAM)(i + 1), (LPARAM)szNewName); - } - DBFreeVariant(&dbv); - } - } - SetCursor(LoadCursor(NULL,IDC_ARROW)); - LoadContactTree(); - return 0; -} - -static int RenameGroupWithMove(int groupId,const TCHAR *szName,int move) -{ - char idstr[33]; - TCHAR str[256], oldName[256]; - DBVARIANT dbv; - HANDLE hContact; - - if(GroupNameExists(szName,groupId)) { - MessageBox(NULL,TranslateT("You already have a group with that name. Please enter a unique name for the group."),TranslateT("Rename Group"),MB_OK); - return 1; - } - - //do the change - itoa(groupId,idstr,10); - if (DBGetContactSettingTString(NULL, "CListGroups", idstr, &dbv)) - return 1; - str[0]=dbv.ptszVal[0]; - lstrcpyn(oldName, (TCHAR*)dbv.ptszVal + 1, SIZEOF(oldName)); - DBFreeVariant(&dbv); - { - WORD l; - l=lstrlen(szName)+sizeof(TCHAR); - l=min(l,SIZEOF(str)); - l--; - lstrcpyn(str + 1, szName, l); - str[l+1]=_T('\0'); - } - DBWriteContactSettingTString(NULL, "CListGroups", idstr, str); - - //must rename setting in all child contacts too - hContact=(HANDLE)CallService(MS_DB_CONTACT_FINDFIRST,0,0); - do { - if (DBGetContactSettingTString(hContact, "CList", "Group", &dbv)) - continue; - if ( _tcscmp(dbv.ptszVal, oldName)) - continue; - DBWriteContactSettingTString(hContact, "CList", "Group", szName); - } - while ((hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0)) != NULL); - - //rename subgroups - { - TCHAR szNewName[256]; - int len,i; - - len = lstrlen(oldName); - for(i=0;;i++) { - if (i == groupId) - continue; - itoa(i,idstr,10); - if (DBGetContactSettingTString(NULL, "CListGroups", idstr, &dbv)) - break; - if ( !_tcsncmp((TCHAR*)dbv.ptszVal + 1, oldName, len) && dbv.ptszVal[len + 1] == _T('\\') && _tcschr((TCHAR*)dbv.ptszVal+len + 2, _T('\\')) == NULL) { - mir_sntprintf( szNewName, SIZEOF(szNewName), _T("%s\\%s"), szName,(TCHAR*)dbv.pszVal + len + 2 ); - RenameGroupWithMove(i,szNewName,0); //luckily, child groups will never need reordering - } - DBFreeVariant(&dbv); - } - } - - //finally must make sure it's after any parent items - if(move) { - TCHAR *pszLastBackslash; - int i; - - lstrcpyn(str, szName, SIZEOF(str)); - pszLastBackslash = _tcsrchr(str, '\\'); - if (pszLastBackslash == NULL) - return 0; - *pszLastBackslash='\0'; - for(i=0;;i++) { - itoa(i,idstr,10); - if (DBGetContactSettingTString(NULL, "CListGroups", idstr, &dbv)) - break; - if (!lstrcmp((TCHAR*)dbv.ptszVal + 1, str)) { - if (i < groupId) - break; //is OK - MoveGroupBefore(groupId+1,i+2); - break; - } - DBFreeVariant(&dbv); - } - } - return 0; -} - -int RenameGroupT( WPARAM groupID, LPARAM newName ) -{ - return -1 != RenameGroupWithMove( (int)groupID-1, (TCHAR*)newName, 1); -} - -static int RenameGroup(WPARAM wParam,LPARAM lParam) -{ - #if defined( _UNICODE ) - WCHAR* temp = mir_a2u(( char* )lParam ); - int result = ( -1 != RenameGroupWithMove(wParam - 1, temp, 1)); - mir_free( temp ); - return result; - #else - return -1 != RenameGroupWithMove(wParam - 1, (TCHAR*) lParam, 1); - #endif -} - -static int SetGroupExpandedState(WPARAM wParam,LPARAM lParam) -{ - char idstr[33]; - DBVARIANT dbv; - - itoa(wParam-1,idstr,10); - if (DBGetContactSettingStringUtf(NULL, "CListGroups", idstr, &dbv)) - return 1; - if (lParam) - dbv.pszVal[0] |= GROUPF_EXPANDED; - else - dbv.pszVal[0] = dbv.pszVal[0] & ~GROUPF_EXPANDED; - DBWriteContactSettingStringUtf(NULL, "CListGroups", idstr, dbv.pszVal); - DBFreeVariant(&dbv); - return 0; -} - -static int SetGroupFlags(WPARAM wParam,LPARAM lParam) -{ - char idstr[33]; - DBVARIANT dbv; - int flags,oldval,newval; - - itoa(wParam-1,idstr,10); - if (DBGetContactSettingStringUtf(NULL, "CListGroups", idstr, &dbv)) - return 1; - flags=LOWORD(lParam)&HIWORD(lParam); - oldval=dbv.pszVal[0]; - newval=dbv.pszVal[0]=(dbv.pszVal[0]&~HIWORD(lParam))|flags; - DBWriteContactSettingStringUtf(NULL, "CListGroups", idstr, dbv.pszVal); - DBFreeVariant(&dbv); - if ((oldval & GROUPF_HIDEOFFLINE) != (newval & GROUPF_HIDEOFFLINE)) - LoadContactTree(); - return 0; -} - -static int MoveGroupBefore(WPARAM wParam,LPARAM lParam) -{ - int i,shuffleFrom,shuffleTo,shuffleDir; - char str[33]; - TCHAR *szMoveName; - DBVARIANT dbv; - - if (wParam == 0 || (LPARAM) wParam == lParam) - return 0; - itoa(wParam-1,str,10); - if (DBGetContactSettingTString(NULL, "CListGroups", str, &dbv)) - return 0; - szMoveName = dbv.ptszVal; - //shuffle list of groups up to fill gap - if (lParam == 0) { - shuffleFrom = wParam - 1; - shuffleTo = -1; - shuffleDir = -1; - } - else { - if ((LPARAM) wParam < lParam) { - shuffleFrom = wParam - 1; - shuffleTo = lParam - 2; - shuffleDir = -1; - } - else { - shuffleFrom = wParam - 1; - shuffleTo = lParam - 1; - shuffleDir = 1; - } - } - if(shuffleDir==-1) { - for(i=shuffleFrom;i!=shuffleTo;i++) { - itoa(i+1,str,10); - if (DBGetContactSettingStringUtf(NULL, "CListGroups", str, &dbv)) { - shuffleTo = i; - break; - } - itoa(i,str,10); - DBWriteContactSettingStringUtf(NULL, "CListGroups", str, dbv.pszVal); - DBFreeVariant(&dbv); - } - } - else { - for(i=shuffleFrom;i!=shuffleTo;i--) { - itoa(i-1,str,10); - if (DBGetContactSettingStringUtf(NULL, "CListGroups", str, &dbv)) { - mir_free(szMoveName); - return 1; - } //never happens - itoa(i,str,10); - DBWriteContactSettingStringUtf(NULL, "CListGroups", str, dbv.pszVal); - DBFreeVariant(&dbv); - } - } - itoa(shuffleTo,str,10); - DBWriteContactSettingTString(NULL, "CListGroups", str, szMoveName); - mir_free(szMoveName); - return shuffleTo+1; -} - -static int BuildGroupMenu(WPARAM wParam,LPARAM lParam) -{ - char idstr[33]; - DBVARIANT dbv; - int groupId; - HMENU hRootMenu,hThisMenu; - int nextMenuId=100; - TCHAR *pBackslash,*pNextField,szThisField[128],szThisMenuItem[128]; - int menuId,compareResult,menuItemCount; - MENUITEMINFO mii={0}; - - if (DBGetContactSettingStringUtf(NULL, "CListGroups", "0", &dbv)) - return (int) (HMENU) NULL; - DBFreeVariant(&dbv); - hRootMenu=CreateMenu(); - for(groupId=0;;groupId++) { - itoa(groupId,idstr,10); - if (DBGetContactSettingTString(NULL, "CListGroups", idstr, &dbv)) - break; - - pNextField = (TCHAR*)dbv.ptszVal + 1; - hThisMenu=hRootMenu; - mii.cbSize=MENUITEMINFO_V4_SIZE; - do { - pBackslash = _tcschr(pNextField, '\\'); - if(pBackslash==NULL) { - lstrcpyn(szThisField, pNextField, SIZEOF(szThisField)); - pNextField=NULL; - } - else { - lstrcpyn(szThisField, pNextField, min( SIZEOF(szThisField), pBackslash - pNextField + 1)); - pNextField=pBackslash+1; - } - compareResult=1; - menuItemCount=GetMenuItemCount(hThisMenu); - for(menuId=0;menuId groupId) - break; - } - if(compareResult) { - mii.fMask=MIIM_TYPE|MIIM_ID; - mii.wID=nextMenuId++; - mii.dwTypeData=szThisField; - mii.fType=MFT_STRING; - if(pNextField) { - mii.fMask|=MIIM_SUBMENU; - mii.hSubMenu=CreateMenu(); - } - else { - mii.fMask|=MIIM_DATA; - mii.dwItemData=groupId+1; - } - InsertMenuItem(hThisMenu,menuId,TRUE,&mii); - if(pNextField) { - hThisMenu=mii.hSubMenu; - } - } - } while(pNextField); - - DBFreeVariant(&dbv); - } - return (int)hRootMenu; -} - -int InitGroupServices(void) -{ - CreateServiceFunction(MS_CLIST_GROUPCREATE,CreateGroup); - CreateServiceFunction(MS_CLIST_GROUPDELETE,DeleteGroup); - CreateServiceFunction(MS_CLIST_GROUPRENAMET,RenameGroupT); - CreateServiceFunction(MS_CLIST_GROUPGETNAME,GetGroupName); - CreateServiceFunction(MS_CLIST_GROUPGETNAME2,GetGroupName2); - CreateServiceFunction(MS_CLIST_GROUPGETNAMET,GetGroupNameT); - CreateServiceFunction(MS_CLIST_GROUPSETEXPANDED,SetGroupExpandedState); - CreateServiceFunction(MS_CLIST_GROUPSETFLAGS,SetGroupFlags); - CreateServiceFunction(MS_CLIST_GROUPMOVEBEFORE,MoveGroupBefore); - CreateServiceFunction(MS_CLIST_GROUPBUILDMENU,BuildGroupMenu); - return 0; -} diff --git a/plugins/Modernb/_disabled_src/modern_layout.c b/plugins/Modernb/_disabled_src/modern_layout.c deleted file mode 100644 index 6e4f86e730..0000000000 --- a/plugins/Modernb/_disabled_src/modern_layout.c +++ /dev/null @@ -1,44 +0,0 @@ -/* - -Miranda IM: the free IM client for Microsoft* Windows* - -Copyright 2000-2006 Miranda ICQ/IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -Created by Artem Shpynov October 3, 2006 - -*/ -#include "commonheaders.h" - - -/************************************************************************/ -/* file implements advanced row layout */ -/************************************************************************/ - -enum -{ - ln_NONE=0; -} - -typedef struct tagLAYOUTNODE -{ - BYTE bType; /* type of node use LAYOUTNODETYPE enum*/ - struct tagLAYOUTNODE * child; - -}LAYOUTNODE, *PLAYOUTNODE, *MPLAYOUTNODE; - diff --git a/plugins/Modernb/_disabled_src/skinpp.cpp b/plugins/Modernb/_disabled_src/skinpp.cpp deleted file mode 100644 index a27a7bac05..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp.cpp +++ /dev/null @@ -1,181 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 9, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains implementation of new version of skining engine based on cpp, -xml load from file etc - -\**************************************************************************/ - -#include -#include -#include "newpluginapi.h" //this is common header for miranda plugin api -#include "m_system.h" -#include "m_database.h" - - -#include -#include -#include - -#include "XMLParser/XMLParser.h" - -#include "skinpp.h" -#include "skinpp_private.h" - - -////////////////////////////////////////////////////////////////////////// -// Implementation of external "interface" procedures -// -extern "C" -{ - ////////////////////////////////////////////////////////////////////////// - // Initialize subsystem - // - void skinpp_LoadSubSystem() - { - - }; - - ////////////////////////////////////////////////////////////////////////// - // DeInitialize subsystem - // - void skinpp_UnloadSubSystem() - { - - }; - -}; - -////////////////////////////////////////////////////////////////////////// -// Implementation of internal procedures -// -skinpp_SKIN::skinpp_SKIN() -{ - m_lpXMLDocument=NULL; -} - -skinpp_SKIN::~skinpp_SKIN() -{ - this->ClearSkin(); -} - -////////////////////////////////////////////////////////////////////////// -// remove all data from skin -// -void skinpp_SKIN::ClearSkin() -{ - if (m_lpXMLDocument!=NULL) delete m_lpXMLDocument; - m_lpXMLDocument=NULL; - - // delete objects from list - for (OBJLIST_ITER iter = m_ObjectList.begin(); iter!=m_ObjectList.end(); ++iter) - { - delete (iter->second); - } - m_ObjectList.clear(); - - // delete selectors - for (SELECTORLIST_ITER iter = m_SelectorList.begin(); iter!=m_SelectorList.end(); ++iter) - { - delete (*iter); - } - m_SelectorList.clear(); -} - -////////////////////////////////////////////////////////////////////////// -// Load skin data from file -// -HRESULT skinpp_SKIN::LoadSkin(const char * szFileName) -{ - HRESULT result=-1; - - ClearSkin(); - - m_lpXMLDocument=new XMLDocument(); - result=(HRESULT)m_lpXMLDocument->ParseFromFile(szFileName); - - if (result==S_OK) - { - result=GetDataFromXMLDocument(); - if (result==S_OK) return S_OK; - } - - // if we are here thats mean error occurred above - delete m_lpXMLDocument; - m_lpXMLDocument=NULL; - - return result; -} - -////////////////////////////////////////////////////////////////////////// -// Load skin data from memory -// -HRESULT skinpp_SKIN::LoadSkinFromMemory(const char * szBuffer) -{ - HRESULT result=-1; - - ClearSkin(); - - m_lpXMLDocument=new XMLDocument(); - result=(HRESULT)m_lpXMLDocument->ParseFromBuffer(szBuffer); - - if (result==S_OK) - { - result=GetDataFromXMLDocument(); - if (result==S_OK) return S_OK; - } - - // if we are here thats mean error occurred above - delete m_lpXMLDocument; - m_lpXMLDocument=NULL; - - return result; -} - -////////////////////////////////////////////////////////////////////////// -// Save skin data to file -// -HRESULT skinpp_SKIN::SaveSkin(const char * szFileName) -{ - return S_OK; -} - -////////////////////////////////////////////////////////////////////////// -// Convert skin data from xmldocument nodes -// -HRESULT skinpp_SKIN::GetDataFromXMLDocument() -{ - return S_OK; -} - -////////////////////////////////////////////////////////////////////////// -// convert skin data to xmldocument nodes -// -HRESULT skinpp_SKIN::PutDataToXMLDocument() -{ - return S_OK; -} -/////////////////////// END of skinpp_SKIN \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ - - diff --git a/plugins/Modernb/_disabled_src/skinpp.h b/plugins/Modernb/_disabled_src/skinpp.h deleted file mode 100644 index ed06a83af2..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp.h +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 9, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains extern "C" definition for skinppsystem - -\**************************************************************************/ - -#ifndef skinpp_h__ -#define skinpp_h__ - -#ifdef __cplusplus -extern "C" -{ -#endif //__cplusplus - - void skinpp_LoadSubSystem(); - void skinpp_UnloadSubSystem(); - void * skinpp_CreateSkin(); - void skinpp_LoadSkinFromFile(void * lpSkin, char * szFileName); - void skinpp_LoadSkinFromMemory(void * lpSkin, char * szBuff); - -#ifdef __cplusplus -}; -#endif //__cplusplus - -#endif // skinpp_h__ - diff --git a/plugins/Modernb/_disabled_src/skinpp_object.cpp b/plugins/Modernb/_disabled_src/skinpp_object.cpp deleted file mode 100644 index f674d6264b..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp_object.cpp +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 27, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains implementation of skinpp_OBJECT class - -\**************************************************************************/ -#include -#include -#include "newpluginapi.h" //this is common header for miranda plugin api -#include "m_system.h" -#include "m_database.h" - -#include -#include -#include - -#include "XMLParser/XMLParser.h" - -#include "skinpp.h" -#include "skinpp_private.h" -#include "skinpp_object.h" - -skinpp_SKINOBJECT::skinpp_SKINOBJECT() -{ - m_strObjectName=""; -} - -skinpp_SKINOBJECT::~skinpp_SKINOBJECT() -{ - -} -int skinpp_SKINOBJECT::GetObjectDataFromXMLNode(XMLNode * lpNode) -{ - return 0; -} - -int skinpp_SKINOBJECT::PutObjectDataToXMLNode(XMLNode * lpNode) -{ - return 0; -} - -int skinpp_SKINOBJECT::Draw(HDC hDC, int nX, int nY, int nWidth, int nHeight, RECT * rcClipRect) -{ - return 0; -} - -int skinpp_SKINOBJECT::ApplyObjectData(void * lpData) //modify data at lpData -{ - return 0; -} \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/skinpp_object.h b/plugins/Modernb/_disabled_src/skinpp_object.h deleted file mode 100644 index 341ace5ba0..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp_object.h +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 27, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains implementation of skinpp_OBJECT class HEADER - -\**************************************************************************/ - -#ifndef skinpp_object_h__ -#define skinpp_object_h__ - -class skinpp_SKINOBJECT -{ -public: - //constructor and destructor - skinpp_SKINOBJECT(); - ~skinpp_SKINOBJECT(); - - virtual int GetObjectDataFromXMLNode(XMLNode * lpNode); // gets data from node - virtual int PutObjectDataToXMLNode(XMLNode * lpNode); // put data to node - - virtual int Draw(HDC hDC, int nX, int nY, int nWidth, int nHeight, RECT * rcClipRect=NULL); //paint itself - int ApplyObjectData(void * lpData); //modify data at lpData - - string m_strObjectName; -}; - - -#endif // skinpp_object_h__ diff --git a/plugins/Modernb/_disabled_src/skinpp_object_glyph.cpp b/plugins/Modernb/_disabled_src/skinpp_object_glyph.cpp deleted file mode 100644 index 7e4c830262..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp_object_glyph.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 27, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains implementation of skinpp_GLYPH class - -\**************************************************************************/ -#include -#include -#include "newpluginapi.h" //this is common header for miranda plugin api -#include "m_system.h" -#include "m_database.h" - -#include -#include -#include - -#include "XMLParser/XMLParser.h" - -#include "skinpp.h" -#include "skinpp_private.h" -#include "skinpp_object_glyph.h" - -skinpp_GLYPH::skinpp_GLYPH() -{ - m_bOpacity=0; - m_nX = m_nY = m_nWidth = m_nHeigh = 0; - m_hBitmap = NULL; - m_lpImageFileName = NULL; - m_nLeft = m_nTop = m_nRight = m_nBottom = 0; - m_bFillMode = FM_STRETCH_BOTH; -}; - -skinpp_GLYPH::~skinpp_GLYPH() -{ - //if (m_hBitmap) skinpp_FreeBitmap(m_hBitmap); - if (m_lpImageFileName) free(m_lpImageFileName); -} - -int skinpp_GLYPH::GetObjectDataFromXMLNode(XMLNode * lpNode) -{ - // Early return if current object is empty (should not occur) - if (!this) return E_FAIL; - - // call parent class to get common object data - if (FAILED(skinpp_SKINOBJECT::GetObjectDataFromXMLNode(lpNode))) return E_FAIL; - - // get opacity, default is '255' - m_bOpacity=(BYTE)lpNode->GetAttributeInt("opacity",255); - - // get image section - XMLNode * lpImageNode=lpNode->GetNode("image"); - if (lpImageNode) - { - // file - get image filename - if empty - use internal image - string file=lpImageNode->GetAttributeString("file"); - if (m_lpImageFileName) free(m_lpImageFileName); - m_lpImageFileName=NULL; - if (strlen(file.c_str())) strdup(file.c_str()); - // if old bitmap is exists - free it - //if (m_hBitmap) skinpp_FreeBitmap(m_hBitmap); - m_hBitmap=NULL; - - //x, y - m_nX=lpImageNode->GetAttributeInt("x"); - m_nY=lpImageNode->GetAttributeInt("y"); - - //width, height - m_nWidth=lpImageNode->GetAttributeInt("width"); - m_nHeigh=lpImageNode->GetAttributeInt("height"); - } - - // get resize section - XMLNode * lpResizeNode=lpNode->GetNode("resize"); - if (lpResizeNode) - { - // left, top, right, bottom - m_nLeft=lpResizeNode->GetAttributeInt("left"); - m_nTop=lpResizeNode->GetAttributeInt("top"); - m_nRight=lpResizeNode->GetAttributeInt("right"); - m_nBottom=lpResizeNode->GetAttributeInt("bottom"); - - // mode default is 'stretch' - string mode=lpResizeNode->GetAttributeString("mode","stretch"); - char * szMode=(char*)mode.c_str(); - if (strcmpi(szMode,"vtile")) m_bFillMode=FM_TILE_VERTICAL; - else if (strcmpi(szMode,"htile")) m_bFillMode=FM_TILE_HORIZONTAL; - else if (strcmpi(szMode,"tile")) m_bFillMode=FM_TILE_BOTH; - else m_bFillMode=FM_STRETCH_BOTH; - } - return S_OK; -} - -int skinpp_GLYPH::PutObjectDataToXMLNode(XMLNode * lpNode) -{ - return 0; -} - -int skinpp_GLYPH::Draw(HDC hDC, int nX, int nY, int nWidth, int nHeight, RECT * rcClipRect) -{ - return 0; -} \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/skinpp_object_glyph.h b/plugins/Modernb/_disabled_src/skinpp_object_glyph.h deleted file mode 100644 index 7a7abcd464..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp_object_glyph.h +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 27, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains implementation of skinpp_GLYPH class HEADER - -\**************************************************************************/ - -#ifndef skinpp_object_glyph_h__ -#define skinpp_object_glyph_h__ - - -#include "skinpp_object.h" - -enum // Resizer fill mode Enumerations -{ - FM_STRETCH_BOTH = 0, - FM_TILE_HORIZONTAL, - FM_TILE_VERTICAL, - FM_TILE_BOTH -}; - -class skinpp_GLYPH: public skinpp_SKINOBJECT -{ -public: - //constructor and destructor - skinpp_GLYPH(); - ~skinpp_GLYPH(); - - virtual int GetObjectDataFromXMLNode(XMLNode * lpNode); // gets data from node - virtual int PutObjectDataToXMLNode(XMLNode * lpNode); // put data to node - - virtual int Draw(HDC hDC, int nX, int nY, int nWidth, int nHeight, RECT * rcClipRect=NULL); - - // data of glyph object - BYTE m_bOpacity; // Common glyph opacity - - //Glyph image fragment - int m_nX, - m_nY, - m_nWidth, - m_nHeigh; // Position of fragment - HBITMAP m_hBitmap; // Glyph image - char *m_lpImageFileName; //TODO: UNICODE file names - - //Resizer - int m_nLeft, - m_nTop, - m_nRight, - m_nBottom; // Resiser - BYTE m_bFillMode; // one of resizer fill mode value -}; - - -#endif // skinpp_object_glyph_h__ \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/skinpp_private.h b/plugins/Modernb/_disabled_src/skinpp_private.h deleted file mode 100644 index d3d2ced220..0000000000 --- a/plugins/Modernb/_disabled_src/skinpp_private.h +++ /dev/null @@ -1,143 +0,0 @@ -/**************************************************************************\ - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -**************************************************************************** - -Created: Nov 9, 2006 - -Author: Artem Shpynov aka FYR: ashpynov@gmail.com - -**************************************************************************** - -File contains class definitions for skinpp system - -\**************************************************************************/ - -#ifndef skinpp_private_h__ -#define skinpp_private_h__ - -#ifdef UNICODE -#define tstring wstring -#else -#define tstring string -#endif - -using namespace std; -template -struct OBJLIST_myless : public binary_function -{ - bool operator()( - const string& _Left, - const string& _Right - ) const - { - return (bool) (stricmp(_Left.c_str(),_Right.c_str())<0); - } -}; - -typedef map > OBJLIST; -typedef OBJLIST::const_iterator OBJLIST_ITER; - -typedef list SELECTORLIST; -typedef SELECTORLIST::const_iterator SELECTORLIST_ITER; - - - -class skinpp_SKIN -{ -public: - //constructor and destructor - skinpp_SKIN(); - ~skinpp_SKIN(); - HRESULT LoadSkin(const char * szFileName); - HRESULT LoadSkinFromMemory(const char * szBuffer); - HRESULT SaveSkin(const char * szFileName); - - class skinpp_SKINOBJECT * FindObjectByName(char * szName); - class skinpp_SKINOBJECT * FindObjectByRule(char * szSelector); - class skinpp_SKINOBJECT * FindObjectBySelector(class skinpp_SELECTOR * lpSelector); -private: - HRESULT GetDataFromXMLDocument(); // convert skin data from xmldocument nodes - HRESULT PutDataToXMLDocument(); // convert skin data to xmldocument nodes - void ClearSkin(); // remove all data from skin - - XMLDocument* m_lpXMLDocument; // XML document loaded from - OBJLIST m_ObjectList; // map of objects - SELECTORLIST m_SelectorList; // list of selectors - // list of buttons ??? - // map of skinable db keys - - string m_strSkinName; - string m_strSkinAuthor; - string m_strSkinAbout; - string m_strAuthorMail; - string m_strSkinWeb; - -}; - -#include "skinpp_object.h" - -class skinpp_SOLID: public skinpp_SKINOBJECT -{ -public: - //constructor and destructor - skinpp_SOLID(); - ~skinpp_SOLID(); - - virtual int GetObjectDataFromXMLNode(XMLNode * lpNode); // gets data from node - virtual int PutObjectDataToXMLNode(XMLNode * lpNode); // put data to node - - // data of solid brush object - BYTE m_bOpacity; // Common brush opacity - DWORD m_dwColor; // Color of solid brush -}; - -class skinpp_GRADIENT: public skinpp_SKINOBJECT -{ -public: - //constructor and destructor - skinpp_GRADIENT(); - ~skinpp_GRADIENT(); - - virtual int GetObjectDataFromXMLNode(XMLNode * lpNode); // gets data from node - virtual int PutObjectDataToXMLNode(XMLNode * lpNode); // put data to node - - // data of gradient brush object - BYTE m_bStartOpacity; // start brush opacity - DWORD m_dwStartColor; // start color of gradient brush - BYTE m_bEndOpacity; // end brush opacity - DWORD m_dwEndColor; // end color of gradient brush - BYTE m_bDirection; -}; - -class skinpp_EMPTY: public skinpp_SKINOBJECT -{ -public: - //constructor and destructor - skinpp_EMPTY(); - ~skinpp_EMPTY(); - - virtual int GetObjectDataFromXMLNode(XMLNode * lpNode); // gets data from node - virtual int PutObjectDataToXMLNode(XMLNode * lpNode); // put data to node -}; - -class skinpp_SELECTOR -{ -public: - //constructor and destructor -}; - -#endif // skinpp_private_h__ \ No newline at end of file diff --git a/plugins/Modernb/_disabled_src/stdafx.cpp b/plugins/Modernb/_disabled_src/stdafx.cpp deleted file mode 100644 index 6856e97c85..0000000000 --- a/plugins/Modernb/_disabled_src/stdafx.cpp +++ /dev/null @@ -1,56 +0,0 @@ -// stdafx.cpp : source file that includes just the standard includes -// MMXSwarm.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information -// Also includes utility functions that rarely change. -// -// This is a part of the Microsoft Foundation Classes C++ library. -// Copyright (c) Microsoft Corporation. All rights reserved. -// -// This source code is only intended as a supplement to the -// Microsoft Foundation Classes Reference and related -// electronic documentation provided with the library. -// See these sources for detailed information regarding the -// Microsoft Foundation Classes product. -// -#include "stdafx.h" -#include -#include - -static bool _IsMMX(); - -bool IsMMX() -{ - static bool bMMX = _IsMMX(); - return(bMMX); -} - -static bool _IsMMX() -{ - // This bit flag can get set on calling cpuid - // with register eax set to 1 - const int _MMX_FEATURE_BIT = 0x00800000; - DWORD dwFeature = 0; - __try { - _asm { - mov eax,1 - cpuid - mov dwFeature,edx - } - } __except ( EXCEPTION_EXECUTE_HANDLER) { - return false; - } - if (dwFeature & _MMX_FEATURE_BIT) { - __try { - __asm { - pxor mm0, mm0 - emms - } - } __except (EXCEPTION_EXECUTE_HANDLER) { - return (0); - } - return(true); - } - - return false; -} - diff --git a/plugins/Modernb/msvc6.rc b/plugins/Modernb/msvc6.rc deleted file mode 100644 index 7989eaa16b..0000000000 --- a/plugins/Modernb/msvc6.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "resource.rc" -#include "version.rc" diff --git a/plugins/NewAwaySysMod/resources.rc b/plugins/NewAwaySysMod/resources.rc deleted file mode 100644 index 5ce1657aa7..0000000000 --- a/plugins/NewAwaySysMod/resources.rc +++ /dev/null @@ -1,6 +0,0 @@ -#include "resource.h" -#include "VersionNo.h" -#include "NewAwaySys.rc" -#include "version.rc" - - diff --git a/plugins/Popup/Deprecated/notify_imp.cpp b/plugins/Popup/Deprecated/notify_imp.cpp deleted file mode 100644 index 071fb5d7ec..0000000000 --- a/plugins/Popup/Deprecated/notify_imp.cpp +++ /dev/null @@ -1,296 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#include "headers.h" - -static HANDLE hhkShow=0, hhkUpdate=0, hhkRemove=0; - -//static void PopupThread(void *arg); -static INT_PTR Popup2Show(WPARAM wParam, LPARAM lParam); -static INT_PTR Popup2Update(WPARAM wParam, LPARAM lParam); -static INT_PTR Popup2Remove(WPARAM wParam, LPARAM lParam); -static INT_PTR svcPopup2DefaultActions(WPARAM wParam, LPARAM lParam); -static INT_PTR __stdcall PopupNotifyWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); - -void LoadNotifyImp() -{ - hhkShow = HookEvent(ME_NOTIFY_SHOW, (MIRANDAHOOK)Popup2Show); - hhkUpdate = HookEvent(ME_NOTIFY_UPDATE, (MIRANDAHOOK)Popup2Update); - hhkRemove = HookEvent(ME_NOTIFY_REMOVE, (MIRANDAHOOK)Popup2Remove); - - CreateServiceFunction("Popup2/DefaultActions", svcPopup2DefaultActions); - - CreateServiceFunction(MS_POPUP2_SHOW, Popup2Show); - CreateServiceFunction(MS_POPUP2_UPDATE, Popup2Update); - CreateServiceFunction(MS_POPUP2_REMOVE, Popup2Remove); -} - -void UnloadNotifyImp() -{ - UnhookEvent(hhkShow); - UnhookEvent(hhkUpdate); - UnhookEvent(hhkRemove); -} - -static INT_PTR svcPopup2DefaultActions(WPARAM wParam, LPARAM lParam) -{ - HWND hwnd = (HWND)MNotifyGetDWord((HANDLE)lParam, "Popup2/hwnd", (DWORD)NULL); - if (!hwnd) return 0; - - HANDLE hNotify = (HANDLE)PUGetPluginData(hwnd); - if (!hNotify || (hNotify == INVALID_HANDLE_VALUE)) return 0; - - switch (wParam) - { - case 0: - { // send message - if (HANDLE hContact = (HANDLE)MNotifyGetDWord(hNotify, NFOPT_CONTACT, 0)) - CallServiceSync(MS_MSG_SENDMESSAGE, (WPARAM)hContact, 0); - SendMessage(hwnd, UM_DESTROYPOPUP, 0, 0); - break; - } - case 1: - { // dismiss popup - SendMessage(hwnd, UM_DESTROYPOPUP, 0, 0); - break; - } - } - return 0; -} - -static INT_PTR __stdcall PopupNotifyWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) -{ - HANDLE hNotify = (HANDLE)PUGetPluginData(hwnd); - - if (!hNotify || (hNotify == INVALID_HANDLE_VALUE)) - return DefWindowProc(hwnd, msg, wParam, lParam); - - switch (msg) - { - case UM_INITPOPUP: - { - MNotifyAddRef(hNotify); - MNotifySetDWord(hNotify, "Popup2/hwnd", (DWORD)hwnd); - break; - } - case UM_FREEPLUGINDATA: - { - int result = 0; - if (WNDPROC PluginWndProc = (WNDPROC)MNotifyGetDWord(hNotify, NFOPT_POPUP2_WNDPROC, NULL)) - result = PluginWndProc(hwnd, msg, wParam, lParam); - result = DefWindowProc(hwnd, msg, wParam, lParam); - - MNotifySetDWord(hNotify, "Popup2/hwnd", (DWORD)NULL); - MNotifyRelease(hNotify); - - return result; - } - - case WM_LBUTTONDOWN: - { - const char *service = MNotifyGetString(hNotify, NFOPT_POPUP2_LCLICKSVC, "Popup2/DefaultActions"); - DWORD cookie = MNotifyGetDWord(hNotify, NFOPT_POPUP2_LCLICKCOOKIE, 0); - CallService(service, cookie, (LPARAM)hNotify); - break; - } - case WM_RBUTTONDOWN: - { - const char *service = MNotifyGetString(hNotify, NFOPT_POPUP2_LCLICKSVC, "Popup2/DefaultActions"); - DWORD cookie = MNotifyGetDWord(hNotify, NFOPT_POPUP2_LCLICKCOOKIE, 1); - CallService(service, cookie, (LPARAM)hNotify); - break; - } - } - - if (WNDPROC PluginWndProc = (WNDPROC)MNotifyGetDWord(hNotify, NFOPT_POPUP2_WNDPROC, NULL)) - return PluginWndProc(hwnd, msg, wParam, lParam); - - return DefWindowProc(hwnd, msg, wParam, lParam); -} - -static INT_PTR Popup2Show(WPARAM wParam, LPARAM lParam) -{ - if (!gbPopupLoaded) return -1; - - HANDLE hNotify = (HANDLE)lParam; - if (!hNotify) return -1; - - POPUPDATA2 ppd2 = {0}; - ppd2.cbSize = sizeof(ppd2); - ppd2.flags = 0; - ppd2.lchContact = (HANDLE)MNotifyGetDWord(hNotify, NFOPT_CONTACT, NULL);; - ppd2.lchEvent = (HANDLE)MNotifyGetDWord(hNotify, NFOPT_CONTACT, NULL); - ppd2.lchIcon = (HICON)MNotifyGetDWord(hNotify, NFOPT_ICON, (DWORD)LoadSkinnedIcon(SKINICON_OTHER_MIRANDA)); - - if (PopUpOptions.UseWinColors) - { - ppd2.colorBack = GetSysColor(COLOR_BTNFACE); - ppd2.colorText = GetSysColor(COLOR_WINDOWTEXT); - } else - { - ppd2.colorBack = fonts.clBack; - ppd2.colorText = fonts.clText; - } - ppd2.colorBack = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, MNotifyGetDWord(hNotify, NFOPT_BACKCOLOR, ppd2.colorBack)); - ppd2.colorText = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, MNotifyGetDWord(hNotify, NFOPT_TEXTCOLOR, ppd2.colorText)); - ppd2.PluginWindowProc = (WNDPROC)MNotifyGetDWord(hNotify, NFOPT_POPUP2_WNDPROC, NULL); - ppd2.PluginData = (LPVOID)MNotifyGetDWord(hNotify, NFOPT_POPUP2_PLUGINDATA, NULL); - ppd2.iSeconds = (int)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TIMEOUT, MNotifyGetDWord(hNotify, NFOPT_TIMEOUT, PopUpOptions.Seconds)); - - WCHAR *lpwzTitle, *lpwzText; - char *lpzTitle, *lpzText; - lpwzTitle = (WCHAR *)MNotifyGetWString(hNotify, NFOPT_TITLEW, NULL); - lpzTitle = (char *)MNotifyGetString(hNotify, NFOPT_TITLE, NULL); - lpwzText = (WCHAR *)MNotifyGetWString(hNotify, NFOPT_TEXTW, NULL); - lpzText = (char *)MNotifyGetString(hNotify, NFOPT_TEXT, NULL); - if (lpwzTitle && lpwzText) - { - ppd2.lpwzTitle = lpwzTitle; - ppd2.lpwzText = lpwzText; - ppd2.flags |= PU2_UNICODE; - } else - if (lpzTitle && lpzText) - { - ppd2.lpzTitle = lpzTitle; - ppd2.lpzText = lpzText; - ppd2.flags |= PU2_ANSI; - } else - { - ppd2.lpzText = ppd2.lpzTitle = Translate(""); - ppd2.flags |= PU2_ANSI; - } - - DWORD dwStatusMode = MNotifyGetDWord(hNotify, NFOPT_POPUP2_STATUSMODE, 0x3ff); - - DWORD dwFlags = APF_RETURN_HWND; - switch (PopUpOptions.CurrentStatus) - { - case ID_STATUS_OFFLINE: if (!(dwStatusMode&0x001)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_ONLINE: if (!(dwStatusMode&0x002)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_AWAY: if (!(dwStatusMode&0x004)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_DND: if (!(dwStatusMode&0x008)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_NA: if (!(dwStatusMode&0x010)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_OCCUPIED: if (!(dwStatusMode&0x020)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_FREECHAT: if (!(dwStatusMode&0x040)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_INVISIBLE: if (!(dwStatusMode&0x080)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_ONTHEPHONE: if (!(dwStatusMode&0x100)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_OUTTOLUNCH: if (!(dwStatusMode&0x200)) dwFlags |= APF_NO_POPUP; break; - } - - ppd2.PluginData = hNotify; - ppd2.PluginWindowProc = (WNDPROC)PopupNotifyWndProc; - - return PopUp_AddPopUp2((WPARAM)&ppd2, dwFlags); -} - -static INT_PTR Popup2Update(WPARAM wParam, LPARAM lParam) -{ - if (!gbPopupLoaded) return -1; - - HANDLE hNotify = (HANDLE)lParam; - if (!hNotify) return -1; - - HWND hwnd = (HWND)MNotifyGetDWord(hNotify, "Popup2/hwnd", 0); - if (!hwnd) return -1; - - POPUPDATA2 ppd2 = {0}; - ppd2.cbSize = sizeof(ppd2); - ppd2.flags = 0; - ppd2.lchContact = (HANDLE)MNotifyGetDWord(hNotify, NFOPT_CONTACT, NULL);; - ppd2.lchEvent = (HANDLE)MNotifyGetDWord(hNotify, NFOPT_CONTACT, NULL); - ppd2.lchIcon = (HICON)MNotifyGetDWord(hNotify, NFOPT_ICON, (DWORD)LoadSkinnedIcon(SKINICON_OTHER_MIRANDA)); - - if (PopUpOptions.UseWinColors) - { - ppd2.colorBack = GetSysColor(COLOR_BTNFACE); - ppd2.colorText = GetSysColor(COLOR_WINDOWTEXT); - } else - { - ppd2.colorBack = fonts.clBack; - ppd2.colorText = fonts.clText; - } - ppd2.colorBack = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, MNotifyGetDWord(hNotify, NFOPT_BACKCOLOR, ppd2.colorBack)); - ppd2.colorText = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, MNotifyGetDWord(hNotify, NFOPT_TEXTCOLOR, ppd2.colorText)); - ppd2.PluginWindowProc = (WNDPROC)MNotifyGetDWord(hNotify, NFOPT_POPUP2_WNDPROC, NULL); - ppd2.PluginData = (LPVOID)MNotifyGetDWord(hNotify, NFOPT_POPUP2_PLUGINDATA, NULL); - ppd2.iSeconds = (int)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TIMEOUT, MNotifyGetDWord(hNotify, NFOPT_TIMEOUT, PopUpOptions.Seconds)); - - WCHAR *lpwzTitle, *lpwzText; - char *lpzTitle, *lpzText; - lpwzTitle = (WCHAR *)MNotifyGetWString(hNotify, NFOPT_TITLEW, NULL); - lpzTitle = (char *)MNotifyGetString(hNotify, NFOPT_TITLE, NULL); - lpwzText = (WCHAR *)MNotifyGetWString(hNotify, NFOPT_TEXTW, NULL); - lpzText = (char *)MNotifyGetString(hNotify, NFOPT_TEXT, NULL); - if (lpwzTitle && lpwzText) - { - ppd2.lpwzTitle = lpwzTitle; - ppd2.lpwzText = lpwzText; - ppd2.flags |= PU2_UNICODE; - } else - if (lpzTitle && lpzText) - { - ppd2.lpzTitle = lpzTitle; - ppd2.lpzText = lpzText; - ppd2.flags |= PU2_ANSI; - } else - { - ppd2.lpzText = ppd2.lpzTitle = Translate(""); - ppd2.flags |= PU2_ANSI; - } - - DWORD dwStatusMode = MNotifyGetDWord(hNotify, NFOPT_POPUP2_STATUSMODE, 0x3ff); - - DWORD dwFlags = 0; - switch (PopUpOptions.CurrentStatus) - { - case ID_STATUS_OFFLINE: if (!(dwStatusMode&0x001)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_ONLINE: if (!(dwStatusMode&0x002)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_AWAY: if (!(dwStatusMode&0x004)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_DND: if (!(dwStatusMode&0x008)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_NA: if (!(dwStatusMode&0x010)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_OCCUPIED: if (!(dwStatusMode&0x020)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_FREECHAT: if (!(dwStatusMode&0x040)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_INVISIBLE: if (!(dwStatusMode&0x080)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_ONTHEPHONE: if (!(dwStatusMode&0x100)) dwFlags |= APF_NO_POPUP; break; - case ID_STATUS_OUTTOLUNCH: if (!(dwStatusMode&0x200)) dwFlags |= APF_NO_POPUP; break; - } - - ppd2.PluginData = hNotify; - ppd2.PluginWindowProc = (WNDPROC)PopupNotifyWndProc; - - return PopUp_Change2((WPARAM)hwnd, (LPARAM)&ppd2); -} - -static INT_PTR Popup2Remove(WPARAM wParam, LPARAM lParam) -{ - if (!gbPopupLoaded) return -1; - - HANDLE hNotify = (HANDLE)lParam; - if (!hNotify) return -1; - - HWND hwnd = (HWND)MNotifyGetDWord(hNotify, "Popup2/hwnd", 0); - if (!hwnd) return -1; - - SendMessage(hwnd, UM_DESTROYPOPUP, 0, 0); - return 0; -} diff --git a/plugins/Popup/Deprecated/notify_imp.h b/plugins/Popup/Deprecated/notify_imp.h deleted file mode 100644 index b7463cddf4..0000000000 --- a/plugins/Popup/Deprecated/notify_imp.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/Deprecated/notify_imp.h $ -Revision : $Revision: 1615 $ -Last change on : $Date: 2010-06-23 01:47:57 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#ifndef __notify_imp_h__ -#define __notify_imp_h__ - -void LoadNotifyImp(); -void UnloadNotifyImp(); - -#endif // __notify_imp_h__ diff --git a/plugins/Popup/Deprecated/opt_notify.cpp b/plugins/Popup/Deprecated/opt_notify.cpp deleted file mode 100644 index e54f2de584..0000000000 --- a/plugins/Popup/Deprecated/opt_notify.cpp +++ /dev/null @@ -1,446 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/Deprecated/opt_notify.cpp $ -Revision : $Revision: 1615 $ -Last change on : $Date: 2010-06-23 01:47:57 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#include "headers.h" - -INT_PTR CALLBACK DlgProcPopUps(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) -{ - HANDLE hNotify = (HANDLE)GetWindowLongPtr(hwnd, GWLP_USERDATA); - switch (msg) - { - case WM_INITDIALOG: - { - SendDlgItemMessage(hwnd, IDC_SALL, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SALL, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SALL, BM_SETIMAGE, IMAGE_ICON, (LPARAM)IcoLib_GetIcon(ICO_POPUP_ON,0)); - - SendDlgItemMessage(hwnd, IDC_SOFFLINE, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SOFFLINE, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SOFFLINE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_OFFLINE)); - - SendDlgItemMessage(hwnd, IDC_SONLINE, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SONLINE, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SONLINE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_ONLINE)); - - SendDlgItemMessage(hwnd, IDC_SAWAY, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SAWAY, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SAWAY, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_AWAY)); - - SendDlgItemMessage(hwnd, IDC_SNA, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SNA, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SNA, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_NA)); - - SendDlgItemMessage(hwnd, IDC_SOCCUPIED, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SOCCUPIED, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SOCCUPIED, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_OCCUPIED)); - - SendDlgItemMessage(hwnd, IDC_SDND, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SDND, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SDND, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_DND)); - - SendDlgItemMessage(hwnd, IDC_SFREE4CHAT, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SFREE4CHAT, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SFREE4CHAT, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_FREE4CHAT)); - - SendDlgItemMessage(hwnd, IDC_SINVISIBLE, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SINVISIBLE, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SINVISIBLE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_INVISIBLE)); - - SendDlgItemMessage(hwnd, IDC_SPHONE, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SPHONE, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SPHONE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_ONTHEPHONE)); - - SendDlgItemMessage(hwnd, IDC_SLUNCH, BUTTONSETASFLATBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SLUNCH, BUTTONSETASPUSHBTN, 0, 0); - SendDlgItemMessage(hwnd, IDC_SLUNCH, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadSkinnedIcon(SKINICON_STATUS_OUTTOLUNCH)); - - return TRUE; - } - - case UM_MNOTIFY_CHECK: - { - if (wParam != 1) - { - SetWindowLong(hwnd, DWLP_MSGRESULT, FALSE); - return 0; - } - - hNotify = *(HANDLE *)lParam; - SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)hNotify); - - EnableWindow(GetDlgItem(hwnd, IDC_TIMEOUT), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_USEBACKCOLOR), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_USETEXTCOLOR), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_USETIMEOUT), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_LACTION), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_RACTION), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SALL), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SONLINE), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SOFFLINE), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SAWAY), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SNA), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SOCCUPIED), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SDND), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SFREE4CHAT), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SINVISIBLE), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SPHONE), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_SLUNCH), lParam); - EnableWindow(GetDlgItem(hwnd, IDC_PREVIEW), lParam); - - DWORD dwStatusMode = MNotifyGetDWord(hNotify, NFOPT_POPUP2_STATUSMODE, 0x03ff); - CheckDlgButton(hwnd, IDC_SALL, dwStatusMode==0x3ff ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SOFFLINE, dwStatusMode & 0x001 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SONLINE, dwStatusMode & 0x002 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SAWAY, dwStatusMode & 0x004 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SNA, dwStatusMode & 0x008 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SOCCUPIED, dwStatusMode & 0x010 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SDND, dwStatusMode & 0x020 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SFREE4CHAT, dwStatusMode & 0x040 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SINVISIBLE, dwStatusMode & 0x080 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SPHONE, dwStatusMode & 0x100 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SLUNCH, dwStatusMode & 0x200 ? TRUE : FALSE); - - COLORREF cl; - if ((cl = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, MNotifyGetDWord(hNotify, NFOPT_BACKCOLOR, 0))) != (COLORREF)-1) - { - CheckDlgButton(hwnd, IDC_USEBACKCOLOR, BST_UNCHECKED); - SendDlgItemMessage(hwnd, IDC_BACKCOLOR, CPM_SETCOLOUR, 0, (LPARAM)cl); - EnableWindow(GetDlgItem(hwnd, IDC_BACKCOLOR), TRUE); - } else - { - CheckDlgButton(hwnd, IDC_USEBACKCOLOR, BST_CHECKED); - SendDlgItemMessage(hwnd, IDC_BACKCOLOR, CPM_SETCOLOUR, 0, (LPARAM)cl); - EnableWindow(GetDlgItem(hwnd, IDC_BACKCOLOR), FALSE); - } - if ((cl = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, MNotifyGetDWord(hNotify, NFOPT_TEXTCOLOR, 0))) != (COLORREF)-1) - { - CheckDlgButton(hwnd, IDC_USETEXTCOLOR, BST_UNCHECKED); - SendDlgItemMessage(hwnd, IDC_TEXTCOLOR, CPM_SETCOLOUR, 0, (LPARAM)cl); - EnableWindow(GetDlgItem(hwnd, IDC_TEXTCOLOR), TRUE); - } else - { - CheckDlgButton(hwnd, IDC_USETEXTCOLOR, BST_CHECKED); - SendDlgItemMessage(hwnd, IDC_TEXTCOLOR, CPM_SETCOLOUR, 0, (LPARAM)cl); - EnableWindow(GetDlgItem(hwnd, IDC_TEXTCOLOR), FALSE); - } - - HWND hwndCombo = GetDlgItem(hwnd, IDC_TIMEOUT); - ComboBox_ResetContent(hwndCombo); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "Default"), 0); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "1 second"), 1); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "2 seconds"), 2); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "3 seconds"), 3); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "4 seconds"), 4); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "5 seconds"), 5); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "7 seconds"), 7); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "10 seconds"), 10); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "15 seconds"), 15); - ComboBox_SetItemData(hwndCombo, ComboBox_AddString(hwndCombo, "Infinite"), -1); - - int timeout = (int)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TIMEOUT, MNotifyGetDWord(hNotify, NFOPT_TIMEOUT, 0)); -// if (!timeout) -// { -// CheckDlgButton(hwnd, IDC_USETIMEOUT, BST_CHECKED); -// EnableWindow(GetDlgItem(hwnd, IDC_TIMEOUT), FALSE); -// } else - if (timeout < 0) - { - SetDlgItemText(hwnd, IDC_TIMEOUT, "Infinite"); - } else - { - switch (timeout) - { - case 0: SetDlgItemText(hwnd, IDC_TIMEOUT, "Default"); break; - case 1: SetDlgItemText(hwnd, IDC_TIMEOUT, "1 second"); break; - case 2: SetDlgItemText(hwnd, IDC_TIMEOUT, "2 seconds"); break; - case 3: SetDlgItemText(hwnd, IDC_TIMEOUT, "3 seconds"); break; - case 4: SetDlgItemText(hwnd, IDC_TIMEOUT, "4 seconds"); break; - case 5: SetDlgItemText(hwnd, IDC_TIMEOUT, "5 seconds"); break; - case 7: SetDlgItemText(hwnd, IDC_TIMEOUT, "7 seconds"); break; - case 10: SetDlgItemText(hwnd, IDC_TIMEOUT, "10 seconds"); break; - case 15: SetDlgItemText(hwnd, IDC_TIMEOUT, "15 seconds"); break; - default: SetDlgItemInt(hwnd, IDC_TIMEOUT, timeout, TRUE); - } - } - - const char *svcLAction = MNotifyGetString(hNotify, NFOPT_POPUP2_LCLICKSVC, "Popup2/DefaultActions"); - DWORD cookieLAction = MNotifyGetDWord(hNotify, NFOPT_POPUP2_LCLICKCOOKIE, (DWORD)-1); - const char *svcRAction = MNotifyGetString(hNotify, NFOPT_POPUP2_RCLICKSVC, "Popup2/DefaultActions"); - DWORD cookieRAction = MNotifyGetDWord(hNotify, NFOPT_POPUP2_RCLICKCOOKIE, (DWORD)-1); - - int idItem, idRAction=0, idLAction=0; - int nActions = MNotifyGetActions(hNotify, 0); - HWND hwndLCombo = GetDlgItem(hwnd, IDC_LACTION); - HWND hwndRCombo = GetDlgItem(hwnd, IDC_RACTION); - ComboBox_ResetContent(hwndLCombo); - ComboBox_ResetContent(hwndRCombo); - ComboBox_SetItemData(hwndLCombo, ComboBox_AddString(hwndLCombo, "Basic Actions:"), -4); - ComboBox_SetItemData(hwndRCombo, ComboBox_AddString(hwndRCombo, "Basic Actions:"), -4); - ComboBox_SetItemData(hwndLCombo, idItem = ComboBox_AddString(hwndLCombo, " Send Message"), -1); - if (!idLAction && !strcmp(svcLAction, "Popup2/DefaultActions") && cookieLAction==0) idLAction=idItem; - ComboBox_SetItemData(hwndRCombo, idItem = ComboBox_AddString(hwndRCombo, " Send Message"), -1); - if (!idRAction && !strcmp(svcRAction, "Popup2/DefaultActions") && cookieRAction==0) idRAction=idItem; - ComboBox_SetItemData(hwndLCombo, idItem = ComboBox_AddString(hwndLCombo, " Dismiss Popup"), -2); - if (!idLAction && !strcmp(svcLAction, "Popup2/DefaultActions") && cookieLAction==1) idLAction=idItem; - ComboBox_SetItemData(hwndRCombo, idItem = ComboBox_AddString(hwndRCombo, " Dismiss Popup"), -2); - if (!idRAction && !strcmp(svcRAction, "Popup2/DefaultActions") && cookieRAction==1) idRAction=idItem; - ComboBox_SetItemData(hwndLCombo, idItem = ComboBox_AddString(hwndLCombo, " Do Nothing"), -3); - if (!idLAction && !strcmp(svcLAction, "Popup2/DefaultActions") && cookieLAction==2) idLAction=idItem; - ComboBox_SetItemData(hwndRCombo, idItem = ComboBox_AddString(hwndRCombo, " Do Nothing"), -3); - if (!idRAction && !strcmp(svcRAction, "Popup2/DefaultActions") && cookieRAction==2) idRAction=idItem; - if (nActions) - { - MNOTIFYACTIONINFO *actions = new MNOTIFYACTIONINFO[nActions]; - MNotifyGetActions(hNotify, actions); - ComboBox_SetItemData(hwndLCombo, ComboBox_AddString(hwndLCombo, "Advanced Actions:"), -3); - ComboBox_SetItemData(hwndRCombo, ComboBox_AddString(hwndRCombo, "Advanced Actions:"), -3); - for (int i = 0; i < nActions; i++) - { - char buf[64]; - wsprintf(buf, " %64s", actions[i].name); - ComboBox_SetItemData(hwndLCombo, idItem = ComboBox_AddString(hwndLCombo, buf), i); - if (!idLAction && !strcmp(svcLAction, actions[i].service) && cookieLAction==actions[i].cookie) idLAction=idItem; - ComboBox_SetItemData(hwndRCombo, idItem = ComboBox_AddString(hwndRCombo, buf), i); - if (!idRAction && !strcmp(svcRAction, actions[i].service) && cookieRAction==actions[i].cookie) idRAction=idItem; - } - delete [] actions; - } - ComboBox_SetCurSel(hwndLCombo, idLAction?idLAction:1); - ComboBox_SetCurSel(hwndRCombo, idRAction?idRAction:2); - - SetWindowLongPtr(hwnd, DWLP_MSGRESULT, TRUE); - return TRUE; - } - - case WM_COMMAND: - switch (LOWORD(wParam)) - { - case IDC_PREVIEW: - { - HANDLE hNotifyObj = MNotifyCreate(hNotify); - MNotifySetString(hNotifyObj, NFOPT_TITLE, "Popup2"); - MNotifySetString(hNotifyObj, NFOPT_TEXT, "The new preview :)"); - MPopup2Show(hNotifyObj); - break; - } - case IDC_USEBACKCOLOR: - { - if (IsDlgButtonChecked(hwnd, IDC_USEBACKCOLOR)) - { - MNotifySetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR"/Save", - MNotifyGetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, 0)); - MNotifySetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, (DWORD)-1); - EnableWindow(GetDlgItem(hwnd, IDC_BACKCOLOR), FALSE); - } else - { - COLORREF cl = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR"/Save", 0); - MNotifySetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, (DWORD)cl); - SendDlgItemMessage(hwnd, IDC_BACKCOLOR, CPM_SETCOLOUR, 0, (LPARAM)cl); - EnableWindow(GetDlgItem(hwnd, IDC_BACKCOLOR), TRUE); - } - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - break; - } - case IDC_USETEXTCOLOR: - { - if (IsDlgButtonChecked(hwnd, IDC_USETEXTCOLOR)) - { - MNotifySetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR"/Save", - MNotifyGetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, 0)); - MNotifySetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, (DWORD)-1); - EnableWindow(GetDlgItem(hwnd, IDC_TEXTCOLOR), FALSE); - } else - { - COLORREF cl = (COLORREF)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR"/Save", 0); - MNotifySetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, (DWORD)cl); - SendDlgItemMessage(hwnd, IDC_TEXTCOLOR, CPM_SETCOLOUR, 0, (LPARAM)cl); - EnableWindow(GetDlgItem(hwnd, IDC_TEXTCOLOR), TRUE); - } - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - break; - }; - case IDC_BACKCOLOR: - case IDC_TEXTCOLOR: - { - if (HIWORD(wParam) == CPN_COLOURCHANGED) - { - MNotifySetDWord(hNotify, NFOPT_POPUP2_BACKCOLOR, (DWORD)SendDlgItemMessage(hwnd,IDC_BACKCOLOR, CPM_GETCOLOUR, 0, 0)); - MNotifySetDWord(hNotify, NFOPT_POPUP2_TEXTCOLOR, (DWORD)SendDlgItemMessage(hwnd,IDC_TEXTCOLOR, CPM_GETCOLOUR, 0, 0)); - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - } - break; - } - case IDC_TIMEOUT: - { - int timeout=-2; - int idItem; - if ((idItem = ComboBox_GetCurSel(GetDlgItem(hwnd, IDC_TIMEOUT))) != CB_ERR) - { - timeout = (int)ComboBox_GetItemData(GetDlgItem(hwnd, IDC_TIMEOUT), idItem); - } else - { - char buf[64]; - ComboBox_GetText(GetDlgItem(hwnd, IDC_TIMEOUT), buf, 64); - if (*buf >= '0' && *buf <= '9') - timeout = atoi(buf); - } - if (timeout>-2) - { - MNotifySetDWord(hNotify, NFOPT_POPUP2_TIMEOUT, (DWORD)timeout); - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - } else - { - timeout = (int)MNotifyGetDWord(hNotify, NFOPT_POPUP2_TIMEOUT, 0); - if (timeout < 0) SetDlgItemText(hwnd, IDC_TIMEOUT, "Infinite"); - else - { - switch (timeout) - { - case 0: SetDlgItemText(hwnd, IDC_TIMEOUT, "Default"); break; - case 1: SetDlgItemText(hwnd, IDC_TIMEOUT, "1 second"); break; - case 2: SetDlgItemText(hwnd, IDC_TIMEOUT, "2 seconds"); break; - case 3: SetDlgItemText(hwnd, IDC_TIMEOUT, "3 seconds"); break; - case 4: SetDlgItemText(hwnd, IDC_TIMEOUT, "4 seconds"); break; - case 5: SetDlgItemText(hwnd, IDC_TIMEOUT, "5 seconds"); break; - case 7: SetDlgItemText(hwnd, IDC_TIMEOUT, "7 seconds"); break; - case 10: SetDlgItemText(hwnd, IDC_TIMEOUT, "10 seconds"); break; - case 15: SetDlgItemText(hwnd, IDC_TIMEOUT, "15 seconds"); break; - default: SetDlgItemInt(hwnd, IDC_TIMEOUT, timeout, TRUE); - } - } - } - break; - } - case IDC_LACTION: - case IDC_RACTION: - { - int idCtrl = LOWORD(wParam); - HWND hwndCombo = GetDlgItem(hwnd, idCtrl); - int idItem; - if ((idItem = ComboBox_GetCurSel(hwndCombo)) == CB_ERR) - break; - - char *svc=0; DWORD cookie=0; - MNOTIFYACTIONINFO *actions=0; - int idAction = (int)ComboBox_GetItemData(hwndCombo, idItem); - if (idAction == -1) - { // message - svc = "Popup2/DefaultActions"; - cookie = 0; - } else - if (idAction == -2) - { // dismiss - svc = "Popup2/DefaultActions"; - cookie = 1; - } else - if (idAction == -3) - { // do nothing - svc = "Popup2/DefaultActions"; - cookie = 2; - } else - if (idAction >= 0) - { - int nActions = MNotifyGetActions(hNotify, 0); - if (nActions) - { - actions = new MNOTIFYACTIONINFO[nActions]; - MNotifyGetActions(hNotify, actions); - svc = actions[idAction].service; - cookie = actions[idAction].cookie; - } - } else - { // do nothing - ComboBox_SetCurSel(hwndCombo, 3); - } - - if (svc) - { - MNotifySetString(hNotify, - idCtrl==IDC_LACTION ? NFOPT_POPUP2_LCLICKSVC : NFOPT_POPUP2_RCLICKSVC, - svc); - MNotifySetDWord(hNotify, - idCtrl==IDC_LACTION ? NFOPT_POPUP2_LCLICKCOOKIE : NFOPT_POPUP2_RCLICKCOOKIE, - cookie); - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - } - if (actions) delete [] actions; - break; - } - case IDC_SALL: - { - DWORD dwStatusMode = IsDlgButtonChecked(hwnd, IDC_SALL) ? 0x3ff : 0; - CheckDlgButton(hwnd, IDC_SOFFLINE, dwStatusMode & 0x001 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SONLINE, dwStatusMode & 0x002 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SAWAY, dwStatusMode & 0x004 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SNA, dwStatusMode & 0x008 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SOCCUPIED, dwStatusMode & 0x010 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SDND, dwStatusMode & 0x020 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SFREE4CHAT, dwStatusMode & 0x040 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SINVISIBLE, dwStatusMode & 0x080 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SPHONE, dwStatusMode & 0x100 ? TRUE : FALSE); - CheckDlgButton(hwnd, IDC_SLUNCH, dwStatusMode & 0x200 ? TRUE : FALSE); - MNotifySetDWord(hNotify, NFOPT_POPUP2_STATUSMODE, dwStatusMode); - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - break; - } - case IDC_SOFFLINE: - case IDC_SONLINE: - case IDC_SAWAY: - case IDC_SNA: - case IDC_SOCCUPIED: - case IDC_SDND: - case IDC_SFREE4CHAT: - case IDC_SINVISIBLE: - case IDC_SPHONE: - case IDC_SLUNCH: - { - DWORD dwStatusMode=0; // = MNotifyGetDWord(hNotify, NFOPT_POPUP2_STATUSMODE, 0x03ff); - if (IsDlgButtonChecked(hwnd, IDC_SOFFLINE)) dwStatusMode |= 0x001; - if (IsDlgButtonChecked(hwnd, IDC_SONLINE)) dwStatusMode |= 0x002; - if (IsDlgButtonChecked(hwnd, IDC_SAWAY)) dwStatusMode |= 0x004; - if (IsDlgButtonChecked(hwnd, IDC_SNA)) dwStatusMode |= 0x008; - if (IsDlgButtonChecked(hwnd, IDC_SOCCUPIED)) dwStatusMode |= 0x010; - if (IsDlgButtonChecked(hwnd, IDC_SDND)) dwStatusMode |= 0x020; - if (IsDlgButtonChecked(hwnd, IDC_SFREE4CHAT)) dwStatusMode |= 0x040; - if (IsDlgButtonChecked(hwnd, IDC_SINVISIBLE)) dwStatusMode |= 0x080; - if (IsDlgButtonChecked(hwnd, IDC_SPHONE)) dwStatusMode |= 0x100; - if (IsDlgButtonChecked(hwnd, IDC_SLUNCH)) dwStatusMode |= 0x200; - CheckDlgButton(hwnd, IDC_SALL, dwStatusMode==0x3ff ? TRUE : FALSE); - MNotifySetDWord(hNotify, NFOPT_POPUP2_STATUSMODE, dwStatusMode); - SendMessage(GetParent(GetParent(hwnd)), PSM_CHANGED, 0, 0); - break; - } - } - break; - } - return FALSE; -} diff --git a/plugins/Popup/Deprecated/opt_notify.h b/plugins/Popup/Deprecated/opt_notify.h deleted file mode 100644 index 2b3618360d..0000000000 --- a/plugins/Popup/Deprecated/opt_notify.h +++ /dev/null @@ -1,38 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/Deprecated/opt_notify.h $ -Revision : $Revision: 1615 $ -Last change on : $Date: 2010-06-23 01:47:57 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#ifndef __opt_notify_h__ -#define __opt_notify_h__ - -INT_PTR CALLBACK DlgProcPopUps(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); - -#endif // __opt_notify_h__ diff --git a/plugins/Popup/Deprecated/opt_old.cpp b/plugins/Popup/Deprecated/opt_old.cpp deleted file mode 100644 index 909cddb040..0000000000 --- a/plugins/Popup/Deprecated/opt_old.cpp +++ /dev/null @@ -1,87 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/src/opt_old.cpp $ -Revision : $Revision: 1610 $ -Last change on : $Date: 2010-06-23 00:55:13 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#include "headers.h" - - -void RestartNeeded_adv(HWND hwndDlg){ - ShowWindow(GetDlgItem(hwndDlg, IDC_ICO_RESTART), SW_SHOW); - ShowWindow(GetDlgItem(hwndDlg, IDC_TXT_RESTART), SW_SHOW); -} - -void LoadOption_OldOpts() { -} - -INT_PTR CALLBACK DlgProcPopUpOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { - switch (msg) { - case WM_INITDIALOG: - { - TranslateDialogDefault(hwndDlg); - - return TRUE; - } - //End WM_INITDIALOG - case WM_COMMAND: { - WORD idCtrl = LOWORD(wParam), wNotifyCode = HIWORD(wParam); - if (wNotifyCode == BN_KILLFOCUS || wNotifyCode == BN_SETFOCUS) return TRUE; - //These are simple clicks: we don't save, but we tell the Options Page to enable the "Apply" button. - switch(idCtrl) { - case IDC_PREVIEW: - PopUpPreview(); - break; - } //End switch(WM_COMMAND) - break; - //End WM_COMMAND - } - case WM_NOTIFY: { //Here we have pressed either the OK or the APPLY button. - switch(((LPNMHDR)lParam)->idFrom) { - case 0: - switch (((LPNMHDR)lParam)->code) { - case PSN_RESET: - //Restore the options stored in memory. - LoadOption_OldOpts(); - return TRUE; - case PSN_APPLY: { - return TRUE; - } //case PSN_APPLY - } // switch code - break; - } //switch idFrom - break; //End WM_NOTIFY - } - case UM_SETDLGITEMINT: - SetDlgItemInt(hwndDlg, (int)wParam, (int)lParam, FALSE); - break; - } //switch message - return FALSE; -} - diff --git a/plugins/Popup/Deprecated/opt_old.h b/plugins/Popup/Deprecated/opt_old.h deleted file mode 100644 index 5572558b4d..0000000000 --- a/plugins/Popup/Deprecated/opt_old.h +++ /dev/null @@ -1,39 +0,0 @@ -/* -Popup Plus plugin for Miranda IM - -Copyright © 2002 Luca Santarelli, - © 2004-2007 Victor Pavlychko - © 2010 MPK - © 2010 Merlin_de - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -=============================================================================== - -File name : $HeadURL: http://svn.miranda.im/mainrepo/popup/trunk/src/opt_old.h $ -Revision : $Revision: 1610 $ -Last change on : $Date: 2010-06-23 00:55:13 +0300 (Ср, 23 июн 2010) $ -Last change by : $Author: Merlin_de $ - -=============================================================================== -*/ - -#ifndef __opt_old_h__ -#define __opt_old_h__ - -void LoadOption_OldOpts(); -INT_PTR CALLBACK DlgProcPopUpOpts(HWND, UINT, WPARAM, LPARAM); - -#endif // __opt_old_h__ diff --git a/plugins/Popup/Deprecated/res_notify.h b/plugins/Popup/Deprecated/res_notify.h deleted file mode 100644 index bcd3b779ee..0000000000 --- a/plugins/Popup/Deprecated/res_notify.h +++ /dev/null @@ -1,36 +0,0 @@ -//{{NO_DEPENDENCIES}} -// Microsoft Visual C++ generated include file. -// Used by resource.rc -// -#define IDD_OPT_POPUPS 171 -#define IDC_PREVIEW 1033 -#define IDC_USEBACKCOLOR 1091 -#define IDC_USETEXTCOLOR 1092 -#define IDC_USETIMEOUT 1094 -#define IDC_LACTION 1096 -#define IDC_RACTION 1097 -#define IDC_SOFFLINE 1099 -#define IDC_SONLINE 1100 -#define IDC_SAWAY 1101 -#define IDC_SNA 1102 -#define IDC_SOCCUPIED 1103 -#define IDC_SDND 1104 -#define IDC_SFREE4CHAT 1105 -#define IDC_SINVISIBLE 1106 -#define IDC_SPHONE 1107 -#define IDC_SLUNCH 1108 -#define IDC_SALL 1109 -#define IDC_TIMEOUT 1110 -#define IDC_BACKCOLOR 1111 -#define IDC_TEXTCOLOR 1112 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 224 -#define _APS_NEXT_COMMAND_VALUE 40001 -#define _APS_NEXT_CONTROL_VALUE 1218 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif diff --git a/plugins/Popup/Deprecated/res_notify.rc b/plugins/Popup/Deprecated/res_notify.rc deleted file mode 100644 index d2f3e505f8..0000000000 --- a/plugins/Popup/Deprecated/res_notify.rc +++ /dev/null @@ -1,135 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "res_notify.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// Neutral resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU) -#ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#pragma code_page(1252) -#endif //_WIN32 - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_OPT_POPUPS DIALOGEX 0, 0, 207, 217 -STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD -EXSTYLE WS_EX_CONTROLPARENT -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - COMBOBOX IDC_LACTION,55,84,142,55,CBS_DROPDOWNLIST | WS_DISABLED | WS_VSCROLL | WS_TABSTOP - COMBOBOX IDC_RACTION,55,103,142,55,CBS_DROPDOWNLIST | WS_DISABLED | WS_VSCROLL | WS_TABSTOP - LTEXT "Left Click:",IDC_STATIC,8,84,42,12,SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_RIGHT - LTEXT "Right Click:",IDC_STATIC,8,103,42,12,SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_RIGHT - PUSHBUTTON "Preview",IDC_PREVIEW,145,200,57,12,WS_DISABLED - CONTROL "",IDC_SOFFLINE,"MButtonClass",WS_DISABLED | WS_TABSTOP,37,137,16,14 - CONTROL "",IDC_SONLINE,"MButtonClass",WS_DISABLED | WS_TABSTOP,53,137,16,14 - CONTROL "",IDC_SAWAY,"MButtonClass",WS_DISABLED | WS_TABSTOP,69,137,16,14 - CONTROL "",IDC_SNA,"MButtonClass",WS_DISABLED | WS_TABSTOP,85,137,16,14 - CONTROL "",IDC_SOCCUPIED,"MButtonClass",WS_DISABLED | WS_TABSTOP,101,137,16,14 - CONTROL "",IDC_SDND,"MButtonClass",WS_DISABLED | WS_TABSTOP,117,137,16,14 - CONTROL "",IDC_SFREE4CHAT,"MButtonClass",WS_DISABLED | WS_TABSTOP,133,137,16,14 - CONTROL "",IDC_SINVISIBLE,"MButtonClass",WS_DISABLED | WS_TABSTOP,149,137,16,14 - CONTROL "",IDC_SPHONE,"MButtonClass",WS_DISABLED | WS_TABSTOP,165,137,16,14 - CONTROL "",IDC_SLUNCH,"MButtonClass",WS_DISABLED | WS_TABSTOP,181,137,16,14 - CONTROL "A",IDC_SALL,"MButtonClass",WS_TABSTOP,16,137,16,14 - GROUPBOX "Style",IDC_STATIC,4,5,198,63 - CONTROL "",IDC_BACKCOLOR,"ColourPicker",WS_DISABLED | WS_TABSTOP,55,15,48,12 - LTEXT "Background:",IDC_STATIC,8,15,42,12,SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_RIGHT - CONTROL "",IDC_TEXTCOLOR,"ColourPicker",WS_DISABLED | WS_TABSTOP,55,32,48,12 - LTEXT "Text:",IDC_STATIC,8,32,42,12,SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_RIGHT - CONTROL "Use Default",IDC_USEBACKCOLOR,"Button",BS_AUTOCHECKBOX | BS_LEFT | BS_VCENTER | WS_DISABLED | WS_TABSTOP,108,15,89,12 - CONTROL "Use Default",IDC_USETEXTCOLOR,"Button",BS_AUTOCHECKBOX | BS_LEFT | BS_VCENTER | WS_DISABLED | WS_TABSTOP,108,32,89,12 - LTEXT "Timeout:",IDC_STATIC,8,49,42,12,SS_CENTERIMAGE | NOT WS_GROUP,WS_EX_RIGHT - CONTROL "Use Default",IDC_USETIMEOUT,"Button",BS_AUTOCHECKBOX | BS_LEFT | BS_VCENTER | NOT WS_VISIBLE | WS_DISABLED | WS_TABSTOP,108,49,89,12 - GROUPBOX "Interaction",IDC_STATIC,4,73,198,48 - GROUPBOX "Display when",IDC_STATIC,4,126,198,31 - COMBOBOX IDC_TIMEOUT,55,49,48,126,CBS_DROPDOWN | WS_DISABLED | WS_VSCROLL | WS_TABSTOP -END - - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog Info -// - -IDD_OPT_POPUPS DLGINIT -BEGIN - IDC_LACTION, 0x403, 13, 0 -0x6553, 0x646e, 0x4d20, 0x7365, 0x6173, 0x6567, "\000" - IDC_LACTION, 0x403, 14, 0 -0x6944, 0x6d73, 0x7369, 0x2073, 0x6f50, 0x7570, 0x0070, - IDC_RACTION, 0x403, 13, 0 -0x6553, 0x646e, 0x4d20, 0x7365, 0x6173, 0x6567, "\000" - IDC_RACTION, 0x403, 14, 0 -0x6944, 0x6d73, 0x7369, 0x2073, 0x6f50, 0x7570, 0x0070, - 0 -END - -#endif // Neutral resources -///////////////////////////////////////////////////////////////////////////// - - -///////////////////////////////////////////////////////////////////////////// -// Italienisch (Italien) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ITA) -#ifdef _WIN32 -LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED - -#endif // Italienisch (Italien) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// - - -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/plugins/Popup/res_vc6.rc b/plugins/Popup/res_vc6.rc deleted file mode 100644 index 7989eaa16b..0000000000 --- a/plugins/Popup/res_vc6.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "resource.rc" -#include "version.rc" diff --git a/plugins/Scriver/Makefile b/plugins/Scriver/Makefile deleted file mode 100644 index ca620245b2..0000000000 --- a/plugins/Scriver/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# Project: Scriver_u - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RM = rm -UPX = upx -9 -q --compress-icons=0 -SRC = cmdlist.c globals.c infobar.c input.c msgdialog.c msglog.c msgoptions.c msgs.c msgtimedout.c msgwindow.c richutil.c srmm.c sendqueue.c statusicon.c utils.c chat/clist.c chat/colorchooser.c chat/log.c chat/main.c chat/manager.c chat/message.c chat/options.c chat/services.c chat/tools.c chat/window.c -RES = resource.res -OBJ = $(SRC:.c=.o) $(RES) -INCS = -I"../../include" -I"../../include/msapi" -BIN = scriver.dll -CFLAGS = $(INCS) -DNDEBUG -DBUILDING_DLL=1 -DUNICODE -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -CXXFLAGS = $(INCS) -DNDEBUG -DBUILDING_DLL=1 -DUNICODE -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -# -save-temps -LIBS = -lshlwapi -lversion -lwsock32 -lole32 -lcomctl32 -luuid -loleaut32 -LFLAGS = -O -s -mdll -mwindows --add-stdcall-alias -#LFLAGS = -mdll -mwindows -Wl,-Map,ieview.map --no-export-all-symbols --add-stdcall-alias -g3 -RCFLAGS = -J rc -O coff -DUNICODE -# --add-stdcall-alias -s --no-export-all-symbols - -.PHONY: all all-before all-after clean clean-custom - -all: all-before $(BIN) all-after -ifdef PACK - $(UPX) $(BIN) -endif - -clean: clean-custom - $(RM) -f $(OBJ) $(BIN) - -depend : - $(CPP) -MM $(CFLAGS) $(SRC)>Makefile.dep - -$(RES): $(RES:.res=.rc) resource.h - $(WINDRES) $(RCFLAGS) -i $(RES:.res=.rc) -o $(RES) - -$(BIN): $(OBJ) - $(CPP) $(CFLAGS) $(OBJ) $(LIBS) $(LFLAGS) -o $(BIN) -Wl - --include Makefile.dep diff --git a/plugins/Scriver/MakefileA b/plugins/Scriver/MakefileA deleted file mode 100644 index 1aab253f0e..0000000000 --- a/plugins/Scriver/MakefileA +++ /dev/null @@ -1,41 +0,0 @@ -# Project: Scriver_a - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RM = rm -UPX = upx -9 -q --compress-icons=0 -SRC = cmdlist.c globals.c infobar.c input.c msgdialog.c msglog.c msgoptions.c msgs.c msgtimedout.c msgwindow.c richutil.c srmm.c sendqueue.c statusicon.c utils.c chat/clist.c chat/colorchooser.c chat/log.c chat/main.c chat/manager.c chat/message.c chat/options.c chat/services.c chat/tools.c chat/window.c -RES = resource.res -OBJ = $(SRC:.c=.o) $(RES) -INCS = -I"../../include" -I"../../include/msapi" -BIN = scriver.dll -CFLAGS = $(INCS) -DBUILDING_DLL=1 -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -CXXFLAGS = $(INCS) -DBUILDING_DLL=1 -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -# -save-temps -LIBS = -lshlwapi -lversion -lwsock32 -lole32 -lcomctl32 -luuid -loleaut32 -LFLAGS = -s -mdll -mwindows --add-stdcall-alias -#LFLAGS = -mdll -mwindows -Wl,-Map,ieview.map --no-export-all-symbols --add-stdcall-alias -g3 -RCFLAGS = -J rc -O coff -# --add-stdcall-alias -s --no-export-all-symbols - -.PHONY: all all-before all-after clean clean-custom - -all: all-before $(BIN) all-after -ifdef PACK - $(UPX) $(BIN) -endif - -clean: clean-custom - $(RM) -f $(OBJ) $(BIN) - -depend : - $(CPP) -MM $(CFLAGS) $(SRC)>MakefileA.dep - -$(RES): $(RES:.res=.rc) resource.h - $(WINDRES) $(RCFLAGS) -i $(RES:.res=.rc) -o $(RES) - -$(BIN): $(OBJ) - $(CPP) $(CFLAGS) $(OBJ) $(LIBS) $(LFLAGS) -o $(BIN) -Wl - --include MakefileA.dep diff --git a/plugins/Scriver/MakefileIcons b/plugins/Scriver/MakefileIcons deleted file mode 100644 index 46cc621046..0000000000 --- a/plugins/Scriver/MakefileIcons +++ /dev/null @@ -1,41 +0,0 @@ -# Project: Scriver_icons - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RM = rm -UPX = upx -9 -q --compress-icons=0 -SRC = -RES = icons.res -OBJ = $(SRC:.c=.o) $(RES) -INCS = -I"../../include" -BIN = scriver_icons.dll -CFLAGS = $(INCS) -DBUILDING_DLL=1 -DUNICODE -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -CXXFLAGS = $(INCS) -DBUILDING_DLL=1 -DUNICODE -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -# -save-temps -LIBS = -lversion -lwsock32 -lole32 -lcomctl32 -luuid -loleaut32 -LFLAGS = -s -mdll -mwindows --add-stdcall-alias -#LFLAGS = -mdll -mwindows -Wl,-Map,ieview.map --no-export-all-symbols --add-stdcall-alias -g3 -RCFLAGS = -J rc -O coff -# --add-stdcall-alias -s --no-export-all-symbols - -.PHONY: all all-before all-after clean clean-custom - -all: all-before $(BIN) all-after -ifdef PACK - $(UPX) $(BIN) -endif - -clean: clean-custom - $(RM) -f $(OBJ) $(BIN) - -depend : - $(CPP) -MM $(CFLAGS) $(SRC)>Makefile.dep - -$(RES): $(RES:.res=.rc) resource.h - $(WINDRES) $(RCFLAGS) -i $(RES:.res=.rc) -o $(RES) - -$(BIN): $(OBJ) - $(CPP) $(CFLAGS) $(OBJ) $(LIBS) $(LFLAGS) -o $(BIN) -Wl - --include Makefile.dep diff --git a/plugins/Scriver/MakefileUbuntu b/plugins/Scriver/MakefileUbuntu deleted file mode 100644 index 30a9ba2a24..0000000000 --- a/plugins/Scriver/MakefileUbuntu +++ /dev/null @@ -1,41 +0,0 @@ -# Project: Scriver_u - -CPP = i586-mingw32msvc-g++ -CC = i586-mingw32msvc-gcc -WINDRES = i586-mingw32msvc-windres -RM = rm -UPX = upx -9 -q --compress-icons=0 -SRC = cmdlist.c globals.c infobar.c input.c msgdialog.c msglog.c msgoptions.c msgs.c msgtimedout.c msgwindow.c richutil.c srmm.c sendqueue.c statusicon.c utils.c chat/clist.c chat/colorchooser.c chat/log.c chat/main.c chat/manager.c chat/message.c chat/options.c chat/services.c chat/tools.c chat/window.c -RES = resource.res -OBJ = $(SRC:.c=.o) $(RES) -INCS = -I"../../include" -I"../../include/msapi" -BIN = scriver.dll -CFLAGS = $(INCS) -DNDEBUG -DBUILDING_DLL=1 -DUNICODE -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -CXXFLAGS = $(INCS) -DNDEBUG -DBUILDING_DLL=1 -DUNICODE -fexpensive-optimizations -O3 -Os -fno-exceptions -Wno-error -Wall -# -save-temps -LIBS = -lshlwapi -lversion -lwsock32 -lole32 -lcomctl32 -luuid -loleaut32 -LFLAGS = -O -s -mdll -mwindows --add-stdcall-alias -#LFLAGS = -mdll -mwindows -Wl,-Map,ieview.map --no-export-all-symbols --add-stdcall-alias -g3 -RCFLAGS = -J rc -O coff -DUNICODE -# --add-stdcall-alias -s --no-export-all-symbols - -.PHONY: all all-before all-after clean clean-custom - -all: all-before $(BIN) all-after -ifdef PACK - $(UPX) $(BIN) -endif - -clean: clean-custom - $(RM) -f $(OBJ) $(BIN) - -depend : - $(CPP) -MM $(CFLAGS) $(SRC)>Makefile.dep - -$(RES): $(RES:.res=.rc) resource.h - $(WINDRES) $(RCFLAGS) -i $(RES:.res=.rc) -o $(RES) - -$(BIN): $(OBJ) - $(CPP) $(CFLAGS) $(OBJ) $(LIBS) $(LFLAGS) -o $(BIN) -Wl - --include Makefile.dep diff --git a/plugins/SmileyAdd/mingw-comp.bat b/plugins/SmileyAdd/mingw-comp.bat deleted file mode 100644 index 6b09bfdf1b..0000000000 --- a/plugins/SmileyAdd/mingw-comp.bat +++ /dev/null @@ -1,3 +0,0 @@ -c:\mingw\bin\windres -D_WIN32_IE=0x0501 resource.rc resource.o -c:\mingw\bin\gcc -shared -Os -s -o smileyadd.dll -I..\..\include -I..\..\include\mingw -I. -Iregexp -D_WIN32_IE=0x0501 bkstring.cpp dlgboxsubclass.cpp general.cpp main.cpp options.cpp services.cpp smileyroutines.cpp smileys.cpp smltool.cpp customsmiley.cpp download.cpp anim.cpp imagecache.cpp SmileyBase.cpp AniSmileyObject.cpp resource.o -lkernel32 -lstdc++ -lgdi32 -lole32 -lcomdlg32 -luuid -lcomctl32 2> log -c:\mingw\bin\gcc -shared -Os -s -o smileyaddw.dll -I..\..\include -I..\..\include\mingw -I. -Iregexp -D_WIN32_IE=0x0501 -DUNICODE -D_UNICODE bkstring.cpp dlgboxsubclass.cpp general.cpp main.cpp options.cpp services.cpp smileyroutines.cpp smileys.cpp smltool.cpp customsmiley.cpp download.cpp anim.cpp imagecache.cpp SmileyBase.cpp AniSmileyObject.cpp resource.o -lkernel32 -lstdc++ -lgdi32 -lole32 -lcomdlg32 -luuid -lcomctl32 2> logu diff --git a/plugins/SplashScreen/src/msvc6.rc b/plugins/SplashScreen/src/msvc6.rc deleted file mode 100644 index e79d7e3a96..0000000000 --- a/plugins/SplashScreen/src/msvc6.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "splash.rc" -#include "version.rc" diff --git a/plugins/StatusPlugins/AdvancedAutoAway/fsm.sdr b/plugins/StatusPlugins/AdvancedAutoAway/fsm.sdr deleted file mode 100644 index 490005533b..0000000000 Binary files a/plugins/StatusPlugins/AdvancedAutoAway/fsm.sdr and /dev/null differ diff --git a/plugins/StatusPlugins/AdvancedAutoAway/pack.cmd b/plugins/StatusPlugins/AdvancedAutoAway/pack.cmd deleted file mode 100644 index fb55ba37f6..0000000000 --- a/plugins/StatusPlugins/AdvancedAutoAway/pack.cmd +++ /dev/null @@ -1,42 +0,0 @@ -@echo off -set PluginName=AdvancedAutoAway -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release" -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release Unicode" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) - -del "%temp%\%PluginName%.zip" > nul -del "%temp%\%PluginName%W.zip" > nul -del "%temp%\%PluginName%Src.zip" > nul -del *.user > nul - -rd /S /Q Release -rd /S /Q Release_Unicode - -for /F "tokens=1-6 delims=, " %%i in (buildnumber.h) do call :Translate %%i %%j %%k %%l %%m %%n - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%.zip" ../../../bin/Release/Plugins/%PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h -del ../../../bin/Release/Plugins/%PluginName%.dll >nul - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%W.zip" "../../../bin/Release Unicode/Plugins/%PluginName%.dll" ../statusplugins-translation.txt ../m_statusplugins.h -del "../../../bin/Release Unicode/Plugins/%PluginName%.dll" >nul - -if exist "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" ( - "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" AdvancedAutoAway_9.vcproj /Build "Release Unicode|x64" - copy "Release Unicode64\Plugins\%PluginName%.dll" . - "%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%64.zip" %PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h - del %PluginName%.dll - rd /S /Q "Release Unicode64" ) - -cd ../.. -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%Src.zip" -ir!helpers/*.* -ir!StatusPlugins/*.* -ir!NewTriggerPlugin/*.* -xr!StatusPlugins/KeepStatus/* -xr!StatusPlugins/StartupStatus/* -xr!.svn -x!*.cmd -goto :eof - -:Translate -if %2 == __FILEVERSION_STRING ( - pushd .. - perl lpgen.pl status version %3 %4 %5 %6 - popd) - -goto :eof diff --git a/plugins/StatusPlugins/KeepStatus/pack.cmd b/plugins/StatusPlugins/KeepStatus/pack.cmd deleted file mode 100644 index fac897d0fe..0000000000 --- a/plugins/StatusPlugins/KeepStatus/pack.cmd +++ /dev/null @@ -1,44 +0,0 @@ -@echo off -set PluginName=KeepStatus -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release" -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release Unicode" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) - -del "%temp%\%PluginName%.zip" > nul -del "%temp%\%PluginName%W.zip" > nul -del "%temp%\%PluginName%Src.zip" > nul -del *.user > nul - -rd /S /Q Release -rd /S /Q Release_Unicode - -for /F "tokens=1-6 delims=, " %%i in (buildnumber.h) do call :Translate %%i %%j %%k %%l %%m %%n - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%.zip" ../../../bin/Release/Plugins/%PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h -del ../../../bin/Release/Plugins/%PluginName%.dll >nul - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%W.zip" "../../../bin/Release Unicode/Plugins/%PluginName%.dll" ../statusplugins-translation.txt ../m_statusplugins.h -del "../../../bin/Release Unicode/Plugins/%PluginName%.dll" >nul - -if exist "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" ( - "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" KeepStatus_9.vcproj /Build "Release Unicode|x64" - copy "Release Unicode64\Plugins\%PluginName%.dll" . - "%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%64.zip" %PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h - del %PluginName%.dll - rd /S /Q "Release Unicode64" - ) - -cd ../.. -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%Src.zip" -ir!helpers/*.* -ir!StatusPlugins/*.* -ir!NewTriggerPlugin/*.* -xr!StatusPlugins/AdvancedAutoAway/* -xr!StatusPlugins/StartupStatus/* -xr!.svn -x!*.cmd - -goto :eof - -:Translate -if %2 == __FILEVERSION_STRING ( - pushd .. - perl lpgen.pl status version %3 %4 %5 %6 - popd) - -goto :eof diff --git a/plugins/StatusPlugins/StartupStatus/pack.cmd b/plugins/StatusPlugins/StartupStatus/pack.cmd deleted file mode 100644 index ad14c865d0..0000000000 --- a/plugins/StatusPlugins/StartupStatus/pack.cmd +++ /dev/null @@ -1,42 +0,0 @@ -@echo off -set PluginName=StartupStatus -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release" -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release Unicode" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) - -del "%temp%\%PluginName%.zip" > nul -del "%temp%\%PluginName%W.zip" > nul -del "%temp%\%PluginName%Src.zip" > nul -del *.user > nul - -rd /S /Q Release -rd /S /Q Release_Unicode - -for /F "tokens=1-6 delims=, " %%i in (buildnumber.h) do call :Translate %%i %%j %%k %%l %%m %%n - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%.zip" ../../../bin/Release/Plugins/%PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h -del ../../../bin/Release/Plugins/%PluginName%.dll >nul - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\%PluginName%W.zip" "../../../bin/Release Unicode/Plugins/%PluginName%.dll" ../statusplugins-translation.txt ../m_statusplugins.h -del "../../../bin/Release Unicode/Plugins/%PluginName%.dll" >nul - -if exist "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" ( - "%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" StartupStatus_9.vcproj /Build "Release Unicode|x64" - copy "Release Unicode64\Plugins\%PluginName%.dll" . - "%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%64.zip" %PluginName%.dll ../statusplugins-translation.txt ../m_statusplugins.h - del %PluginName%.dll - rd /S /Q "Release Unicode64" ) - -cd ../.. -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\%PluginName%Src.zip" -ir!helpers/*.* -ir!StatusPlugins/*.* -ir!NewTriggerPlugin/*.* -xr!StatusPlugins/AdvancedAutoAway/* -xr!StatusPlugins/KeepStatus/* -xr!.svn -x!*.cmd -goto :eof - -:Translate -if %2 == __FILEVERSION_STRING ( - pushd .. - perl lpgen.pl status version %3 %4 %5 %6 - popd) - -goto :eof diff --git a/plugins/StatusPlugins/lpgen.pl b/plugins/StatusPlugins/lpgen.pl deleted file mode 100644 index 5e6ea295b3..0000000000 --- a/plugins/StatusPlugins/lpgen.pl +++ /dev/null @@ -1,212 +0,0 @@ -#!/usr/bin/perl - -use POSIX; -use File::Find; -use strict; - -my $rootdir = ''; -my %hash = (); -my $clines = 0; - -my $version = '0.7svn'; -my $time = localtime(); - -if (@ARGV && $ARGV[0] eq "version") { - shift @ARGV; - # 1st arg version major i.e. 07 for "0.7" - if (@ARGV) { - my $vermaj = shift @ARGV; - if ($vermaj =~ /^([0-9]*)([0-9])$/) { - if ($1 eq "") { - $version = $2; - } else { - $version = "$1.$2"; - } - } else { - $version = $vermaj; - } - } - # 2nd arg version minor i.e. 1 for "0.7.1" - if (@ARGV) { - my $vermin = shift @ARGV; - if ($vermin =~ /^[0-9]+$/) { - $version .= ".$vermin"; - } else { - $version .= $vermin; - } - } - # 3rd arg build number i.e. 36 for "0.7.1 build 36" - if (@ARGV) { - my $build = shift @ARGV; - if ($build =~ /^[0-9]+$/) { - $version .= " build $build"; - } else { - $version .= $build; - } - } -} - -#Language Files -if (!@ARGV) { - create_langfile( - '../../miranda', - '../../miranda/i18n/langpack_english.txt', - 'English (US)', '0809', - 'Miranda IM Development Team', - 'project-info@miranda-im.org', - 'Scriver,avs,chat,clist,clist_nicer,db3x,db3x_mmap,dbrw,advaimg,import,modernb,mwclist,png2dib,srmm,tabsrmm,AimOscar,Gadu-Gadu,IRC,IcqOscarJ,JabberG,MSN,Yahoo'); -} -elsif ($ARGV[0] eq "core") { - create_langfile('../../miranda/src', - '../../miranda/i18n/core-translation.txt', - 'English (US)', '0809', - 'Miranda IM Development Team', - 'project-info@miranda-im.org'); -} -elsif ($ARGV[0] eq "srmm") { - create_langfile('../../miranda/plugins/SRMM/', - '../../miranda/plugins/SRMM/Docs/srmm-translation.txt', - 'English (US)', '0809', - 'Miranda IM Development Team', - 'project-info@miranda-im.org'); -} -elsif ($ARGV[0] eq "import") { - create_langfile('../../miranda/plugins/Import/', - '../../miranda/plugins/Import/docs/import-translation.txt', - 'English (US)', '0809', - 'Miranda IM Development Team', - 'project-info@miranda-im.org'); -} -elsif ($ARGV[0] eq "status") { - create_langfile('./', - 'statusplugins-translation.txt', - 'English (US)', '0809', - 'UnregistereD', - 'unregistered@users.sourceforge.net'); -} -else { - print "Error: Unknown module $ARGV[0]\n"; - exit 1; -} - -sub create_langfile { - $rootdir = shift(@_); - my $outfile = shift(@_); - my $lang = shift(@_); - my $locale = shift(@_); - my $author = shift(@_); - my $email = shift(@_); - my $plugins = @_ ? shift(@_) : ''; - %hash = (); - my %common = (); - $clines = 0; - print "Building language file for $rootdir:\n"; - find({ wanted => \&csearch, preprocess => \&pre_dir }, $rootdir); - find({ wanted => \&rcsearch, preprocess => \&pre_dir }, $rootdir); - open(WRITE, "> $outfile") or die; - print WRITE < $common{$a}) } keys %common; - print WRITE "; Common strings that belong to many files\n;["; - print WRITE join "]\n;[", @sorted; - print WRITE "]\n"; - - my $file = ''; - foreach my $trans (sort { ($hash{$a} eq $hash{$b}) ? ($a cmp $b) : ($hash{$a} cmp $hash{$b}) } keys %hash) { - if ($hash{$trans} ne $file) { - $file = $hash{$trans}; - print WRITE "\n; $file\n"; - } - print WRITE ";[$trans]\n"; - } - - close(WRITE); - print " $outfile is complete ($clines)\n\n"; -} - -sub pre_dir { - # avoid parsing some ext SDKs - my @files = (); - return @files if ( - $File::Find::name =~/..\/extplugins/ or - $File::Find::name =~/freeimage\/Source/ or - $File::Find::name =~/dbrw\/sqlite3/); - @files = grep { not /^\.\.?$/ } @_; - return sort @files; -} - -sub append_str { - my $str = shift(@_); - my $found = shift(@_); - $str = substr($str, 1, length($str) - 2); - if (length($str) gt 0 and $str ne "List1" and $str ne "Tree1" and $str =~ /[a-zA-Z]+/g) { - my $path = $File::Find::name; - $path =~ s/(\.\.\/)+miranda\///; - if (!$hash{$str}) { - $hash{$str} = $path; - $clines ++; - return 1; - } elsif ($hash{$str} ne $path) { - if ($hash{$str} =~ /^\d+$/) { - $hash{$str} ++; - } else { - $hash{$str} = 1; - } - } - } - return 0; -} - -sub csearch { - if (-f $_ and ($_ =~ m/\.c(pp)?$/i or $_ =~ m/\.h(pp)?$/i)) { - my $found = 0; - my $file = $_; - print " Processing $_ "; - open(READ, "< $_") or return; - my $all = ''; - while (my $lines = ) { - $all = $all.$lines; - } - close(READ); - $_ = $all; - while (/(?:Button_SetIcon_IcoLib|Translate[A-Z]{0,2}|LPGENT?|ICQTranslateUtfStatic)\s*\(\s*(\".*?\")\s*[,\)]/g) { - $found += append_str($1, $found); - } - print "($found)\n"; - } -} - -sub rcsearch { - if ( -f $_ and $_ =~ m/\.rc$/i) { - my $found = 0; - my $file = $_; - print " Processing $_ "; - open(READ, "< $_") or return; - my $all = ''; - while (my $lines = ) { - $all = $all.$lines; - } - close(READ); - $_ = $all; - while (/\s*(?:CONTROL|(?:DEF)?PUSHBUTTON|[LRC]TEXT|GROUPBOX|CAPTION|MENUITEM|POPUP)\s*(\".*?\")/g) { - $found += append_str($1, $found); - } - print "($found)\n"; - } -} diff --git a/plugins/StopSpamPlus/res/resource.rc b/plugins/StopSpamPlus/res/resource.rc deleted file mode 100644 index fff0e47958..0000000000 --- a/plugins/StopSpamPlus/res/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "stopspam.rc" -#include "version.rc" diff --git a/plugins/Svc_dbepp/dbeditorpp.opt b/plugins/Svc_dbepp/dbeditorpp.opt deleted file mode 100644 index d6d51c6656..0000000000 Binary files a/plugins/Svc_dbepp/dbeditorpp.opt and /dev/null differ diff --git a/plugins/Svc_vi/docs/Pack files/files_release.txt b/plugins/Svc_vi/docs/Pack files/files_release.txt deleted file mode 100644 index f70bd504e3..0000000000 --- a/plugins/Svc_vi/docs/Pack files/files_release.txt +++ /dev/null @@ -1 +0,0 @@ -..\win32\Release\svc_vi.dll \ No newline at end of file diff --git a/plugins/Svc_vi/docs/Pack files/files_releasex64.txt b/plugins/Svc_vi/docs/Pack files/files_releasex64.txt deleted file mode 100644 index 67f2eb50a6..0000000000 --- a/plugins/Svc_vi/docs/Pack files/files_releasex64.txt +++ /dev/null @@ -1 +0,0 @@ -..\x64\Release\svc_vi.dll \ No newline at end of file diff --git a/plugins/Svc_vi/docs/Pack files/files_source.txt b/plugins/Svc_vi/docs/Pack files/files_source.txt deleted file mode 100644 index ec3390726a..0000000000 --- a/plugins/Svc_vi/docs/Pack files/files_source.txt +++ /dev/null @@ -1,4 +0,0 @@ -..\docs\pack files\*.* -..\docs\*.* -..\*.* -..\sdk\*.* \ No newline at end of file diff --git a/plugins/Svc_vi/docs/Pack files/files_source_ignore.txt b/plugins/Svc_vi/docs/Pack files/files_source_ignore.txt deleted file mode 100644 index fcc9f161ac..0000000000 --- a/plugins/Svc_vi/docs/Pack files/files_source_ignore.txt +++ /dev/null @@ -1,4 +0,0 @@ -pack files\*.* -..\~backup\*.* -..\Debug\*.* -..\Release\*.* \ No newline at end of file diff --git a/plugins/Svc_vi/docs/pack source.bat b/plugins/Svc_vi/docs/pack source.bat deleted file mode 100644 index 0906f97cb9..0000000000 --- a/plugins/Svc_vi/docs/pack source.bat +++ /dev/null @@ -1,8 +0,0 @@ -for /F "tokens=3-7* delims=. " %%i in (readme_versioninfo.txt) do (call :Pack %%i %%j %%k %%l; exit) - -:Pack -d:\usr\PowerArchiver\pacl\pacomp.exe -p -a -c2 "VersionInfo src %1.%2.%3.%4.zip" @"pack files\files_source.txt" -x*.zip -x*.ncb -x*.user -exit - -error: -echo "Error packing Versioninfo" diff --git a/plugins/Svc_vi/docs/pack symbols.bat b/plugins/Svc_vi/docs/pack symbols.bat deleted file mode 100644 index 73c4fe8efe..0000000000 --- a/plugins/Svc_vi/docs/pack symbols.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo off -if NOT EXIST "symbols\%1 - %3" ( - mkdir "symbols\%1 - %3" -) -xcopy "..\%2\win32\Release\*.pdb" "symbols\%1 - %3\win32\*" /EXCLUDE:symbols_exclude.txt /Y -xcopy "..\%2\x64\Release\*.pdb" "symbols\%1 - %3\x64\*" /EXCLUDE:symbols_exclude.txt /Y - -d:\usr\PowerArchiver\pacl\pacomp.exe -p -a -r -c2 "symbols - %1.zip" "symbols\*.*" -rmdir "symbols\" /Q /S \ No newline at end of file diff --git a/plugins/Svc_vi/docs/pack x64.bat b/plugins/Svc_vi/docs/pack x64.bat deleted file mode 100644 index ae61abb3d3..0000000000 --- a/plugins/Svc_vi/docs/pack x64.bat +++ /dev/null @@ -1,10 +0,0 @@ -for /F "tokens=3-7* delims=. " %%i in (readme_versioninfo.txt) do (call :Pack %%i %%j %%k %%l; exit) - -:Pack -d:\usr\PowerArchiver\pacl\pacomp.exe -a -c2 "VersionInfo %1.%2.%3.%4 x64.zip" @"Pack files\files_releasex64.txt" -d:\usr\PowerArchiver\pacl\pacomp.exe -p -a -c2 "VersionInfo %1.%2.%3.%4 x64.zip" ..\docs\*.txt ..\*.caca -xsymbols_exclude.txt -call "pack symbols.bat" VersionInfo "" %1.%2.%3.%4 -exit - -error: -echo "Error packing Versioninfo" diff --git a/plugins/Svc_vi/docs/pack.bat b/plugins/Svc_vi/docs/pack.bat deleted file mode 100644 index 4366326474..0000000000 --- a/plugins/Svc_vi/docs/pack.bat +++ /dev/null @@ -1,10 +0,0 @@ -for /F "tokens=3-7* delims=. " %%i in (readme_versioninfo.txt) do (call :Pack %%i %%j %%k %%l; exit) - -:Pack -d:\usr\PowerArchiver\pacl\pacomp.exe -a -c2 "VersionInfo %1.%2.%3.%4 x32.zip" @"Pack files\files_release.txt" -d:\usr\PowerArchiver\pacl\pacomp.exe -p -a -c2 "VersionInfo %1.%2.%3.%4 x32.zip" ..\docs\*.txt ..\*.caca -xsymbols_exclude.txt -call "pack symbols.bat" VersionInfo "" %1.%2.%3.%4 -exit - -error: -echo "Error packing Versioninfo" diff --git a/plugins/Svc_vi/docs/symbols_exclude.txt b/plugins/Svc_vi/docs/symbols_exclude.txt deleted file mode 100644 index 361cf2448b..0000000000 --- a/plugins/Svc_vi/docs/symbols_exclude.txt +++ /dev/null @@ -1 +0,0 @@ -vc80.pdb \ No newline at end of file diff --git a/plugins/TabSRMM/.cproject b/plugins/TabSRMM/.cproject deleted file mode 100644 index 49f52d176f..0000000000 --- a/plugins/TabSRMM/.cproject +++ /dev/null @@ -1,1892 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - make - Release_Unicode - true - true - true - - - sdkbuild.bat - - Release Unicode|x64 - true - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - make - Release_Unicode - true - true - true - - - sdkbuild.bat - - Release Unicode|x64 - true - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - make - Release_Unicode - true - true - true - - - sdkbuild.bat - - Release Unicode|x64 - true - false - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/TabSRMM/.project b/plugins/TabSRMM/.project deleted file mode 100644 index 9bbc96288f..0000000000 --- a/plugins/TabSRMM/.project +++ /dev/null @@ -1,82 +0,0 @@ - - - TabSRMM_Trunk - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - ?name? - - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.autoBuildTarget - all - - - org.eclipse.cdt.make.core.buildArguments - tabsrmm_9.vcproj "Release Unicode" /platform:Win32 - - - org.eclipse.cdt.make.core.buildCommand - vcbuild.exe - - - org.eclipse.cdt.make.core.buildLocation - ${workspace_loc:/TabSRMM} - - - org.eclipse.cdt.make.core.cleanBuildTarget - /clean - - - org.eclipse.cdt.make.core.contents - org.eclipse.cdt.make.core.activeConfigSettings - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.fullBuildTarget - - - - org.eclipse.cdt.make.core.stopOnError - true - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - false - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.core.cnature - org.eclipse.cdt.core.ccnature - - diff --git a/plugins/TabSRMM/BuildScripts/VS_2010_Toolset9.bat b/plugins/TabSRMM/BuildScripts/VS_2010_Toolset9.bat deleted file mode 100644 index cad0559f2f..0000000000 --- a/plugins/TabSRMM/BuildScripts/VS_2010_Toolset9.bat +++ /dev/null @@ -1,18 +0,0 @@ -@echo off - -REM ignore this if you do not have Visual Studio 2010 installed. - -echo * ------------------------------------------------- * -echo This builds x86/x64 targets using the Visual C++ 9 -echo toolset. The builds will use the msvcr90 runtime, -echo same as builds created with Visual Studio 2008 SP1. -echo -echo This must be used from a Visual Studio 2010 command -echo line prompt to be found in: -echo -echo Start->Visual Studio 2010->Visual Studio Tools -echo * ------------------------------------------------- * - -cd .. -msbuild tabsrmm_10.sln /t:rebuild /p:"Configuration=Release Unicode";platform=Win32;PlatformToolset=v90 -msbuild tabsrmm_10.sln /t:rebuild /p:"Configuration=Release Unicode";platform=x64;PlatformToolset=v90 diff --git a/plugins/TabSRMM/BuildScripts/Visual b/plugins/TabSRMM/BuildScripts/Visual deleted file mode 100644 index 41bc5aeb8d..0000000000 --- a/plugins/TabSRMM/BuildScripts/Visual +++ /dev/null @@ -1 +0,0 @@ -Start- Studio 2010- Studio Tools diff --git a/plugins/TabSRMM/DEPRECATED/tabSRMM.sln b/plugins/TabSRMM/DEPRECATED/tabSRMM.sln deleted file mode 100644 index 3404e993ff..0000000000 --- a/plugins/TabSRMM/DEPRECATED/tabSRMM.sln +++ /dev/null @@ -1,58 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tabSRMM", "tabsrmm.vcproj", "{8954217B-1306-4250-854D-6BF6BE5E57C9}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ICONS", "icons\default\default.vcproj", "{8CA07E0A-0632-4F95-B411-CDFAF048821B}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ICONSXP", "icons\ICONSXP\ICONSXP.vcproj", "{987C5A57-A46B-4779-BB85-077E21F7BF7F}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Debug Unicode = Debug Unicode - Release = Release - Release Unicode = Release Unicode - Release Unicode 98 = Release Unicode 98 - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Debug.ActiveCfg = Debug|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Debug.Build.0 = Debug|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Debug Unicode.ActiveCfg = Debug Unicode|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Debug Unicode.Build.0 = Debug Unicode|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Release.ActiveCfg = Release|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Release.Build.0 = Release|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Release Unicode.ActiveCfg = Release Unicode|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Release Unicode.Build.0 = Release Unicode|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Release Unicode 98.ActiveCfg = Release Unicode 98|Win32 - {8954217B-1306-4250-854D-6BF6BE5E57C9}.Release Unicode 98.Build.0 = Release Unicode 98|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Debug.ActiveCfg = Debug|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Debug.Build.0 = Debug|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Debug Unicode.ActiveCfg = Debug|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Debug Unicode.Build.0 = Debug|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Release.ActiveCfg = Release|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Release.Build.0 = Release|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Release Unicode.ActiveCfg = Release|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Release Unicode.Build.0 = Release|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Release Unicode 98.ActiveCfg = Release Unicode 98|Win32 - {8CA07E0A-0632-4F95-B411-CDFAF048821B}.Release Unicode 98.Build.0 = Release Unicode 98|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Debug.ActiveCfg = Debug|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Debug.Build.0 = Debug|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Debug Unicode.ActiveCfg = Debug|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Debug Unicode.Build.0 = Debug|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Release.ActiveCfg = Release|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Release.Build.0 = Release|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Release Unicode.ActiveCfg = Release|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Release Unicode.Build.0 = Release|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Release Unicode 98.ActiveCfg = Release Unicode 98|Win32 - {987C5A57-A46B-4779-BB85-077E21F7BF7F}.Release Unicode 98.Build.0 = Release Unicode 98|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/plugins/TabSRMM/DEPRECATED/tabsrmm.vcproj b/plugins/TabSRMM/DEPRECATED/tabsrmm.vcproj deleted file mode 100644 index fe38e13978..0000000000 --- a/plugins/TabSRMM/DEPRECATED/tabsrmm.vcproj +++ /dev/null @@ -1,1076 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/TabSRMM/DEPRECATED/tabsrmm_9.sln b/plugins/TabSRMM/DEPRECATED/tabsrmm_9.sln deleted file mode 100644 index fe00cca356..0000000000 --- a/plugins/TabSRMM/DEPRECATED/tabsrmm_9.sln +++ /dev/null @@ -1,38 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tabsrmm", "tabsrmm_9.vcproj", "{99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug Unicode|Win32 = Debug Unicode|Win32 - Debug Unicode|x64 = Debug Unicode|x64 - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release Unicode|Win32 = Release Unicode|Win32 - Release Unicode|x64 = Release Unicode|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug Unicode|Win32.ActiveCfg = Debug Unicode|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug Unicode|Win32.Build.0 = Debug Unicode|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug Unicode|x64.ActiveCfg = Debug Unicode|x64 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug Unicode|x64.Build.0 = Debug Unicode|x64 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug|Win32.ActiveCfg = Debug|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug|Win32.Build.0 = Debug|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug|x64.ActiveCfg = Debug|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Debug|x64.Build.0 = Debug|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release Unicode|Win32.ActiveCfg = Release Unicode|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release Unicode|Win32.Build.0 = Release Unicode|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release Unicode|x64.ActiveCfg = Release Unicode|x64 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release Unicode|x64.Build.0 = Release Unicode|x64 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release|Win32.ActiveCfg = Release|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release|Win32.Build.0 = Release|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release|x64.ActiveCfg = Release|Win32 - {99D26CA1-BFD4-4E77-9A1E-919E54CF33F7}.Release|x64.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/plugins/TabSRMM/Makefile b/plugins/TabSRMM/Makefile deleted file mode 100644 index 5ab409d0a5..0000000000 --- a/plugins/TabSRMM/Makefile +++ /dev/null @@ -1,129 +0,0 @@ -# -# There exist several targets which are by default empty and which can be -# used for execution of your targets. These targets are usually executed -# before and after some main targets. They are: -# -# .build-pre: called before 'build' target -# .build-post: called after 'build' target -# .clean-pre: called before 'clean' target -# .clean-post: called after 'clean' target -# .clobber-pre: called before 'clobber' target -# .clobber-post: called after 'clobber' target -# .all-pre: called before 'all' target -# .all-post: called after 'all' target -# .help-pre: called before 'help' target -# .help-post: called after 'help' target -# -# Targets beginning with '.' are not intended to be called on their own. -# -# Main targets can be executed directly, and they are: -# -# build build a specific configuration -# clean remove built files from a configuration -# clobber remove all built files -# all build all configurations -# help print help mesage -# -# Targets .build-impl, .clean-impl, .clobber-impl, .all-impl, and -# .help-impl are implemented in nbproject/makefile-impl.mk. -# -# Available make variables: -# -# CND_BASEDIR base directory for relative paths -# CND_DISTDIR default top distribution directory (build artifacts) -# CND_BUILDDIR default top build directory (object files, ...) -# CONF name of current configuration -# CND_PLATFORM_${CONF} platform name (current configuration) -# CND_ARTIFACT_DIR_${CONF} directory of build artifact (current configuration) -# CND_ARTIFACT_NAME_${CONF} name of build artifact (current configuration) -# CND_ARTIFACT_PATH_${CONF} path to build artifact (current configuration) -# CND_PACKAGE_DIR_${CONF} directory of package (current configuration) -# CND_PACKAGE_NAME_${CONF} name of package (current configuration) -# CND_PACKAGE_PATH_${CONF} path to package (current configuration) -# -# NOCDDL - - -# Environment -MKDIR=mkdir -CP=cp -CCADMIN=CCadmin -RANLIB=ranlib - - -# build -build: .build-post - -.build-pre: -# Add your pre 'build' code here... - -.build-post: .build-impl -# Add your post 'build' code here... - - -# clean -clean: .clean-post - -.clean-pre: -# Add your pre 'clean' code here... - -.clean-post: .clean-impl -# Add your post 'clean' code here... - - -# clobber -clobber: .clobber-post - -.clobber-pre: -# Add your pre 'clobber' code here... - -.clobber-post: .clobber-impl -# Add your post 'clobber' code here... - - -# all -all: .all-post - -.all-pre: -# Add your pre 'all' code here... - -.all-post: .all-impl -# Add your post 'all' code here... - - -# build tests -build-tests: .build-tests-post - -.build-tests-pre: -# Add your pre 'build-tests' code here... - -.build-tests-post: .build-tests-impl -# Add your post 'build-tests' code here... - - -# run tests -test: .test-post - -.test-pre: -# Add your pre 'test' code here... - -.test-post: .test-impl -# Add your post 'test' code here... - - -# help -help: .help-post - -.help-pre: -# Add your pre 'help' code here... - -.help-post: .help-impl -# Add your post 'help' code here... - - - -# include project implementation makefile -include nbproject/Makefile-impl.mk - -# include project make variables -include nbproject/Makefile-variables.mk diff --git a/plugins/TabSRMM/pack.cmd b/plugins/TabSRMM/pack.cmd deleted file mode 100644 index 92d4da0cb6..0000000000 --- a/plugins/TabSRMM/pack.cmd +++ /dev/null @@ -1,24 +0,0 @@ -@echo off -set PluginName=tabSRMM -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release" -nmake -f %PluginName%.mak CFG="%PluginName% - Win32 Release Unicode" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) - -del "%temp%\%PluginName%.zip" > nul -del "%temp%\%PluginName%W.zip" > nul -del "%temp%\%PluginName%Src.zip" > nul -del *.user > nul - -rd /S /Q Release -rd /S /Q Release_Unicode - -7z.exe a -tzip -r -mx=9 "%temp%\%PluginName%.zip" ../../bin/Release/%PluginName%*.dll -del ../../../bin/Release/Plugins/%PluginName%.dll >nul - -7z.exe a -tzip -r -mx=9 "%temp%\%PluginName%W.zip" "../../bin/Release Unicode/%PluginName%*.dll" -del "../../../bin/Release Unicode/Plugins/%PluginName%.dll" >nul - -7z.exe a -tzip -r0 -mx=9 "%temp%\%PluginName%Src.zip" -xr!.svn -x!*.cmd -goto :eof diff --git a/plugins/TabSRMM/sdkbuild.bat b/plugins/TabSRMM/sdkbuild.bat deleted file mode 100644 index 4f8d762dbd..0000000000 --- a/plugins/TabSRMM/sdkbuild.bat +++ /dev/null @@ -1,13 +0,0 @@ -@echo off - -echo * * -echo ------------------------------------------------ -echo build tabSRMM with vcbuild.exe from Windows SDK -echo requires a Windows PSDK (Version 7 or later) -echo must be run from the SDK cmd shell with properly -echo configured environment. -echo ------------------------------------------------ -echo * * - -vcbuild.exe tabsrmm_9.vcproj "Release Unicode" /platform:Win32 /r -vcbuild.exe tabsrmm_9.vcproj "Release Unicode" /platform:x64 /r diff --git a/plugins/TabSRMM/tabsrmm_private.rc b/plugins/TabSRMM/tabsrmm_private.rc deleted file mode 100644 index 01a0741e03..0000000000 --- a/plugins/TabSRMM/tabsrmm_private.rc +++ /dev/null @@ -1,18 +0,0 @@ -#define UDS_HOTTRACK 0x0100 -#define TCS_HOTTRACK 0x0040 -#define TVS_FULLROWSELECT 0x1000 -#define TVS_DISABLEDRAGDROP 0x0010 -#define TVS_SHOWSELALWAYS 0x0020 -#define TVS_NOTOOLTIPS 0x0080 -#define TVS_TRACKSELECT 0x0200 -#define TVS_FULLROWSELECT 0x1000 - -#ifdef __GNUWIN32__ - #define TVS_NONEVENHEIGHT 16384 - #define TVS_CHECKBOXES 256 - #define IDC_STATIC -1 -#endif - -#include "msgwindow.rc" -#include "resource.rc" -#include "chat/chat.rc" diff --git a/plugins/TipperYM/DoIt.bat b/plugins/TipperYM/DoIt.bat deleted file mode 100644 index d0127132d9..0000000000 --- a/plugins/TipperYM/DoIt.bat +++ /dev/null @@ -1,58 +0,0 @@ -@ECHO off -CLS -SET ZIP="D:\Program Files\7-Zip\7z.exe" - -CALL "%VS71COMNTOOLS%\vsvars32.bat" -ECHO. -ECHO Compilation in progress... -ECHO. -devenv.exe /rebuild "Release" tipper_ym.vcproj -devenv.exe /rebuild "Release (ansi)" tipper_ym.vcproj - -CALL "%VS90COMNTOOLS%\vsvars32.bat" -ECHO. -ECHO Compilation in progress... -ECHO. -devenv.exe tipper_ym_9.vcproj /project "tipper_ym_9.vcproj" /projectconfig "Release|x64" /rebuild - -MKDIR ansi -MKDIR x64 -COPY /Y "Release\tipper.dll" tipper.dll -COPY /Y "Release64\tipper.dll" "x64\tipper.dll" -COPY /Y "Release (ansi)\tipper.dll" "ansi\tipper.dll" - -MKDIR "skins\Tipper\XPMC" -MKDIR "skins\Tipper\Tipper classic" -XCOPY /Y "docs\sample skin" "skins\Tipper\XPMC" -XCOPY /Y "docs\tipper classic" "skins\Tipper\Tipper classic" - -RMDIR /S /Q upload -MKDIR "upload\updater" -MKDIR "upload\addons" -%ZIP% a -mx9 upload\tipper-ym.zip tipper.dll ansi\tipper.dll x64\tipper.dll docs\*.txt docs\*.ini docs\*.h skins - -MKDIR plugins -COPY /Y "Release\tipper.dll" "plugins\tipper.dll" -%ZIP% a -mx9 upload\updater\tipper-ym.zip plugins\tipper.dll docs\*.txt docs\*.ini docs\*.h - -COPY /Y "Release (ansi)\tipper.dll" "plugins\tipper.dll" -%ZIP% a -mx9 upload\updater\tipper-ym_ansi.zip plugins\tipper.dll docs\*.txt docs\*.ini docs\*.h -%ZIP% a -mx9 upload\tipper-ym_src.zip *.cpp *.h *.rc *.vcproj *.ds* docs\*.txt docs\*.ini docs\*.h sdk\*.h res\*.ico - -COPY /Y "Release\tipper.dll" "tipper.dll" -%ZIP% a -mx9 upload\addons\tipper-ym.zip tipper.dll docs\*.txt docs\*.ini docs\*.h skins -COPY /Y "Release (ansi)\tipper.dll" "tipper.dll" -%ZIP% a -mx9 upload\addons\tipper-ym_ansi.zip tipper.dll docs\*.txt docs\*.ini docs\*.h -COPY /Y "Release64\tipper.dll" "tipper.dll" -%ZIP% a -mx9 upload\addons\tipper-ym_x64.zip tipper.dll docs\*.txt docs\*.ini docs\*.h skins - -DEL tipper.dll -RMDIR /S /Q x64 -RMDIR /S /Q ansi -RMDIR /S /Q plugins -RMDIR /S /Q skins -RMDIR /S /Q "Release" -RMDIR /S /Q "Release64" -RMDIR /S /Q "Release (ansi)" - -TIMEOUT 10 \ No newline at end of file diff --git a/plugins/Updater/resource.rc b/plugins/Updater/resource.rc deleted file mode 100644 index e8b4ca62ad..0000000000 --- a/plugins/Updater/resource.rc +++ /dev/null @@ -1,6 +0,0 @@ - -// this makes our dependencies work better -#include "version.h" - -#include "updater.rc" -#include "version.rc" diff --git a/plugins/UserInfoEx/_clear.cmd b/plugins/UserInfoEx/_clear.cmd deleted file mode 100644 index 3b6d4acd53..0000000000 --- a/plugins/UserInfoEx/_clear.cmd +++ /dev/null @@ -1,22 +0,0 @@ -@echo off -pushd ".\bin8" -cls -echo Leere Zwischenverzeichnis -if not errorlevel 1 ( - attrib /s -s -r -h *.* > NUL - del /s /f /q *.* > NUL - pushd .. - rd /s /q bin8 > NUL -) - -attrib /s -s -r -h *.aps > NUL -del /s /f /q *.aps > NUL - -attrib /s -s -r -h *.user > NUL -del /s /f /q *.user > NUL - -attrib /s -s -r -h *.suo > NUL -del /s /f /q *.suo > NUL - -attrib /s -s -r -h *.ncb > NUL -del /s /f /q *.ncb > NUL diff --git a/plugins/UserInfoEx/_publishall.cmd b/plugins/UserInfoEx/_publishall.cmd deleted file mode 100644 index 361368e00d..0000000000 --- a/plugins/UserInfoEx/_publishall.cmd +++ /dev/null @@ -1,23 +0,0 @@ -:@echo off - -:if %1 == "" goto USAGE -:if %2 NEQ "" goto USAGE - -call _publishbin.cmd "Release" %1 -call _publishbin.cmd "Release Unicode" %1 -call _publishsrc.cmd %1 -goto END - -:USAGE -echo. -echo =============================================================================== -echo UserInfoEx Postbuilt Script for automatic preparation of published binaries. -echo. -echo USAGE: _publishall [VERSION] -echo. -echo Example: _publishall "0.8.3.2" -echo. -echo =============================================================================== -echo. - -:END \ No newline at end of file diff --git a/plugins/UserInfoEx/_publishbin.cmd b/plugins/UserInfoEx/_publishbin.cmd deleted file mode 100644 index 80d3e33699..0000000000 --- a/plugins/UserInfoEx/_publishbin.cmd +++ /dev/null @@ -1,65 +0,0 @@ -@echo off - -:if %1 == "" goto USAGE -:if %2 == "" goto USAGE -:if %3 NEQ "" goto USAGE - -SET OUT_BASE=publish - -: Prepare Release for publication -SET BUILT=%1 -SET VER=%2 - -SET IN_ICON=%BUILT%\Icons -SET IN_PLUG=%BUILT%\Plugins -SET OUT_PATH=%OUT_BASE%\%VER%\%BUILT% -SET OUT_DOCS=%OUT_PATH%\Docs -SET OUT_DOCS_UINFOEX=%OUT_DOCS%\uinfoex -SET OUT_ICON=%OUT_PATH%\Icons -SET OUT_PLUG=%OUT_PATH%\Plugins -SET OUT_SOUND=%OUT_PATH%\Sounds - -: Create folder structure -if not exist %OUT_BASE% mkdir %OUT_BASE% -if not exist %OUT_BASE%\%VER% mkdir %OUT_BASE%\%VER% -if not exist %OUT_PATH% mkdir %OUT_PATH% -if not exist %OUT_DOCS% mkdir %OUT_DOCS% -if not exist %OUT_DOCS_UINFOEX% mkdir %OUT_DOCS_UINFOEX% -if not exist %OUT_ICON% mkdir %OUT_ICON% -if not exist %OUT_PLUG% mkdir %OUT_PLUG% -if not exist %OUT_SOUND% mkdir %OUT_SOUND% - -: Copy binary files -copy /y %IN_ICON%\uinfoex_icons.dll %OUT_ICON% > nul -if not errorlevel 0 goto MISSING -copy /y %IN_PLUG%\uinfoex?.dll %OUT_PLUG% > nul -if not errorlevel 0 goto MISSING -copy /y changelog.txt %OUT_DOCS_UINFOEX% > nul -if not errorlevel 0 goto MISSING -copy /y docs\uinfoex_translate.txt %OUT_DOCS_UINFOEX% > nul -if not errorlevel 0 goto MISSING -copy /y sdk\m_userinfoex.h %OUT_DOCS_UINFOEX% > nul -if not errorlevel 0 goto MISSING -copy /y sounds\*.wav %OUT_SOUND% > nul -if not errorlevel 0 goto MISSING - -echo Fertig! -goto END - -:MISSING -echo Missing required file! -goto END - -:USAGE -echo. -echo =============================================================================== -echo UserInfoEx Postbuilt Script for automatic preparation of published binaries. -echo. -echo USAGE: _publishbin [BUILT] [VERSION] -echo. -echo Example: _publishbin "Release Unicode" "0.8.3.2" -echo. -echo =============================================================================== -echo. - -:END \ No newline at end of file diff --git a/plugins/Variables/Makefile b/plugins/Variables/Makefile deleted file mode 100644 index 6e02fdc660..0000000000 --- a/plugins/Variables/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -CC = winegcc -CPP = wineg++ -WRC = wrc - -CPPFLAGS = -I/usr/local/include/wine/windows \ - -I/usr/local/include/wine/msvcrt \ - -I./include \ - -I./src/core - -LNK_COMMON = -L/usr/local/lib/wine \ - -lwine \ - -lmsvcrt \ - -lgdi32 \ - -lshell32 \ - -lole32 \ - -lcomctl32 \ - -lcomdlg32 - -LNK_MAINLIBS = -lversion \ - -lws2_32 \ - -lwinmm \ - -loleaut32 \ - -luuid - -VARIABLESOBJS = ./plugins/Variables/main.c ./plugins/Variables/parse_miranda.c ./plugins/Variables/options.c ./plugins/Variables/parse_alias.c ./plugins/Variables/parse_regexp.c ./plugins/Variables/tokenregister.c ./plugins/Variables/contact.c ./plugins/Variables/parse_external.c ./plugins/Variables/parse_str.c ./plugins/Variables/variables.c ./plugins/Variables/parse_inet.c ./plugins/Variables/parse_system.c ./plugins/Variables/parse_logic.c ./plugins/Variables/parse_variables.c ./plugins/Variables/help.c ./plugins/Variables/parse_math.c ./plugins/helpers/db_helpers.c ./plugins/helpers/gen_helpers.c - -all: plugin-variables - -plugin-variables: $(VARIABLESOBJS) - cd ./plugins/Variables && $(WRC) -I. resource.rc - $(CC) $(CPPFLAGS) -DWINE -shared ./plugins/Variables/variables.spec $(VARIABLESOBJS) ./plugins/Variables/resource.res $(LNK_COMMON) -o variables.dll - -.c.o: - $(CC) -c $(CPPFLAGS) -DHAVE_CONFIG_H -o $@ $< - -.cpp.o: - $(CPP) -c $(CPPFLAGS) -o $@ $< - -clean: - rm -f Variables.so *~ - find ./plugins/Variables -name *~ -exec rm -f {} \; - find ./plugins/Variables -name *.o -exec rm -f {} \; - find ./plugins/Variables -name *.res -exec rm -f {} \; - find ./plugins/Variables -name *.orig -exec rm -f {} \; - find ./plugins/Variables -name *.rej -exec rm -f {} \; - - diff --git a/plugins/Variables/pack.cmd b/plugins/Variables/pack.cmd deleted file mode 100644 index 9e7ddb4e71..0000000000 --- a/plugins/Variables/pack.cmd +++ /dev/null @@ -1,35 +0,0 @@ -@echo off -nmake -f Variables.mak CFG="Variables - Win32 Release" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) -nmake -f Variables.mak CFG="Variables - Win32 Release Unicode" -if errorlevel 1 ( - echo "Make failed" - goto :eof ) - -del "%temp%\Variables.zip" > nul -del "%temp%\VariablesW.zip" > nul -del "%temp%\VariablesSrc.zip" > nul -del *.user > nul - -rd /S /Q Release -rd /S /Q Release_Unicode - -for /F "tokens=1-6 delims=, " %%i in (buildnumber.h) do call :Translate %%i %%j %%k %%l %%m %%n - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\Variables.zip" ../../bin/Release/Plugins/Variables.dll variables-translation.txt m_variables.h -del ../../bin/Release/Plugins/Variables.dll >nul - -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r- -mx=9 "%temp%\VariablesW.zip" "../../bin/Release Unicode/Plugins/Variables.dll" variables-translation.txt m_variables.h -del "../../bin/Release Unicode/Plugins/Variables.dll" >nul - -cd .. -"%PROGRAMFILES%\7-zip\7z.exe" a -tzip -r0 -mx=9 "%temp%\VariablesSrc.zip" -ir!helpers/*.* -ir!Variables/*.* -ir!NewTriggerPlugin/*.* -xr!.svn -x!*.cmd -goto :eof - -:Translate -if %2 == __FILEVERSION_STRING ( - perl lpgen.pl variables version %3 %4 %5 %6 ) - -goto :eof diff --git a/plugins/Variables/resource.rc b/plugins/Variables/resource.rc deleted file mode 100644 index a65ead411e..0000000000 --- a/plugins/Variables/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "variables.rc" -#include "version.rc" \ No newline at end of file diff --git a/plugins/Variables/variables.spec b/plugins/Variables/variables.spec deleted file mode 100644 index ff78e224ba..0000000000 --- a/plugins/Variables/variables.spec +++ /dev/null @@ -1,3 +0,0 @@ -@ cdecl MirandaPluginInfo(long) -@ cdecl Load(ptr) -@ cdecl Unload() diff --git a/plugins/YAPP/resource.rc b/plugins/YAPP/resource.rc deleted file mode 100644 index e3cd815cc2..0000000000 --- a/plugins/YAPP/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "version.rc" -#include "popups2.rc" diff --git a/plugins/mTextControl/mtextcontrol.opt b/plugins/mTextControl/mtextcontrol.opt deleted file mode 100644 index 8d4631f25e..0000000000 Binary files a/plugins/mTextControl/mtextcontrol.opt and /dev/null differ diff --git a/protocols/AimOscar/Makefile b/protocols/AimOscar/Makefile deleted file mode 100644 index 922a27e6e1..0000000000 --- a/protocols/AimOscar/Makefile +++ /dev/null @@ -1,126 +0,0 @@ -#################################################################### -# AIM OSCAR Protocol Plugin -# Makefile for Mingw -#################################################################### -# -# TARGETS: -# all Compiles dll into debug directory (create dir first) -# depend Generate dependancy file (Makefile.dep) -# format Formats the source files using GNU Indent -# clean Cleans object files -# -# -# NOTES: -# To use this makefile you need to download the latest Mingw from -# http://mingw.org/. I have only tested on MinGW Version 2.0.0 -# (using the latest package updates). Older versions make work as -# well. You also need to checkout the SDK module alongside this -# module. You will need a copy of rm.exe for the 'make clean' to -# work (http://unxutils.sourceforge.net/). Make sure you create a -# 'Bin\debug\plugins' directory or 'Bin\release\plugins' in the parent -# directory of this cvs module or the compile will fail. To format -# the code (format target) you will need GNU Indent from: -# http://gnuwin32.sourceforge.net/. Indent.exe will need to be in -# the path or in the same directory as the source. -#################################################################### -SRC =\ - snac.cpp \ - flap.cpp \ - conv.cpp \ - aim.cpp \ - chat.cpp \ - connection.cpp \ - packets.cpp \ - services.cpp \ - thread.cpp \ - theme.cpp \ - utility.cpp \ - popup.cpp \ - proxy.cpp \ - direct_connect.cpp \ - file.cpp \ - ui.cpp \ - links.cpp \ - server.cpp \ - client.cpp \ - error.cpp \ - tlv.cpp \ - proto.cpp \ - away.cpp \ - avatars.cpp - -OBJ = $(SRC:.cpp=.o) -RES = aim.res version.res -HDR = defines.h \ - tlv.h \ - snac.h \ - flap.h \ - aim.h \ - chat.h \ - client.h \ - connection.h \ - packets.h \ - services.h \ - client.h \ - server.h \ - thread.h \ - theme .h \ - utility.h \ - popup.h \ - proxy.h \ - direct_connect.ch \ - file.h \ - resource.h \ - ui.h \ - m_cluiframes.h \ - links.h \ - error.h \ - conv.h \ - proto.h \ - avatars.h - -LIB = -lgdi32 -lComdlg32 -lwsock32 -lstdc++ -CC = gcc -RC = windres -RM = rm -ID = indent - -# Install location -ifdef DEBUG -BIN = ../../bin/debug/plugins/Aim.dll -else -BIN = ../../bin/release/plugins/Aim.dll -endif - -# Defines -DEFINES = -DWIN32 -D__SEH_NOOP -DUNICODE -ifdef DEBUG -DEFINES := $(DEFINES) -D_DEBUG -endif - -# Flags -RCFLAGS = -O coff -ifdef DEBUG -CFLAGS = -g -g3 $(DEFINES) -I../../include -LFLAGS = -shared -else -CFLAGS = -O1 $(DEFINES) -I../../include -LFLAGS = -shared -s -endif - -CPPFLAGS = $(CFLAGS) - -# Targets -all : $(OBJ) $(RES) - $(CC) $(LFLAGS) -o $(BIN) $(OBJ) $(RES) $(LIB) -Wl - -%.res : %.rc resource.h Makefile - $(RC) $(RCFLAGS) $< $@ - -depend : - $(CC) -MM $(CFLAGS) $(SRC)>Makefile.dep - -clean : - $(RM) -fr $(OBJ) $(RES) *.ncb *.suo *.aps Release Debug *.vcproj.* *.opt *.dat *.plg Ankh.Load - --include Makefile.dep diff --git a/protocols/AimOscar/aim.dev b/protocols/AimOscar/aim.dev deleted file mode 100644 index 9f1f7a0bdc..0000000000 --- a/protocols/AimOscar/aim.dev +++ /dev/null @@ -1,267 +0,0 @@ -[Project] -FileName=aim.dev -Name=AimOSCAR -UnitCount=22 -Type=3 -Ver=1 -ObjFiles= -Includes= -Libs= -PrivateResource=aim_private.rc -ResourceIncludes= -MakeIncludes= -Compiler= -CppCompiler= -Linker= -IsCpp=1 -Icon= -ExeOutput=..\..\bin\debug\plugins -ObjectOutput= -OverrideOutput=1 -OverrideOutputName=Aim.dll -HostApplication=C:\Copy of miranda\bin\debug\miranda32.exe -Folders=Header,Resource,Source -CommandLine= -UseCustomMakefile=1 -CustomMakefile=Makefile -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000001000001101000000 - -[Unit1] -FileName=utility.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=commands.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=connection.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=md5.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=packets.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=services.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=snac.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit8] -FileName=thread.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=aim.cpp -CompileCpp=1 -Folder=Source -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=aim.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=commands.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=connection.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=defines.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=md5.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=packets.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=services.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=snac.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=thread.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=utility.h -CompileCpp=1 -Folder=Header -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=resource.h -CompileCpp=1 -Folder=Resource -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=aim.rc -Folder=Resource -Compile=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=Makefile -Folder=AimOSCAR -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - diff --git a/protocols/IRCG/resource.rc b/protocols/IRCG/resource.rc deleted file mode 100644 index dbbfb9ad9a..0000000000 --- a/protocols/IRCG/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "irc.rc" -#include "version.rc" diff --git a/protocols/JabberG/msvc6.rc b/protocols/JabberG/msvc6.rc deleted file mode 100644 index da0ebe9e5e..0000000000 --- a/protocols/JabberG/msvc6.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "jabber.rc" -#include "version.rc" diff --git a/protocols/MSN/resource.rc b/protocols/MSN/resource.rc deleted file mode 100644 index 3e562dc600..0000000000 --- a/protocols/MSN/resource.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "msn.rc" -#include "version.rc" diff --git a/protocols/Weather/mingw-comp.bat b/protocols/Weather/mingw-comp.bat deleted file mode 100644 index 7c88825ecd..0000000000 --- a/protocols/Weather/mingw-comp.bat +++ /dev/null @@ -1,2 +0,0 @@ -c:\mingw\bin\windres resource.rc resource.o -c:\mingw\bin\gcc -shared -Os -fmerge-constants -mno-align-stringops -s -o weather.dll -D_WIN32_IE=0x0501 -I..\..\include weather.c weather_addstn.c weather_contacts.c weather_conv.c weather_data.c weather_http.c weather_icons.c weather_info.c weather_ini.c weather_mwin.c weather_opt.c weather_popup.c weather_svcs.c weather_update.c weather_userinfo.c resource.o zlib.lib -lkernel32 -lgdi32 -lcomdlg32 -lcomctl32 -lwsock32 2>log \ No newline at end of file diff --git a/protocols/YAMN/mingw/base.dev b/protocols/YAMN/mingw/base.dev deleted file mode 100644 index 42e2fab4f2..0000000000 --- a/protocols/YAMN/mingw/base.dev +++ /dev/null @@ -1,69 +0,0 @@ -[Project] -FileName=base.dev -Name=base -Ver=1 -IsCpp=1 -Type=3 -Compiler=-D__GNUWIN32__ -mcpu=i486 -D_M_IX86=400 -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS_@@_ -CppCompiler=-D__GNUWIN32__ -mcpu=i486 -D_M_IX86=400 -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS_@@_ -Includes=../../../include -Linker=-lkernel32 -luser32_@@_ -Libs= -UnitCount=2 -Folders="Header Files","Resource Files","Source Files" -ObjFiles= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Icon= -ExeOutput=binfilter -ObjectOutput=objbase -OverrideOutput=0 -OverrideOutputName=base.dll -HostApplication= -CommandLine= -UseCustomMakefile=1 -CustomMakefile=base.win -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0010000001001000000100 - -[Unit1] -FileName=..\filter\base\maindll.cpp -Folder="Source Files" -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=..\filter\base\debug.cpp -Folder="Source Files" -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion=0.1 -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename=base.dll -ProductName=base -ProductVersion=0.1 -AutoIncBuildNr=0 - diff --git a/protocols/YAMN/mingw/base.win b/protocols/YAMN/mingw/base.win deleted file mode 100644 index 3af9e7aa60..0000000000 --- a/protocols/YAMN/mingw/base.win +++ /dev/null @@ -1,38 +0,0 @@ -# Project: base -# Makefile created by Dev-C++ 4.9.9.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = -OBJ = objbase/maindll.o objbase/debug.o $(RES) -LINKOBJ = objbase/maindll.o objbase/debug.o $(RES) -LIBS = -lkernel32 -luser32 -s -INCS = -I"../../../include" -CXXINCS = -I"../../../include" -BIN = binfilter/base.dll -CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS -w -fweb -frename-registers -Os -CFLAGS = $(INCS) -D__GNUWIN32__ -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS -w -fweb -frename-registers -Os -RM = rm -f - -.PHONY: all all-before all-after clean clean-custom - -all: all-before binfilter/base.dll all-after - - -clean: clean-custom - ${RM} $(OBJ) $(BIN) - -DLLWRAP=dllwrap.exe -DEFFILE=objbase/libbase.def -STATICLIB=objbase/libbase.a - -$(BIN): $(LINKOBJ) -# $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN) - $(CPP) $(LINKOBJ) $(LIBS) -o $(BIN) -mdll - -objbase/maindll.o: ../filter/base/maindll.cpp - $(CPP) -c ../filter/base/maindll.cpp -o objbase/maindll.o $(CXXFLAGS) - -objbase/debug.o: ../filter/base/debug.cpp - $(CPP) -c ../filter/base/debug.cpp -o objbase/debug.o $(CXXFLAGS) diff --git a/protocols/YAMN/mingw/simple.dev b/protocols/YAMN/mingw/simple.dev deleted file mode 100644 index 617324b551..0000000000 --- a/protocols/YAMN/mingw/simple.dev +++ /dev/null @@ -1,59 +0,0 @@ -[Project] -FileName=simple.dev -Name=simple -Ver=1 -IsCpp=1 -Type=3 -Compiler=-D__GNUWIN32__ -mcpu=i486 -D_M_IX86=400 -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS_@@_ -CppCompiler=-D__GNUWIN32__ -mcpu=i486 -D_M_IX86=400 -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS_@@_ -Includes=../../../include -Linker=-lkernel32 -luser32_@@_ -Libs= -UnitCount=1 -Folders="Header Files","Resource Files","Source Files" -ObjFiles= -PrivateResource= -ResourceIncludes= -MakeIncludes= -Icon= -ExeOutput=binfilter -ObjectOutput=objsimple -OverrideOutput=0 -OverrideOutputName=simple.dll -HostApplication= -CommandLine= -UseCustomMakefile=1 -CustomMakefile=simple.win -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0010000001001000000100 - -[Unit1] -FileName=..\filter\Simple\maindll.cpp -Folder="Source Files" -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion=0.1 -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename=simple.dll -ProductName=simple -ProductVersion=0.1 -AutoIncBuildNr=0 - diff --git a/protocols/YAMN/mingw/simple.win b/protocols/YAMN/mingw/simple.win deleted file mode 100644 index fc9e3c611e..0000000000 --- a/protocols/YAMN/mingw/simple.win +++ /dev/null @@ -1,35 +0,0 @@ -# Project: simple -# Makefile created by Dev-C++ 4.9.9.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = -OBJ = objsimple/maindll.o $(RES) -LINKOBJ = objsimple/maindll.o $(RES) -LIBS = -lkernel32 -luser32 -s -INCS = -I"../../../include" -CXXINCS = -I"../../../include" -BIN = binfilter/simple.dll -CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS -w -fweb -frename-registers -Os -CFLAGS = $(INCS) -D__GNUWIN32__ -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS -w -fweb -frename-registers -Os -RM = rm -f - -.PHONY: all all-before all-after clean clean-custom - -all: all-before binfilter/simple.dll all-after - - -clean: clean-custom - ${RM} $(OBJ) $(BIN) - -DLLWRAP=dllwrap.exe -DEFFILE=objsimple/libsimple.def -STATICLIB=objsimple/libsimple.a - -$(BIN): $(LINKOBJ) -# $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN) - $(CPP) $(LINKOBJ) $(LIBS) -o $(BIN) -mdll - -objsimple/maindll.o: ../filter/Simple/maindll.cpp - $(CPP) -c ../filter/Simple/maindll.cpp -o objsimple/maindll.o $(CXXFLAGS) diff --git a/protocols/YAMN/mingw/yamn-2in1.dev b/protocols/YAMN/mingw/yamn-2in1.dev deleted file mode 100644 index 615e63f7ac..0000000000 --- a/protocols/YAMN/mingw/yamn-2in1.dev +++ /dev/null @@ -1,469 +0,0 @@ -[Project] -FileName=yamn-2in1.dev -Name=YAMN -Ver=1 -IsCpp=1 -Type=3 -Compiler=-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -DWIN2IN1 -CppCompiler=-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -DWIN2IN1 -Includes=../../../include -Linker=-lunicows -lkernel32 -luser32 -lshell32 -lmsvcrt -lcomctl32 -lcomdlg32 -lgdi32 -lwsock32 --image-base "0x60010000" -Libs=../libs -UnitCount=36 -Folders=Documentation,"Resource Files",YAMN,YAMN/Header,YAMN/include,"YAMN/Mail browser, dialogs",YAMN/Mails,"YAMN/POP3 plugin" -ObjFiles= -PrivateResource=YAMN_private.rc -ResourceIncludes=../resources -MakeIncludes= -Icon= -ExeOutput=bin2in1 -ObjectOutput=objs2in1 -OverrideOutput=1 -OverrideOutputName=YAMN.dll -HostApplication= -CommandLine= -UseCustomMakefile=1 -CustomMakefile=yamn-2in1.win -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0010000001001000000100 - -[Unit1] -FileName=..\browser\badconnect.cpp -Folder=YAMN/Mail browser, dialogs -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=..\browser\mailbrowser.cpp -Folder=YAMN/Mail browser, dialogs -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=..\mails\decode.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=..\mails\mails.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=..\mails\mime.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=..\proto\md5.c -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=0 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=..\proto\netlib.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit8] -FileName=..\proto\pop3\pop3.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=..\proto\pop3\pop3comm.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=..\proto\pop3\pop3opt.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=..\proto\ssl.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=..\debug.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=..\main.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=..\proto\pop3\pop3.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=..\proto\pop3\pop3comm.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=..\proto\pop3\pop3opt.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=..\yamn.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=..\include\m_kbdnotify.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=..\include\m_popup.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=..\include\m_toptoolbar.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=..\include\m_uninstaller.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=..\include\m_updater.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=..\account.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=..\ChangeLog.txt -Folder=Documentation -Compile=0 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=..\debug.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=..\filterplugin.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=..\main.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=..\protoplugin.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=..\services.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=..\synchro.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit31] -FileName=..\yamn.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=..\resources\ttbfcheck.bmp -Folder=Resource Files -Compile=0 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit33] -FileName=..\resources\YAMN.rc -Folder=Resource Files -Compile=1 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=..\docs\language.pop3.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=..\docs\language.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=..\m_messages.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=..\resources\icoyamn2.ico -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=..\resources\icoyamn3.ico -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=..\resources\ttbfcheck.bmp -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=..\resources\YAMN.rc -Folder=Resource Files -Compile=1 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=..\docs\language.pop3.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=..\docs\language.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion=0.1 -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename=YAMN.exe -ProductName=YAMN -ProductVersion=0.1 -AutoIncBuildNr=0 - diff --git a/protocols/YAMN/mingw/yamn-2in1.win b/protocols/YAMN/mingw/yamn-2in1.win deleted file mode 100644 index 5b90f86916..0000000000 --- a/protocols/YAMN/mingw/yamn-2in1.win +++ /dev/null @@ -1,92 +0,0 @@ -# Project: YAMN -# Makefile created by Dev-C++ 4.9.9.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = objs2in1/YAMN.res -OBJ = objs2in1/badconnect.o objs2in1/mailbrowser.o objs2in1/decode.o objs2in1/mails.o objs2in1/mime.o objs2in1/md5.o objs2in1/netlib.o objs2in1/pop3.o objs2in1/pop3comm.o objs2in1/pop3opt.o objs2in1/ssl.o objs2in1/account.o objs2in1/debug.o objs2in1/filterplugin.o objs2in1/main.o objs2in1/protoplugin.o objs2in1/services.o objs2in1/synchro.o objs2in1/yamn.o $(RES) -LINKOBJ = objs2in1/badconnect.o objs2in1/mailbrowser.o objs2in1/decode.o objs2in1/mails.o objs2in1/mime.o objs2in1/md5.o objs2in1/netlib.o objs2in1/pop3.o objs2in1/pop3comm.o objs2in1/pop3opt.o objs2in1/ssl.o objs2in1/account.o objs2in1/debug.o objs2in1/filterplugin.o objs2in1/main.o objs2in1/protoplugin.o objs2in1/services.o objs2in1/synchro.o objs2in1/yamn.o $(RES) -LIBS = -L"../libs" -lunicows -lkernel32 -luser32 -lshell32 -lmsvcrt -lcomctl32 -lcomdlg32 -lgdi32 -lwsock32 -s -INCS = -I"../../../include" -CXXINCS = -I"../../../include" -BIN = bin2in1/yamn.dll -CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS -DWIN2IN1 -w -fweb -frename-registers -Os -CFLAGS = $(INCS) -D__GNUWIN32__ -W -fno-inline -DWIN32 -DNDEBUG -D_WINDOWS -DWIN2IN1 -w -fweb -frename-registers -Os -RM = rm -f - -.PHONY: all all-before all-after clean clean-custom - -all: all-before bin2in1/yamn.dll all-after - - -clean: clean-custom - ${RM} $(OBJ) $(BIN) - -DLLWRAP=dllwrap.exe -DEFFILE=bin2in1/libYAMN.def -STATICLIB=bin2in1/libYAMN.a - -$(BIN): $(LINKOBJ) -# $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN) - $(CPP) $(LINKOBJ) $(LIBS) -o $(BIN) -mdll - -objs2in1/badconnect.o: ../browser/badconnect.cpp - $(CPP) -c ../browser/badconnect.cpp -o objs2in1/badconnect.o $(CXXFLAGS) - -objs2in1/mailbrowser.o: ../browser/mailbrowser.cpp - $(CPP) -c ../browser/mailbrowser.cpp -o objs2in1/mailbrowser.o $(CXXFLAGS) - -objs2in1/decode.o: ../mails/decode.cpp - $(CPP) -c ../mails/decode.cpp -o objs2in1/decode.o $(CXXFLAGS) - -objs2in1/mails.o: ../mails/mails.cpp - $(CPP) -c ../mails/mails.cpp -o objs2in1/mails.o $(CXXFLAGS) - -objs2in1/mime.o: ../mails/mime.cpp - $(CPP) -c ../mails/mime.cpp -o objs2in1/mime.o $(CXXFLAGS) - -objs2in1/md5.o: ../proto/md5.c - $(CC) -c ../proto/md5.c -o objs2in1/md5.o $(CFLAGS) - -objs2in1/netlib.o: ../proto/netlib.cpp - $(CPP) -c ../proto/netlib.cpp -o objs2in1/netlib.o $(CXXFLAGS) - -objs2in1/pop3.o: ../proto/pop3/pop3.cpp - $(CPP) -c ../proto/pop3/pop3.cpp -o objs2in1/pop3.o $(CXXFLAGS) - -objs2in1/pop3comm.o: ../proto/pop3/pop3comm.cpp - $(CPP) -c ../proto/pop3/pop3comm.cpp -o objs2in1/pop3comm.o $(CXXFLAGS) - -objs2in1/pop3opt.o: ../proto/pop3/pop3opt.cpp - $(CPP) -c ../proto/pop3/pop3opt.cpp -o objs2in1/pop3opt.o $(CXXFLAGS) - -objs2in1/ssl.o: ../proto/ssl.cpp - $(CPP) -c ../proto/ssl.cpp -o objs2in1/ssl.o $(CXXFLAGS) - -objs2in1/account.o: ../account.cpp - $(CPP) -c ../account.cpp -o objs2in1/account.o $(CXXFLAGS) - -objs2in1/debug.o: ../debug.cpp - $(CPP) -c ../debug.cpp -o objs2in1/debug.o $(CXXFLAGS) - -objs2in1/filterplugin.o: ../filterplugin.cpp - $(CPP) -c ../filterplugin.cpp -o objs2in1/filterplugin.o $(CXXFLAGS) - -objs2in1/main.o: ../main.cpp - $(CPP) -c ../main.cpp -o objs2in1/main.o $(CXXFLAGS) - -objs2in1/protoplugin.o: ../protoplugin.cpp - $(CPP) -c ../protoplugin.cpp -o objs2in1/protoplugin.o $(CXXFLAGS) - -objs2in1/services.o: ../services.cpp - $(CPP) -c ../services.cpp -o objs2in1/services.o $(CXXFLAGS) - -objs2in1/synchro.o: ../synchro.cpp - $(CPP) -c ../synchro.cpp -o objs2in1/synchro.o $(CXXFLAGS) - -objs2in1/yamn.o: ../yamn.cpp - $(CPP) -c ../yamn.cpp -o objs2in1/yamn.o $(CXXFLAGS) - -objs2in1/YAMN.res: ../resources/YAMN.rc - $(WINDRES) -i ../resources/YAMN.rc --input-format=rc -o objs2in1/YAMN.res -O coff --include-dir ../resources diff --git a/protocols/YAMN/mingw/yamn-w9x.dev b/protocols/YAMN/mingw/yamn-w9x.dev deleted file mode 100644 index b652000edf..0000000000 --- a/protocols/YAMN/mingw/yamn-w9x.dev +++ /dev/null @@ -1,469 +0,0 @@ -[Project] -FileName=yamn-w9x.dev -Name=YAMN -Ver=1 -IsCpp=1 -Type=3 -Compiler=-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -DWIN9X -CppCompiler=-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -DWIN9X -Includes=../../../include -Linker=-lunicows -lkernel32 -luser32 -lshell32 -lmsvcrt -lcomctl32 -lcomdlg32 -lgdi32 -lwsock32 --image-base "0x60010000" -Libs=../libs -UnitCount=36 -Folders=Documentation,"Resource Files",YAMN,YAMN/Header,YAMN/include,"YAMN/Mail browser, dialogs",YAMN/Mails,"YAMN/POP3 plugin" -ObjFiles= -PrivateResource=YAMN_private.rc -ResourceIncludes=../resources -MakeIncludes= -Icon= -ExeOutput=bin9x -ObjectOutput=objs9x -OverrideOutput=1 -OverrideOutputName=YAMN.dll -HostApplication= -CommandLine= -UseCustomMakefile=1 -CustomMakefile=yamn-w9x.win -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0010000001001000000100 - -[Unit1] -FileName=..\browser\badconnect.cpp -Folder=YAMN/Mail browser, dialogs -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=..\browser\mailbrowser.cpp -Folder=YAMN/Mail browser, dialogs -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=..\mails\decode.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=..\mails\mails.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=..\mails\mime.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=..\proto\md5.c -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=0 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=..\proto\netlib.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit8] -FileName=..\proto\pop3\pop3.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=..\proto\pop3\pop3comm.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=..\proto\pop3\pop3opt.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=..\proto\ssl.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=..\debug.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=..\main.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=..\proto\pop3\pop3.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=..\proto\pop3\pop3comm.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=..\proto\pop3\pop3opt.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=..\yamn.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=..\include\m_kbdnotify.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=..\include\m_popup.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=..\include\m_toptoolbar.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=..\include\m_uninstaller.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=..\include\m_updater.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=..\account.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=..\ChangeLog.txt -Folder=Documentation -Compile=0 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=..\debug.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=..\filterplugin.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=..\main.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=..\protoplugin.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=..\services.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=..\synchro.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit31] -FileName=..\yamn.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=..\resources\ttbfcheck.bmp -Folder=Resource Files -Compile=0 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit33] -FileName=..\resources\YAMN.rc -Folder=Resource Files -Compile=1 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=..\docs\language.pop3.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=..\docs\language.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=..\m_messages.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=..\resources\icoyamn2.ico -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=..\resources\icoyamn3.ico -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=..\resources\ttbfcheck.bmp -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=..\resources\YAMN.rc -Folder=Resource Files -Compile=1 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=..\docs\language.pop3.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=..\docs\language.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion=0.1 -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename=YAMN.exe -ProductName=YAMN -ProductVersion=0.1 -AutoIncBuildNr=0 - diff --git a/protocols/YAMN/mingw/yamn-w9x.win b/protocols/YAMN/mingw/yamn-w9x.win deleted file mode 100644 index 0e741d564e..0000000000 --- a/protocols/YAMN/mingw/yamn-w9x.win +++ /dev/null @@ -1,92 +0,0 @@ -# Project: YAMN -# Makefile created by Dev-C++ 4.9.9.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = objs9x/YAMN.res -OBJ = objs9x/badconnect.o objs9x/mailbrowser.o objs9x/decode.o objs9x/mails.o objs9x/mime.o objs9x/md5.o objs9x/netlib.o objs9x/pop3.o objs9x/pop3comm.o objs9x/pop3opt.o objs9x/ssl.o objs9x/account.o objs9x/debug.o objs9x/filterplugin.o objs9x/main.o objs9x/protoplugin.o objs9x/services.o objs9x/synchro.o objs9x/yamn.o $(RES) -LINKOBJ = objs9x/badconnect.o objs9x/mailbrowser.o objs9x/decode.o objs9x/mails.o objs9x/mime.o objs9x/md5.o objs9x/netlib.o objs9x/pop3.o objs9x/pop3comm.o objs9x/pop3opt.o objs9x/ssl.o objs9x/account.o objs9x/debug.o objs9x/filterplugin.o objs9x/main.o objs9x/protoplugin.o objs9x/services.o objs9x/synchro.o objs9x/yamn.o $(RES) -LIBS = -L"../libs" -lunicows -lkernel32 -luser32 -lshell32 -lmsvcrt -lcomctl32 -lcomdlg32 -lgdi32 -lwsock32 -s -INCS = -I"../../../include" -CXXINCS = -I"../../../include" -BIN = bin9x/yamn.dll -CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -DWIN9X -w -fweb -frename-registers -Os -CFLAGS = $(INCS) -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -DWIN9X -w -fweb -frename-registers -Os -RM = rm -f - -.PHONY: all all-before all-after clean clean-custom - -all: all-before bin9x/yamn.dll all-after - - -clean: clean-custom - ${RM} $(OBJ) $(BIN) - -DLLWRAP=dllwrap.exe -DEFFILE=bin9x/libYAMN.def -STATICLIB=bin9x/libYAMN.a - -$(BIN): $(LINKOBJ) -# $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN) - $(CPP) $(LINKOBJ) $(LIBS) -o $(BIN) -mdll - -objs9x/badconnect.o: ../browser/badconnect.cpp - $(CPP) -c ../browser/badconnect.cpp -o objs9x/badconnect.o $(CXXFLAGS) - -objs9x/mailbrowser.o: ../browser/mailbrowser.cpp - $(CPP) -c ../browser/mailbrowser.cpp -o objs9x/mailbrowser.o $(CXXFLAGS) - -objs9x/decode.o: ../mails/decode.cpp - $(CPP) -c ../mails/decode.cpp -o objs9x/decode.o $(CXXFLAGS) - -objs9x/mails.o: ../mails/mails.cpp - $(CPP) -c ../mails/mails.cpp -o objs9x/mails.o $(CXXFLAGS) - -objs9x/mime.o: ../mails/mime.cpp - $(CPP) -c ../mails/mime.cpp -o objs9x/mime.o $(CXXFLAGS) - -objs9x/md5.o: ../proto/md5.c - $(CC) -c ../proto/md5.c -o objs9x/md5.o $(CFLAGS) - -objs9x/netlib.o: ../proto/netlib.cpp - $(CPP) -c ../proto/netlib.cpp -o objs9x/netlib.o $(CXXFLAGS) - -objs9x/pop3.o: ../proto/pop3/pop3.cpp - $(CPP) -c ../proto/pop3/pop3.cpp -o objs9x/pop3.o $(CXXFLAGS) - -objs9x/pop3comm.o: ../proto/pop3/pop3comm.cpp - $(CPP) -c ../proto/pop3/pop3comm.cpp -o objs9x/pop3comm.o $(CXXFLAGS) - -objs9x/pop3opt.o: ../proto/pop3/pop3opt.cpp - $(CPP) -c ../proto/pop3/pop3opt.cpp -o objs9x/pop3opt.o $(CXXFLAGS) - -objs9x/ssl.o: ../proto/ssl.cpp - $(CPP) -c ../proto/ssl.cpp -o objs9x/ssl.o $(CXXFLAGS) - -objs9x/account.o: ../account.cpp - $(CPP) -c ../account.cpp -o objs9x/account.o $(CXXFLAGS) - -objs9x/debug.o: ../debug.cpp - $(CPP) -c ../debug.cpp -o objs9x/debug.o $(CXXFLAGS) - -objs9x/filterplugin.o: ../filterplugin.cpp - $(CPP) -c ../filterplugin.cpp -o objs9x/filterplugin.o $(CXXFLAGS) - -objs9x/main.o: ../main.cpp - $(CPP) -c ../main.cpp -o objs9x/main.o $(CXXFLAGS) - -objs9x/protoplugin.o: ../protoplugin.cpp - $(CPP) -c ../protoplugin.cpp -o objs9x/protoplugin.o $(CXXFLAGS) - -objs9x/services.o: ../services.cpp - $(CPP) -c ../services.cpp -o objs9x/services.o $(CXXFLAGS) - -objs9x/synchro.o: ../synchro.cpp - $(CPP) -c ../synchro.cpp -o objs9x/synchro.o $(CXXFLAGS) - -objs9x/yamn.o: ../yamn.cpp - $(CPP) -c ../yamn.cpp -o objs9x/yamn.o $(CXXFLAGS) - -objs9x/YAMN.res: ../resources/YAMN.rc - $(WINDRES) -i ../resources/YAMN.rc --input-format=rc -o objs9x/YAMN.res -O coff --include-dir ../resources diff --git a/protocols/YAMN/mingw/yamn.dev b/protocols/YAMN/mingw/yamn.dev deleted file mode 100644 index d726894665..0000000000 --- a/protocols/YAMN/mingw/yamn.dev +++ /dev/null @@ -1,469 +0,0 @@ -[Project] -FileName=yamn.dev -Name=YAMN -Ver=1 -IsCpp=1 -Type=3 -Compiler=-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -CppCompiler=-D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -Includes=../../../include -Linker=-lkernel32 -luser32 -lshell32 -lmsvcrt -lcomctl32 -lcomdlg32 -lgdi32 -lwsock32 --image-base "0x60010000" -Libs= -UnitCount=36 -Folders=Documentation,"Resource Files",YAMN,YAMN/Header,YAMN/include,"YAMN/Mail browser, dialogs",YAMN/Mails,"YAMN/POP3 plugin" -ObjFiles= -PrivateResource=YAMN_private.rc -ResourceIncludes=../resources -MakeIncludes= -Icon= -ExeOutput=bin -ObjectOutput=objs -OverrideOutput=0 -OverrideOutputName=YAMN.dll -HostApplication= -CommandLine= -UseCustomMakefile=1 -CustomMakefile=yamn.win -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000000001001000000100 - -[Unit1] -FileName=..\browser\badconnect.cpp -Folder=YAMN/Mail browser, dialogs -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=..\browser\mailbrowser.cpp -Folder=YAMN/Mail browser, dialogs -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=..\mails\decode.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=..\mails\mails.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=..\mails\mime.cpp -Folder=YAMN/Mails -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=..\proto\md5.c -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=0 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=..\proto\netlib.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit8] -FileName=..\proto\pop3\pop3.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit9] -FileName=..\proto\pop3\pop3comm.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=..\proto\pop3\pop3opt.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=..\proto\ssl.cpp -Folder=YAMN/POP3 plugin -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=..\debug.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=..\main.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=..\proto\pop3\pop3.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=..\proto\pop3\pop3comm.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=..\proto\pop3\pop3opt.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=..\yamn.h -Folder=YAMN/Header -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=..\include\m_kbdnotify.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=..\include\m_popup.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=..\include\m_toptoolbar.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=..\include\m_uninstaller.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=..\include\m_updater.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=..\account.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=..\ChangeLog.txt -Folder=Documentation -Compile=0 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=..\debug.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=..\filterplugin.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=..\main.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=..\protoplugin.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=..\services.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=..\synchro.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit31] -FileName=..\yamn.cpp -Folder=YAMN -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=..\resources\ttbfcheck.bmp -Folder=Resource Files -Compile=0 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit33] -FileName=..\resources\YAMN.rc -Folder=Resource Files -Compile=1 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=..\docs\language.pop3.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=..\docs\language.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=..\m_messages.h -Folder=YAMN/include -Compile=1 -CompileCpp=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=..\resources\icoyamn2.ico -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=..\resources\icoyamn3.ico -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=..\resources\ttbfcheck.bmp -Folder=Resource Files -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=..\resources\YAMN.rc -Folder=Resource Files -Compile=1 -CompileCpp=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=..\docs\language.pop3.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=..\docs\language.txt -Folder=Documentation -Compile=0 -CompileCpp=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion=0.1 -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename=YAMN.exe -ProductName=YAMN -ProductVersion=0.1 -AutoIncBuildNr=0 - diff --git a/protocols/YAMN/mingw/yamn.win b/protocols/YAMN/mingw/yamn.win deleted file mode 100644 index d396e45fca..0000000000 --- a/protocols/YAMN/mingw/yamn.win +++ /dev/null @@ -1,92 +0,0 @@ -# Project: YAMN -# Makefile created by Dev-C++ 4.9.9.2 - -CPP = g++.exe -CC = gcc.exe -WINDRES = windres.exe -RES = objs/YAMN.res -OBJ = objs/badconnect.o objs/mailbrowser.o objs/decode.o objs/mails.o objs/mime.o objs/md5.o objs/netlib.o objs/pop3.o objs/pop3comm.o objs/pop3opt.o objs/ssl.o objs/account.o objs/debug.o objs/filterplugin.o objs/main.o objs/protoplugin.o objs/services.o objs/synchro.o objs/yamn.o $(RES) -LINKOBJ = objs/badconnect.o objs/mailbrowser.o objs/decode.o objs/mails.o objs/mime.o objs/md5.o objs/netlib.o objs/pop3.o objs/pop3comm.o objs/pop3opt.o objs/ssl.o objs/account.o objs/debug.o objs/filterplugin.o objs/main.o objs/protoplugin.o objs/services.o objs/synchro.o objs/yamn.o $(RES) -LIBS = -lkernel32 -luser32 -lshell32 -lmsvcrt -lcomctl32 -lcomdlg32 -lgdi32 -lwsock32 -s -INCS = -I"../../../include" -CXXINCS = -I"../../../include" -BIN = bin/yamn.dll -CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -w -fweb -frename-registers -Os -CFLAGS = $(INCS) -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_WINDOWS -w -fweb -frename-registers -Os -RM = rm -f - -.PHONY: all all-before all-after clean clean-custom - -all: all-before bin/yamn.dll all-after - - -clean: clean-custom - ${RM} $(OBJ) $(BIN) - -DLLWRAP=dllwrap.exe -DEFFILE=bin/libyamn.def -STATICLIB=bin/libyamn.a - -$(BIN): $(LINKOBJ) -# $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN) - $(CPP) $(LINKOBJ) $(LIBS) -o $(BIN) -mdll - -objs/badconnect.o: ../browser/badconnect.cpp - $(CPP) -c ../browser/badconnect.cpp -o objs/badconnect.o $(CXXFLAGS) - -objs/mailbrowser.o: ../browser/mailbrowser.cpp - $(CPP) -c ../browser/mailbrowser.cpp -o objs/mailbrowser.o $(CXXFLAGS) - -objs/decode.o: ../mails/decode.cpp - $(CPP) -c ../mails/decode.cpp -o objs/decode.o $(CXXFLAGS) - -objs/mails.o: ../mails/mails.cpp - $(CPP) -c ../mails/mails.cpp -o objs/mails.o $(CXXFLAGS) - -objs/mime.o: ../mails/mime.cpp - $(CPP) -c ../mails/mime.cpp -o objs/mime.o $(CXXFLAGS) - -objs/md5.o: ../proto/md5.c - $(CC) -c ../proto/md5.c -o objs/md5.o $(CFLAGS) - -objs/netlib.o: ../proto/netlib.cpp - $(CPP) -c ../proto/netlib.cpp -o objs/netlib.o $(CXXFLAGS) - -objs/pop3.o: ../proto/pop3/pop3.cpp - $(CPP) -c ../proto/pop3/pop3.cpp -o objs/pop3.o $(CXXFLAGS) - -objs/pop3comm.o: ../proto/pop3/pop3comm.cpp - $(CPP) -c ../proto/pop3/pop3comm.cpp -o objs/pop3comm.o $(CXXFLAGS) - -objs/pop3opt.o: ../proto/pop3/pop3opt.cpp - $(CPP) -c ../proto/pop3/pop3opt.cpp -o objs/pop3opt.o $(CXXFLAGS) - -objs/ssl.o: ../proto/ssl.cpp - $(CPP) -c ../proto/ssl.cpp -o objs/ssl.o $(CXXFLAGS) - -objs/account.o: ../account.cpp - $(CPP) -c ../account.cpp -o objs/account.o $(CXXFLAGS) - -objs/debug.o: ../debug.cpp - $(CPP) -c ../debug.cpp -o objs/debug.o $(CXXFLAGS) - -objs/filterplugin.o: ../filterplugin.cpp - $(CPP) -c ../filterplugin.cpp -o objs/filterplugin.o $(CXXFLAGS) - -objs/main.o: ../main.cpp - $(CPP) -c ../main.cpp -o objs/main.o $(CXXFLAGS) - -objs/protoplugin.o: ../protoplugin.cpp - $(CPP) -c ../protoplugin.cpp -o objs/protoplugin.o $(CXXFLAGS) - -objs/services.o: ../services.cpp - $(CPP) -c ../services.cpp -o objs/services.o $(CXXFLAGS) - -objs/synchro.o: ../synchro.cpp - $(CPP) -c ../synchro.cpp -o objs/synchro.o $(CXXFLAGS) - -objs/yamn.o: ../yamn.cpp - $(CPP) -c ../yamn.cpp -o objs/yamn.o $(CXXFLAGS) - -objs/YAMN.res: ../resources/YAMN.rc - $(WINDRES) -i ../resources/YAMN.rc --input-format=rc -o objs/YAMN.res -O coff --include-dir ../resources diff --git a/protocols/Yahoo/Makefile.win b/protocols/Yahoo/Makefile.win deleted file mode 100644 index 270810c554..0000000000 --- a/protocols/Yahoo/Makefile.win +++ /dev/null @@ -1,76 +0,0 @@ -# -# Makefile for Miranda IM written by Gennady Feldman -# -# - -# -# List the required object files. -# - -OBJ = http_gateway.o \ - main.o \ - options.o \ - server.o \ - services.o \ - util.o \ - yahoo.o \ - avatar.o \ - chat.o \ - webcam.o \ - icolib.o \ - ignore.o \ - file_transfer.o \ - im.o \ - search.o \ - proto.o \ - libyahoo2\crypt.o \ - libyahoo2\libyahoo2.o \ - libyahoo2\yahoo_httplib.o \ - libyahoo2\yahoo_list.o \ - libyahoo2\yahoo_util.o - -RES = Yahoo.res - -LIB = -lcomdlg32 -lgdi32 -lwsock32 - -CC = gcc -RC = windres -RM = del - -ifdef DEBUG -BIN = ..\..\bin\debug\plugins\Yahoo.dll -else -BIN = ..\..\bin\release\plugins\Yahoo.dll -endif - -DEFINES = -DHAVE_CONFIG_H -ifdef DEBUG -DEFINES := $(DEFINES) -D_DEBUG -endif - - -ifdef DEBUG -CFLAGS = -g $(DEFINES) -I../../include -mwindows -c -LDFLAGS = -shared -else -CFLAGS = -Os $(DEFINES) -I../../include -mwindows -c -LDFLAGS = -shared -s -endif - -all : ${BIN} - -${BIN} : $(OBJ) $(RES) - g++ $(LDFLAGS) -o $(BIN) $(OBJ) $(RES) $(LIB) -Wl - -$(RES) : $(RES:.res=.rc) $(RES:.res=.h) Makefile.win - $(RC) -O COFF -o $(RES) -i $(RES:.res=.rc) - -.cpp.o: - g++ $(CFLAGS) $< -o $@ - -.c.o: - gcc $(CFLAGS) $< -o $@ - - -clean : - -$(RM) $(OBJ) $(RES) ${BIN} diff --git a/protocols/Yahoo/yahoo.dev b/protocols/Yahoo/yahoo.dev deleted file mode 100644 index 4eb9281685..0000000000 --- a/protocols/Yahoo/yahoo.dev +++ /dev/null @@ -1,539 +0,0 @@ -[Project] -FileName=yahoo.dev -Name=yahoo -UnitCount=48 -Type=3 -Ver=1 -ObjFiles= -Includes= -Libs= -PrivateResource=yahoo_private.rc -ResourceIncludes= -MakeIncludes= -Compiler=-DBUILDING_DLL=1_@@_-DHAVE_CONFIG_H_@@_-DUSE_STRUCT_CALLBACKS_@@__@@_ -CppCompiler= -Linker=--no-export-all-symbols --add-stdcall-alias_@@__@@_ -IsCpp=0 -Icon= -ExeOutput=Build -ObjectOutput=Build -OverrideOutput=0 -OverrideOutputName=yahoo.dll -HostApplication= -Folders=Docs,Icones,LibYahoo2,LibYahoo2/Docs,"Yahoo Plugin" -CommandLine= -IncludeVersionInfo=0 -SupportXPThemes=0 -CompilerSet=0 -CompilerSettings=0000001000001000000 -UseCustomMakefile=0 -CustomMakefile= - -[VersionInfo] -Major=0 -Minor=1 -Release=1 -Build=1 -LanguageID=1033 -CharsetID=1252 -CompanyName= -FileVersion= -FileDescription=Developed using the Dev-C++ IDE -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion= -AutoIncBuildNr=0 - -[Unit9] -FileName=services.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit10] -FileName=utf8.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit11] -FileName=utf8.h -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit14] -FileName=yahoo.h -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit17] -FileName=Docs\ReadMe.txt -CompileCpp=0 -Folder=Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit18] -FileName=Docs\ToCheck.txt -CompileCpp=0 -Folder=Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit19] -FileName=Docs\ToDo.txt -CompileCpp=0 -Folder=Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit20] -FileName=icos\inbox.ico -CompileCpp=0 -Folder=Icones -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit22] -FileName=icos\yahoo.ico -CompileCpp=0 -Folder=Icones -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit23] -FileName=libyahoo2\yahoo_httplib.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit24] -FileName=libyahoo2\yahoo_list.c -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit25] -FileName=libyahoo2\yahoo_list.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit26] -FileName=libyahoo2\yahoo_util.c -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit27] -FileName=libyahoo2\yahoo_util.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit29] -FileName=libyahoo2\crypt.c -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit30] -FileName=libyahoo2\libyahoo2.c -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -CompileCpp=0 - -[Unit31] -FileName=libyahoo2\md5.c -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= -CompileCpp=0 - -[Unit33] -FileName=libyahoo2\sha.c -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit34] -FileName=libyahoo2\sha.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit35] -FileName=libyahoo2\yahoo2.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit36] -FileName=libyahoo2\yahoo2_callbacks.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit1] -FileName=http_gateway.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit2] -FileName=http_gateway.h -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit3] -FileName=main.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit4] -FileName=options.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit5] -FileName=pthread.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit6] -FileName=pthread.h -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit7] -FileName=resource.h -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit8] -FileName=server.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit12] -FileName=util.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit13] -FileName=yahoo.c -CompileCpp=0 -Folder=Yahoo Plugin -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit15] -FileName=Yahoo.rc -Folder=Yahoo Plugin -Compile=1 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit21] -FileName=icos\invite.ico -Folder=Icones -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit28] -FileName=libyahoo2\config.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit32] -FileName=libyahoo2\md5.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit37] -FileName=libyahoo2\yahoo2_types.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit38] -FileName=libyahoo2\yahoo_debug.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit39] -FileName=libyahoo2\yahoo_fn.c -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit40] -FileName=libyahoo2\yahoo_fn.h -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit41] -FileName=libyahoo2\yahoo_httplib.c -CompileCpp=0 -Folder=LibYahoo2 -Compile=1 -Link=1 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit42] -FileName=libyahoo2\Docs\AUTHORS -CompileCpp=0 -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit43] -FileName=libyahoo2\Docs\ChangeLog -CompileCpp=0 -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit44] -FileName=libyahoo2\Docs\COPYING -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit45] -FileName=libyahoo2\Docs\NEWS -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit46] -FileName=libyahoo2\Docs\README -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit47] -FileName=libyahoo2\Docs\TODO -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit48] -FileName=libyahoo2\Docs\ymsg-9.txt -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit49] -FileName=libyahoo2\Docs\TODO -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit50] -FileName=libyahoo2\Docs\ymsg-9.txt -Folder=LibYahoo2/Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - -[Unit16] -FileName=Docs\Feature.txt -Folder=Docs -Compile=0 -Link=0 -Priority=1000 -OverrideBuildCmd=0 -BuildCmd= - diff --git a/src/manifest.rc b/src/manifest.rc deleted file mode 100644 index d23fb3f71e..0000000000 --- a/src/manifest.rc +++ /dev/null @@ -1,8 +0,0 @@ -///////////////////////////////////////////////////////////////////////////// -// -// RT_MANIFEST -// - -#include - -1 RT_MANIFEST "miranda32.exe.manifest" -- cgit v1.2.3