From 4a966be3c32e745b2567e51c27766942f798f77d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 26 Jul 2015 12:33:08 +0000 Subject: common projects git-svn-id: http://svn.miranda-ng.org/main/trunk@14724 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NotifyAnything/NotifyAnything.vcxproj | 28 +++ .../NotifyAnything/NotifyAnything.vcxproj.filters | 4 + plugins/NotifyAnything/NotifyAnything_10.vcxproj | 199 --------------- .../NotifyAnything_10.vcxproj.filters | 47 ---- plugins/NotifyAnything/NotifyAnything_12.vcxproj | 202 --------------- .../NotifyAnything_12.vcxproj.filters | 47 ---- plugins/NotifyAnything/NotifyAnything_14.vcxproj | 202 --------------- .../NotifyAnything_14.vcxproj.filters | 47 ---- plugins/NotifyAnything/src/common.h | 50 ---- plugins/NotifyAnything/src/main.cpp | 2 +- plugins/NotifyAnything/src/options.cpp | 2 +- plugins/NotifyAnything/src/stdafx.cpp | 18 -- plugins/NotifyAnything/src/stdafx.cxx | 18 ++ plugins/NotifyAnything/src/stdafx.h | 50 ++++ plugins/PluginUpdater/PluginUpdater.vcxproj | 33 +++ .../PluginUpdater/PluginUpdater.vcxproj.filters | 4 + plugins/PluginUpdater/PluginUpdaterIM_10.vcxproj | 15 +- plugins/PluginUpdater/PluginUpdaterIM_12.vcxproj | 15 +- plugins/PluginUpdater/PluginUpdaterIM_14.vcxproj | 15 +- plugins/PluginUpdater/PluginUpdater_10.vcxproj | 215 ---------------- .../PluginUpdater/PluginUpdater_10.vcxproj.filters | 94 ------- plugins/PluginUpdater/PluginUpdater_12.vcxproj | 218 ----------------- .../PluginUpdater/PluginUpdater_12.vcxproj.filters | 94 ------- plugins/PluginUpdater/PluginUpdater_14.vcxproj | 218 ----------------- .../PluginUpdater/PluginUpdater_14.vcxproj.filters | 94 ------- plugins/PluginUpdater/src/Common.h | 233 ------------------ plugins/PluginUpdater/src/Compat/compat.cpp | 2 +- plugins/PluginUpdater/src/DlgListNew.cpp | 2 +- plugins/PluginUpdater/src/DlgUpdate.cpp | 2 +- plugins/PluginUpdater/src/Events.cpp | 2 +- plugins/PluginUpdater/src/Notifications.cpp | 2 +- plugins/PluginUpdater/src/Options.cpp | 2 +- plugins/PluginUpdater/src/PluginUpdater.cpp | 2 +- plugins/PluginUpdater/src/Services.cpp | 2 +- plugins/PluginUpdater/src/Utils.cpp | 2 +- plugins/PluginUpdater/src/checksum.cpp | 2 +- plugins/PluginUpdater/src/stdafx.cpp | 18 -- plugins/PluginUpdater/src/stdafx.cxx | 18 ++ plugins/PluginUpdater/src/stdafx.h | 233 ++++++++++++++++++ plugins/PluginUpdater/src/unzipfile.cpp | 2 +- plugins/Popup/Popup.vcxproj | 28 +++ plugins/Popup/Popup.vcxproj.filters | 4 + plugins/Popup/Popup_10.vcxproj | 251 ------------------- plugins/Popup/Popup_10.vcxproj.filters | 203 --------------- plugins/Popup/Popup_12.vcxproj | 254 ------------------- plugins/Popup/Popup_12.vcxproj.filters | 203 --------------- plugins/Popup/Popup_14.vcxproj | 254 ------------------- plugins/Popup/Popup_14.vcxproj.filters | 203 --------------- plugins/Popup/src/actions.cpp | 2 +- plugins/Popup/src/avatars.cpp | 2 +- plugins/Popup/src/avatars_gif.cpp | 2 +- plugins/Popup/src/avatars_simple.cpp | 2 +- plugins/Popup/src/bitmap_funcs.cpp | 2 +- plugins/Popup/src/config.cpp | 2 +- plugins/Popup/src/effects.cpp | 2 +- plugins/Popup/src/font.cpp | 2 +- plugins/Popup/src/formula.cpp | 2 +- plugins/Popup/src/headers.h | 138 ----------- plugins/Popup/src/history.cpp | 2 +- plugins/Popup/src/icons.cpp | 2 +- plugins/Popup/src/main.cpp | 2 +- plugins/Popup/src/notifications.cpp | 2 +- plugins/Popup/src/opt_adv.cpp | 2 +- plugins/Popup/src/opt_class.cpp | 2 +- plugins/Popup/src/opt_contacts.cpp | 2 +- plugins/Popup/src/opt_gen.cpp | 2 +- plugins/Popup/src/opt_skins.cpp | 2 +- plugins/Popup/src/opttree.cpp | 2 +- plugins/Popup/src/popup_gdiplus.cpp | 2 +- plugins/Popup/src/popup_thread.cpp | 2 +- plugins/Popup/src/popup_wnd2.cpp | 2 +- plugins/Popup/src/services.cpp | 2 +- plugins/Popup/src/skin.cpp | 2 +- plugins/Popup/src/srmm_menu.cpp | 2 +- plugins/Popup/src/stdafx.cpp | 18 -- plugins/Popup/src/stdafx.cxx | 18 ++ plugins/Popup/src/stdafx.h | 138 +++++++++++ plugins/ProfileManager/pmanagerEx.vcxproj | 28 +++ plugins/ProfileManager/pmanagerEx.vcxproj.filters | 4 + plugins/ProfileManager/pmanagerEx_10.vcxproj | 198 --------------- .../ProfileManager/pmanagerEx_10.vcxproj.filters | 44 ---- plugins/ProfileManager/pmanagerEx_12.vcxproj | 201 --------------- .../ProfileManager/pmanagerEx_12.vcxproj.filters | 44 ---- plugins/ProfileManager/pmanagerEx_14.vcxproj | 201 --------------- .../ProfileManager/pmanagerEx_14.vcxproj.filters | 44 ---- plugins/ProfileManager/src/Common.h | 13 - plugins/ProfileManager/src/pmanagerEx.cpp | 2 +- plugins/ProfileManager/src/stdafx.cpp | 18 -- plugins/ProfileManager/src/stdafx.cxx | 18 ++ plugins/ProfileManager/src/stdafx.h | 11 + plugins/QuickContacts/quickcontacts.vcxproj | 36 +++ .../QuickContacts/quickcontacts.vcxproj.filters | 4 + plugins/QuickContacts/quickcontacts_10.vcxproj | 211 ---------------- .../QuickContacts/quickcontacts_10.vcxproj.filters | 59 ----- plugins/QuickContacts/quickcontacts_12.vcxproj | 216 ---------------- .../QuickContacts/quickcontacts_12.vcxproj.filters | 56 ----- plugins/QuickContacts/quickcontacts_14.vcxproj | 216 ---------------- .../QuickContacts/quickcontacts_14.vcxproj.filters | 56 ----- plugins/QuickContacts/src/commons.h | 82 ------- plugins/QuickContacts/src/options.cpp | 2 +- plugins/QuickContacts/src/quickcontacts.cpp | 2 +- plugins/QuickContacts/src/stdafx.cpp | 18 -- plugins/QuickContacts/src/stdafx.cxx | 18 ++ plugins/QuickContacts/src/stdafx.h | 82 +++++++ plugins/QuickMessages/quickmessages.vcxproj | 28 +++ .../QuickMessages/quickmessages.vcxproj.filters | 4 + plugins/QuickMessages/quickmessages_10.vcxproj | 202 --------------- .../QuickMessages/quickmessages_10.vcxproj.filters | 53 ---- plugins/QuickMessages/quickmessages_12.vcxproj | 205 ---------------- .../QuickMessages/quickmessages_12.vcxproj.filters | 53 ---- plugins/QuickMessages/quickmessages_14.vcxproj | 205 ---------------- .../QuickMessages/quickmessages_14.vcxproj.filters | 53 ---- plugins/QuickMessages/src/Utils.cpp | 2 +- plugins/QuickMessages/src/main.cpp | 2 +- plugins/QuickMessages/src/options.cpp | 2 +- plugins/QuickMessages/src/quickmessages.h | 57 ----- plugins/QuickMessages/src/stdafx.cpp | 18 -- plugins/QuickMessages/src/stdafx.cxx | 18 ++ plugins/QuickMessages/src/stdafx.h | 57 +++++ plugins/QuickReplies/quickreplies.vcxproj | 28 +++ plugins/QuickReplies/quickreplies.vcxproj.filters | 4 + plugins/QuickReplies/quickreplies_10.vcxproj | 205 ---------------- .../QuickReplies/quickreplies_10.vcxproj.filters | 47 ---- plugins/QuickReplies/quickreplies_12.vcxproj | 208 ---------------- .../QuickReplies/quickreplies_12.vcxproj.filters | 47 ---- plugins/QuickReplies/quickreplies_14.vcxproj | 208 ---------------- .../QuickReplies/quickreplies_14.vcxproj.filters | 47 ---- plugins/QuickReplies/src/common.h | 62 ----- plugins/QuickReplies/src/events.cpp | 2 +- plugins/QuickReplies/src/options.cpp | 2 +- plugins/QuickReplies/src/quickreplies.cpp | 2 +- plugins/QuickReplies/src/stdafx.cpp | 18 -- plugins/QuickReplies/src/stdafx.cxx | 18 ++ plugins/QuickReplies/src/stdafx.h | 62 +++++ plugins/Rate/rate.vcxproj | 28 +++ plugins/Rate/rate.vcxproj.filters | 4 + plugins/Rate/rate_10.vcxproj | 196 --------------- plugins/Rate/rate_10.vcxproj.filters | 44 ---- plugins/Rate/rate_12.vcxproj | 202 --------------- plugins/Rate/rate_12.vcxproj.filters | 44 ---- plugins/Rate/rate_14.vcxproj | 202 --------------- plugins/Rate/rate_14.vcxproj.filters | 44 ---- plugins/Rate/src/commonheaders.h | 39 --- plugins/Rate/src/main.cpp | 2 +- plugins/Rate/src/stdafx.cpp | 18 -- plugins/Rate/src/stdafx.cxx | 18 ++ plugins/Rate/src/stdafx.h | 37 +++ plugins/RecentContacts/RecentContacts.vcxproj | 28 +++ .../RecentContacts/RecentContacts.vcxproj.filters | 4 + plugins/RecentContacts/RecentContacts_10.vcxproj | 195 --------------- .../RecentContacts_10.vcxproj.filters | 47 ---- plugins/RecentContacts/RecentContacts_12.vcxproj | 198 --------------- .../RecentContacts_12.vcxproj.filters | 47 ---- plugins/RecentContacts/RecentContacts_14.vcxproj | 198 --------------- .../RecentContacts_14.vcxproj.filters | 47 ---- plugins/RecentContacts/src/RecentContacts.cpp | 2 +- plugins/RecentContacts/src/RecentContacts.h | 85 ------- plugins/RecentContacts/src/options.cpp | 3 +- plugins/RecentContacts/src/stdafx.cpp | 18 -- plugins/RecentContacts/src/stdafx.cxx | 18 ++ plugins/RecentContacts/src/stdafx.h | 84 +++++++ plugins/RemovePersonalSettings/rps.vcxproj | 28 +++ plugins/RemovePersonalSettings/rps.vcxproj.filters | 4 + plugins/RemovePersonalSettings/rps_10.vcxproj | 267 -------------------- .../RemovePersonalSettings/rps_10.vcxproj.filters | 51 ---- plugins/RemovePersonalSettings/rps_12.vcxproj | 272 --------------------- .../RemovePersonalSettings/rps_12.vcxproj.filters | 51 ---- plugins/RemovePersonalSettings/rps_14.vcxproj | 272 --------------------- .../RemovePersonalSettings/rps_14.vcxproj.filters | 51 ---- plugins/RemovePersonalSettings/src/rps.cpp | 32 +-- plugins/Restart/Restart.vcxproj | 28 +++ plugins/Restart/Restart.vcxproj.filters | 4 + plugins/Restart/Restart_10.vcxproj | 204 ---------------- plugins/Restart/Restart_10.vcxproj.filters | 41 ---- plugins/Restart/Restart_12.vcxproj | 209 ---------------- plugins/Restart/Restart_12.vcxproj.filters | 41 ---- plugins/Restart/Restart_14.vcxproj | 209 ---------------- plugins/Restart/Restart_14.vcxproj.filters | 41 ---- plugins/Restart/src/Common.h | 14 -- plugins/Restart/src/restart.cpp | 2 +- plugins/Restart/src/stdafx.cpp | 18 -- plugins/Restart/src/stdafx.cxx | 18 ++ plugins/Restart/src/stdafx.h | 13 + plugins/Scriver/scriver.vcxproj | 36 +++ plugins/Scriver/scriver.vcxproj.filters | 4 + plugins/Scriver/scriver_10.vcxproj | 256 ------------------- plugins/Scriver/scriver_10.vcxproj.filters | 140 ----------- plugins/Scriver/scriver_12.vcxproj | 259 -------------------- plugins/Scriver/scriver_12.vcxproj.filters | 140 ----------- plugins/Scriver/scriver_14.vcxproj | 259 -------------------- plugins/Scriver/scriver_14.vcxproj.filters | 140 ----------- plugins/Scriver/src/chat/log.cpp | 2 +- plugins/Scriver/src/chat/main.cpp | 2 +- plugins/Scriver/src/chat/manager.cpp | 2 +- plugins/Scriver/src/chat/options.cpp | 2 +- plugins/Scriver/src/chat/tools.cpp | 2 +- plugins/Scriver/src/chat/window.cpp | 2 +- plugins/Scriver/src/cmdlist.cpp | 2 +- plugins/Scriver/src/commonheaders.h | 132 ---------- plugins/Scriver/src/globals.cpp | 2 +- plugins/Scriver/src/infobar.cpp | 2 +- plugins/Scriver/src/input.cpp | 2 +- plugins/Scriver/src/msgdialog.cpp | 2 +- plugins/Scriver/src/msglog.cpp | 2 +- plugins/Scriver/src/msgoptions.cpp | 2 +- plugins/Scriver/src/msgs.cpp | 2 +- plugins/Scriver/src/msgtimedout.cpp | 2 +- plugins/Scriver/src/msgwindow.cpp | 2 +- plugins/Scriver/src/richutil.cpp | 2 +- plugins/Scriver/src/sendqueue.cpp | 2 +- plugins/Scriver/src/srmm.cpp | 2 +- plugins/Scriver/src/statusicon.cpp | 2 +- plugins/Scriver/src/stdafx.cpp | 18 -- plugins/Scriver/src/stdafx.cxx | 18 ++ plugins/Scriver/src/stdafx.h | 130 ++++++++++ plugins/Scriver/src/utils.cpp | 2 +- plugins/SeenPlugin/seenplugin.vcxproj | 28 +++ plugins/SeenPlugin/seenplugin.vcxproj.filters | 4 + plugins/SeenPlugin/seenplugin_10.vcxproj | 213 ---------------- plugins/SeenPlugin/seenplugin_10.vcxproj.filters | 65 ----- plugins/SeenPlugin/seenplugin_12.vcxproj | 216 ---------------- plugins/SeenPlugin/seenplugin_12.vcxproj.filters | 65 ----- plugins/SeenPlugin/seenplugin_14.vcxproj | 216 ---------------- plugins/SeenPlugin/seenplugin_14.vcxproj.filters | 65 ----- plugins/SeenPlugin/src/file.cpp | 2 +- plugins/SeenPlugin/src/history.cpp | 2 +- plugins/SeenPlugin/src/main.cpp | 2 +- plugins/SeenPlugin/src/menu.cpp | 2 +- plugins/SeenPlugin/src/missed.cpp | 2 +- plugins/SeenPlugin/src/options.cpp | 2 +- plugins/SeenPlugin/src/seen.h | 135 ---------- plugins/SeenPlugin/src/stdafx.cpp | 18 -- plugins/SeenPlugin/src/stdafx.cxx | 18 ++ plugins/SeenPlugin/src/stdafx.h | 134 ++++++++++ plugins/SeenPlugin/src/userinfo.cpp | 2 +- plugins/SeenPlugin/src/utils.cpp | 2 +- plugins/SendScreenshotPlus/SendSS.vcxproj | 28 +++ plugins/SendScreenshotPlus/SendSS.vcxproj.filters | 4 + plugins/SendScreenshotPlus/SendSS_10.vcxproj | 223 ----------------- .../SendScreenshotPlus/SendSS_10.vcxproj.filters | 126 ---------- plugins/SendScreenshotPlus/SendSS_12.vcxproj | 226 ----------------- .../SendScreenshotPlus/SendSS_12.vcxproj.filters | 126 ---------- plugins/SendScreenshotPlus/SendSS_14.vcxproj | 226 ----------------- .../SendScreenshotPlus/SendSS_14.vcxproj.filters | 126 ---------- plugins/SendScreenshotPlus/src/CSend.cpp | 2 +- plugins/SendScreenshotPlus/src/CSendDropbox.cpp | 2 +- plugins/SendScreenshotPlus/src/CSendEmail.cpp | 2 +- plugins/SendScreenshotPlus/src/CSendFTPFile.cpp | 2 +- plugins/SendScreenshotPlus/src/CSendFile.cpp | 2 +- plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp | 2 +- .../src/CSendHost_ImageShack.cpp | 2 +- plugins/SendScreenshotPlus/src/CSendHost_imgur.cpp | 2 +- .../SendScreenshotPlus/src/CSendHost_uploadpie.cpp | 2 +- plugins/SendScreenshotPlus/src/Main.cpp | 2 +- plugins/SendScreenshotPlus/src/UAboutForm.cpp | 2 +- plugins/SendScreenshotPlus/src/UMainForm.cpp | 2 +- plugins/SendScreenshotPlus/src/Utils.cpp | 2 +- plugins/SendScreenshotPlus/src/ctrl_button.cpp | 2 +- plugins/SendScreenshotPlus/src/dlg_msgbox.cpp | 9 +- plugins/SendScreenshotPlus/src/global.h | 185 -------------- plugins/SendScreenshotPlus/src/mir_string.cpp | 2 +- plugins/SendScreenshotPlus/src/stdafx.cpp | 18 -- plugins/SendScreenshotPlus/src/stdafx.cxx | 18 ++ plugins/SendScreenshotPlus/src/stdafx.h | 185 ++++++++++++++ plugins/Sessions/Sessions.vcxproj | 28 +++ plugins/Sessions/Sessions.vcxproj.filters | 4 + plugins/Sessions/Sessions_10.vcxproj | 204 ---------------- plugins/Sessions/Sessions_10.vcxproj.filters | 53 ---- plugins/Sessions/Sessions_12.vcxproj | 207 ---------------- plugins/Sessions/Sessions_12.vcxproj.filters | 53 ---- plugins/Sessions/Sessions_14.vcxproj | 207 ---------------- plugins/Sessions/Sessions_14.vcxproj.filters | 53 ---- plugins/Sessions/Src/Main.cpp | 2 +- plugins/Sessions/Src/Options.cpp | 2 +- plugins/Sessions/Src/Sessions.h | 75 ------ plugins/Sessions/Src/Utils.cpp | 2 +- plugins/Sessions/Src/stdafx.cpp | 18 -- plugins/Sessions/Src/stdafx.cxx | 18 ++ plugins/Sessions/Src/stdafx.h | 75 ++++++ plugins/SimpleAR/SimpleAR.vcxproj | 28 +++ plugins/SimpleAR/SimpleAR.vcxproj.filters | 4 + plugins/SimpleAR/SimpleAR_10.vcxproj | 190 -------------- plugins/SimpleAR/SimpleAR_10.vcxproj.filters | 47 ---- plugins/SimpleAR/SimpleAR_12.vcxproj | 193 --------------- plugins/SimpleAR/SimpleAR_12.vcxproj.filters | 47 ---- plugins/SimpleAR/SimpleAR_14.vcxproj | 193 --------------- plugins/SimpleAR/SimpleAR_14.vcxproj.filters | 47 ---- plugins/SimpleAR/src/Common.h | 32 --- plugins/SimpleAR/src/Main.cpp | 2 +- plugins/SimpleAR/src/Options.cpp | 2 +- plugins/SimpleAR/src/stdafx.cpp | 18 -- plugins/SimpleAR/src/stdafx.cxx | 18 ++ plugins/SimpleAR/src/stdafx.h | 30 +++ plugins/SimpleStatusMsg/simplestatusmsg.vcxproj | 28 +++ .../simplestatusmsg.vcxproj.filters | 4 + plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj | 218 ----------------- .../simplestatusmsg_10.vcxproj.filters | 59 ----- plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj | 221 ----------------- .../simplestatusmsg_12.vcxproj.filters | 59 ----- plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj | 221 ----------------- .../simplestatusmsg_14.vcxproj.filters | 59 ----- plugins/SimpleStatusMsg/src/awaymsg.cpp | 2 +- plugins/SimpleStatusMsg/src/commonheaders.h | 60 ----- plugins/SimpleStatusMsg/src/main.cpp | 2 +- plugins/SimpleStatusMsg/src/msgbox.cpp | 2 +- plugins/SimpleStatusMsg/src/options.cpp | 2 +- plugins/SimpleStatusMsg/src/stdafx.cpp | 18 -- plugins/SimpleStatusMsg/src/stdafx.cxx | 18 ++ plugins/SimpleStatusMsg/src/stdafx.h | 58 +++++ plugins/SimpleStatusMsg/src/utils.cpp | 2 +- .../SkypeStatusChange/SkypeStatusChange.vcxproj | 28 +++ .../SkypeStatusChange.vcxproj.filters | 4 + .../SkypeStatusChange/SkypeStatusChange_10.vcxproj | 209 ---------------- .../SkypeStatusChange_10.vcxproj.filters | 47 ---- .../SkypeStatusChange/SkypeStatusChange_12.vcxproj | 212 ---------------- .../SkypeStatusChange_12.vcxproj.filters | 47 ---- .../SkypeStatusChange/SkypeStatusChange_14.vcxproj | 212 ---------------- .../SkypeStatusChange_14.vcxproj.filters | 47 ---- plugins/SkypeStatusChange/src/stdafx.cpp | 18 -- plugins/SkypeStatusChange/src/stdafx.cxx | 18 ++ plugins/SkypeStatusChange/src/stdafx.h | 2 - plugins/SmileyAdd/SmileyAdd.vcxproj | 33 +++ plugins/SmileyAdd/SmileyAdd.vcxproj.filters | 4 + plugins/SmileyAdd/SmileyAdd_10.vcxproj | 250 ------------------- plugins/SmileyAdd/SmileyAdd_10.vcxproj.filters | 128 ---------- plugins/SmileyAdd/SmileyAdd_12.vcxproj | 253 ------------------- plugins/SmileyAdd/SmileyAdd_12.vcxproj.filters | 128 ---------- plugins/SmileyAdd/SmileyAdd_14.vcxproj | 253 ------------------- plugins/SmileyAdd/SmileyAdd_14.vcxproj.filters | 128 ---------- plugins/SmileyAdd/src/AniSmileyObject.cpp | 2 +- plugins/SmileyAdd/src/SmileyBase.cpp | 2 +- plugins/SmileyAdd/src/anim.cpp | 2 +- plugins/SmileyAdd/src/customsmiley.cpp | 2 +- plugins/SmileyAdd/src/dlgboxsubclass.cpp | 2 +- plugins/SmileyAdd/src/download.cpp | 2 +- plugins/SmileyAdd/src/general.cpp | 2 +- plugins/SmileyAdd/src/general.h | 192 --------------- plugins/SmileyAdd/src/imagecache.cpp | 2 +- plugins/SmileyAdd/src/main.cpp | 2 +- plugins/SmileyAdd/src/options.cpp | 2 +- plugins/SmileyAdd/src/regexp/WCMatcher.cpp | 2 +- plugins/SmileyAdd/src/regexp/WCPattern.cpp | 2 +- plugins/SmileyAdd/src/richcall.cpp | 2 +- plugins/SmileyAdd/src/services.cpp | 2 +- plugins/SmileyAdd/src/smileyroutines.cpp | 2 +- plugins/SmileyAdd/src/smileys.cpp | 2 +- plugins/SmileyAdd/src/smltool.cpp | 2 +- plugins/SmileyAdd/src/stdafx.cpp | 18 -- plugins/SmileyAdd/src/stdafx.cxx | 18 ++ plugins/SmileyAdd/src/stdafx.h | 191 +++++++++++++++ 350 files changed, 2662 insertions(+), 18736 deletions(-) create mode 100644 plugins/NotifyAnything/NotifyAnything.vcxproj create mode 100644 plugins/NotifyAnything/NotifyAnything.vcxproj.filters delete mode 100644 plugins/NotifyAnything/NotifyAnything_10.vcxproj delete mode 100644 plugins/NotifyAnything/NotifyAnything_10.vcxproj.filters delete mode 100644 plugins/NotifyAnything/NotifyAnything_12.vcxproj delete mode 100644 plugins/NotifyAnything/NotifyAnything_12.vcxproj.filters delete mode 100644 plugins/NotifyAnything/NotifyAnything_14.vcxproj delete mode 100644 plugins/NotifyAnything/NotifyAnything_14.vcxproj.filters delete mode 100644 plugins/NotifyAnything/src/common.h delete mode 100644 plugins/NotifyAnything/src/stdafx.cpp create mode 100644 plugins/NotifyAnything/src/stdafx.cxx create mode 100644 plugins/NotifyAnything/src/stdafx.h create mode 100644 plugins/PluginUpdater/PluginUpdater.vcxproj create mode 100644 plugins/PluginUpdater/PluginUpdater.vcxproj.filters delete mode 100644 plugins/PluginUpdater/PluginUpdater_10.vcxproj delete mode 100644 plugins/PluginUpdater/PluginUpdater_10.vcxproj.filters delete mode 100644 plugins/PluginUpdater/PluginUpdater_12.vcxproj delete mode 100644 plugins/PluginUpdater/PluginUpdater_12.vcxproj.filters delete mode 100644 plugins/PluginUpdater/PluginUpdater_14.vcxproj delete mode 100644 plugins/PluginUpdater/PluginUpdater_14.vcxproj.filters delete mode 100644 plugins/PluginUpdater/src/Common.h delete mode 100644 plugins/PluginUpdater/src/stdafx.cpp create mode 100644 plugins/PluginUpdater/src/stdafx.cxx create mode 100644 plugins/PluginUpdater/src/stdafx.h create mode 100644 plugins/Popup/Popup.vcxproj create mode 100644 plugins/Popup/Popup.vcxproj.filters delete mode 100644 plugins/Popup/Popup_10.vcxproj delete mode 100644 plugins/Popup/Popup_10.vcxproj.filters delete mode 100644 plugins/Popup/Popup_12.vcxproj delete mode 100644 plugins/Popup/Popup_12.vcxproj.filters delete mode 100644 plugins/Popup/Popup_14.vcxproj delete mode 100644 plugins/Popup/Popup_14.vcxproj.filters delete mode 100644 plugins/Popup/src/headers.h delete mode 100644 plugins/Popup/src/stdafx.cpp create mode 100644 plugins/Popup/src/stdafx.cxx create mode 100644 plugins/Popup/src/stdafx.h create mode 100644 plugins/ProfileManager/pmanagerEx.vcxproj create mode 100644 plugins/ProfileManager/pmanagerEx.vcxproj.filters delete mode 100644 plugins/ProfileManager/pmanagerEx_10.vcxproj delete mode 100644 plugins/ProfileManager/pmanagerEx_10.vcxproj.filters delete mode 100644 plugins/ProfileManager/pmanagerEx_12.vcxproj delete mode 100644 plugins/ProfileManager/pmanagerEx_12.vcxproj.filters delete mode 100644 plugins/ProfileManager/pmanagerEx_14.vcxproj delete mode 100644 plugins/ProfileManager/pmanagerEx_14.vcxproj.filters delete mode 100644 plugins/ProfileManager/src/Common.h delete mode 100644 plugins/ProfileManager/src/stdafx.cpp create mode 100644 plugins/ProfileManager/src/stdafx.cxx create mode 100644 plugins/ProfileManager/src/stdafx.h create mode 100644 plugins/QuickContacts/quickcontacts.vcxproj create mode 100644 plugins/QuickContacts/quickcontacts.vcxproj.filters delete mode 100644 plugins/QuickContacts/quickcontacts_10.vcxproj delete mode 100644 plugins/QuickContacts/quickcontacts_10.vcxproj.filters delete mode 100644 plugins/QuickContacts/quickcontacts_12.vcxproj delete mode 100644 plugins/QuickContacts/quickcontacts_12.vcxproj.filters delete mode 100644 plugins/QuickContacts/quickcontacts_14.vcxproj delete mode 100644 plugins/QuickContacts/quickcontacts_14.vcxproj.filters delete mode 100644 plugins/QuickContacts/src/commons.h delete mode 100644 plugins/QuickContacts/src/stdafx.cpp create mode 100644 plugins/QuickContacts/src/stdafx.cxx create mode 100644 plugins/QuickContacts/src/stdafx.h create mode 100644 plugins/QuickMessages/quickmessages.vcxproj create mode 100644 plugins/QuickMessages/quickmessages.vcxproj.filters delete mode 100644 plugins/QuickMessages/quickmessages_10.vcxproj delete mode 100644 plugins/QuickMessages/quickmessages_10.vcxproj.filters delete mode 100644 plugins/QuickMessages/quickmessages_12.vcxproj delete mode 100644 plugins/QuickMessages/quickmessages_12.vcxproj.filters delete mode 100644 plugins/QuickMessages/quickmessages_14.vcxproj delete mode 100644 plugins/QuickMessages/quickmessages_14.vcxproj.filters delete mode 100644 plugins/QuickMessages/src/quickmessages.h delete mode 100644 plugins/QuickMessages/src/stdafx.cpp create mode 100644 plugins/QuickMessages/src/stdafx.cxx create mode 100644 plugins/QuickMessages/src/stdafx.h create mode 100644 plugins/QuickReplies/quickreplies.vcxproj create mode 100644 plugins/QuickReplies/quickreplies.vcxproj.filters delete mode 100644 plugins/QuickReplies/quickreplies_10.vcxproj delete mode 100644 plugins/QuickReplies/quickreplies_10.vcxproj.filters delete mode 100644 plugins/QuickReplies/quickreplies_12.vcxproj delete mode 100644 plugins/QuickReplies/quickreplies_12.vcxproj.filters delete mode 100644 plugins/QuickReplies/quickreplies_14.vcxproj delete mode 100644 plugins/QuickReplies/quickreplies_14.vcxproj.filters delete mode 100644 plugins/QuickReplies/src/common.h delete mode 100644 plugins/QuickReplies/src/stdafx.cpp create mode 100644 plugins/QuickReplies/src/stdafx.cxx create mode 100644 plugins/QuickReplies/src/stdafx.h create mode 100644 plugins/Rate/rate.vcxproj create mode 100644 plugins/Rate/rate.vcxproj.filters delete mode 100644 plugins/Rate/rate_10.vcxproj delete mode 100644 plugins/Rate/rate_10.vcxproj.filters delete mode 100644 plugins/Rate/rate_12.vcxproj delete mode 100644 plugins/Rate/rate_12.vcxproj.filters delete mode 100644 plugins/Rate/rate_14.vcxproj delete mode 100644 plugins/Rate/rate_14.vcxproj.filters delete mode 100644 plugins/Rate/src/commonheaders.h delete mode 100644 plugins/Rate/src/stdafx.cpp create mode 100644 plugins/Rate/src/stdafx.cxx create mode 100644 plugins/Rate/src/stdafx.h create mode 100644 plugins/RecentContacts/RecentContacts.vcxproj create mode 100644 plugins/RecentContacts/RecentContacts.vcxproj.filters delete mode 100644 plugins/RecentContacts/RecentContacts_10.vcxproj delete mode 100644 plugins/RecentContacts/RecentContacts_10.vcxproj.filters delete mode 100644 plugins/RecentContacts/RecentContacts_12.vcxproj delete mode 100644 plugins/RecentContacts/RecentContacts_12.vcxproj.filters delete mode 100644 plugins/RecentContacts/RecentContacts_14.vcxproj delete mode 100644 plugins/RecentContacts/RecentContacts_14.vcxproj.filters delete mode 100644 plugins/RecentContacts/src/RecentContacts.h delete mode 100644 plugins/RecentContacts/src/stdafx.cpp create mode 100644 plugins/RecentContacts/src/stdafx.cxx create mode 100644 plugins/RecentContacts/src/stdafx.h create mode 100644 plugins/RemovePersonalSettings/rps.vcxproj create mode 100644 plugins/RemovePersonalSettings/rps.vcxproj.filters delete mode 100644 plugins/RemovePersonalSettings/rps_10.vcxproj delete mode 100644 plugins/RemovePersonalSettings/rps_10.vcxproj.filters delete mode 100644 plugins/RemovePersonalSettings/rps_12.vcxproj delete mode 100644 plugins/RemovePersonalSettings/rps_12.vcxproj.filters delete mode 100644 plugins/RemovePersonalSettings/rps_14.vcxproj delete mode 100644 plugins/RemovePersonalSettings/rps_14.vcxproj.filters create mode 100644 plugins/Restart/Restart.vcxproj create mode 100644 plugins/Restart/Restart.vcxproj.filters delete mode 100644 plugins/Restart/Restart_10.vcxproj delete mode 100644 plugins/Restart/Restart_10.vcxproj.filters delete mode 100644 plugins/Restart/Restart_12.vcxproj delete mode 100644 plugins/Restart/Restart_12.vcxproj.filters delete mode 100644 plugins/Restart/Restart_14.vcxproj delete mode 100644 plugins/Restart/Restart_14.vcxproj.filters delete mode 100644 plugins/Restart/src/Common.h delete mode 100644 plugins/Restart/src/stdafx.cpp create mode 100644 plugins/Restart/src/stdafx.cxx create mode 100644 plugins/Restart/src/stdafx.h create mode 100644 plugins/Scriver/scriver.vcxproj create mode 100644 plugins/Scriver/scriver.vcxproj.filters delete mode 100644 plugins/Scriver/scriver_10.vcxproj delete mode 100644 plugins/Scriver/scriver_10.vcxproj.filters delete mode 100644 plugins/Scriver/scriver_12.vcxproj delete mode 100644 plugins/Scriver/scriver_12.vcxproj.filters delete mode 100644 plugins/Scriver/scriver_14.vcxproj delete mode 100644 plugins/Scriver/scriver_14.vcxproj.filters delete mode 100644 plugins/Scriver/src/commonheaders.h delete mode 100644 plugins/Scriver/src/stdafx.cpp create mode 100644 plugins/Scriver/src/stdafx.cxx create mode 100644 plugins/Scriver/src/stdafx.h create mode 100644 plugins/SeenPlugin/seenplugin.vcxproj create mode 100644 plugins/SeenPlugin/seenplugin.vcxproj.filters delete mode 100644 plugins/SeenPlugin/seenplugin_10.vcxproj delete mode 100644 plugins/SeenPlugin/seenplugin_10.vcxproj.filters delete mode 100644 plugins/SeenPlugin/seenplugin_12.vcxproj delete mode 100644 plugins/SeenPlugin/seenplugin_12.vcxproj.filters delete mode 100644 plugins/SeenPlugin/seenplugin_14.vcxproj delete mode 100644 plugins/SeenPlugin/seenplugin_14.vcxproj.filters delete mode 100644 plugins/SeenPlugin/src/seen.h delete mode 100644 plugins/SeenPlugin/src/stdafx.cpp create mode 100644 plugins/SeenPlugin/src/stdafx.cxx create mode 100644 plugins/SeenPlugin/src/stdafx.h create mode 100644 plugins/SendScreenshotPlus/SendSS.vcxproj create mode 100644 plugins/SendScreenshotPlus/SendSS.vcxproj.filters delete mode 100644 plugins/SendScreenshotPlus/SendSS_10.vcxproj delete mode 100644 plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters delete mode 100644 plugins/SendScreenshotPlus/SendSS_12.vcxproj delete mode 100644 plugins/SendScreenshotPlus/SendSS_12.vcxproj.filters delete mode 100644 plugins/SendScreenshotPlus/SendSS_14.vcxproj delete mode 100644 plugins/SendScreenshotPlus/SendSS_14.vcxproj.filters delete mode 100644 plugins/SendScreenshotPlus/src/global.h delete mode 100644 plugins/SendScreenshotPlus/src/stdafx.cpp create mode 100644 plugins/SendScreenshotPlus/src/stdafx.cxx create mode 100644 plugins/SendScreenshotPlus/src/stdafx.h create mode 100644 plugins/Sessions/Sessions.vcxproj create mode 100644 plugins/Sessions/Sessions.vcxproj.filters delete mode 100644 plugins/Sessions/Sessions_10.vcxproj delete mode 100644 plugins/Sessions/Sessions_10.vcxproj.filters delete mode 100644 plugins/Sessions/Sessions_12.vcxproj delete mode 100644 plugins/Sessions/Sessions_12.vcxproj.filters delete mode 100644 plugins/Sessions/Sessions_14.vcxproj delete mode 100644 plugins/Sessions/Sessions_14.vcxproj.filters delete mode 100644 plugins/Sessions/Src/Sessions.h delete mode 100644 plugins/Sessions/Src/stdafx.cpp create mode 100644 plugins/Sessions/Src/stdafx.cxx create mode 100644 plugins/Sessions/Src/stdafx.h create mode 100644 plugins/SimpleAR/SimpleAR.vcxproj create mode 100644 plugins/SimpleAR/SimpleAR.vcxproj.filters delete mode 100644 plugins/SimpleAR/SimpleAR_10.vcxproj delete mode 100644 plugins/SimpleAR/SimpleAR_10.vcxproj.filters delete mode 100644 plugins/SimpleAR/SimpleAR_12.vcxproj delete mode 100644 plugins/SimpleAR/SimpleAR_12.vcxproj.filters delete mode 100644 plugins/SimpleAR/SimpleAR_14.vcxproj delete mode 100644 plugins/SimpleAR/SimpleAR_14.vcxproj.filters delete mode 100644 plugins/SimpleAR/src/Common.h delete mode 100644 plugins/SimpleAR/src/stdafx.cpp create mode 100644 plugins/SimpleAR/src/stdafx.cxx create mode 100644 plugins/SimpleAR/src/stdafx.h create mode 100644 plugins/SimpleStatusMsg/simplestatusmsg.vcxproj create mode 100644 plugins/SimpleStatusMsg/simplestatusmsg.vcxproj.filters delete mode 100644 plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj delete mode 100644 plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj.filters delete mode 100644 plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj delete mode 100644 plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj.filters delete mode 100644 plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj delete mode 100644 plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj.filters delete mode 100644 plugins/SimpleStatusMsg/src/commonheaders.h delete mode 100644 plugins/SimpleStatusMsg/src/stdafx.cpp create mode 100644 plugins/SimpleStatusMsg/src/stdafx.cxx create mode 100644 plugins/SimpleStatusMsg/src/stdafx.h create mode 100644 plugins/SkypeStatusChange/SkypeStatusChange.vcxproj create mode 100644 plugins/SkypeStatusChange/SkypeStatusChange.vcxproj.filters delete mode 100644 plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj delete mode 100644 plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj.filters delete mode 100644 plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj delete mode 100644 plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj.filters delete mode 100644 plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj delete mode 100644 plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj.filters delete mode 100644 plugins/SkypeStatusChange/src/stdafx.cpp create mode 100644 plugins/SkypeStatusChange/src/stdafx.cxx create mode 100644 plugins/SmileyAdd/SmileyAdd.vcxproj create mode 100644 plugins/SmileyAdd/SmileyAdd.vcxproj.filters delete mode 100644 plugins/SmileyAdd/SmileyAdd_10.vcxproj delete mode 100644 plugins/SmileyAdd/SmileyAdd_10.vcxproj.filters delete mode 100644 plugins/SmileyAdd/SmileyAdd_12.vcxproj delete mode 100644 plugins/SmileyAdd/SmileyAdd_12.vcxproj.filters delete mode 100644 plugins/SmileyAdd/SmileyAdd_14.vcxproj delete mode 100644 plugins/SmileyAdd/SmileyAdd_14.vcxproj.filters delete mode 100644 plugins/SmileyAdd/src/general.h delete mode 100644 plugins/SmileyAdd/src/stdafx.cpp create mode 100644 plugins/SmileyAdd/src/stdafx.cxx create mode 100644 plugins/SmileyAdd/src/stdafx.h (limited to 'plugins') diff --git a/plugins/NotifyAnything/NotifyAnything.vcxproj b/plugins/NotifyAnything/NotifyAnything.vcxproj new file mode 100644 index 0000000000..89341aebd6 --- /dev/null +++ b/plugins/NotifyAnything/NotifyAnything.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + NotifyAnything + {F5E3FAFE-B650-4736-8D27-FA53866668C6} + + + + + \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything.vcxproj.filters b/plugins/NotifyAnything/NotifyAnything.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/NotifyAnything/NotifyAnything.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything_10.vcxproj b/plugins/NotifyAnything/NotifyAnything_10.vcxproj deleted file mode 100644 index 564854f35a..0000000000 --- a/plugins/NotifyAnything/NotifyAnything_10.vcxproj +++ /dev/null @@ -1,199 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NotifyAnything - {F5E3FAFE-B650-4736-8D27-FA53866668C6} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - true - true - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - true - true - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything_10.vcxproj.filters b/plugins/NotifyAnything/NotifyAnything_10.vcxproj.filters deleted file mode 100644 index ec9e88d5fd..0000000000 --- a/plugins/NotifyAnything/NotifyAnything_10.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {7e24b5e6-2653-4143-a42b-d3486d5c416f} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {596c44cc-f8d3-4837-8fb4-49d4aa913452} - h;hpp;hxx;hm;inl - - - {9c926bbb-252f-489c-8433-2db02ad00ba7} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything_12.vcxproj b/plugins/NotifyAnything/NotifyAnything_12.vcxproj deleted file mode 100644 index c0fc58a963..0000000000 --- a/plugins/NotifyAnything/NotifyAnything_12.vcxproj +++ /dev/null @@ -1,202 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NotifyAnything - {F5E3FAFE-B650-4736-8D27-FA53866668C6} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - true - - - DynamicLibrary - Unicode - v120_xp - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - true - true - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin12\lib - - - - - Full - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - true - true - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin12\lib - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything_12.vcxproj.filters b/plugins/NotifyAnything/NotifyAnything_12.vcxproj.filters deleted file mode 100644 index ec9e88d5fd..0000000000 --- a/plugins/NotifyAnything/NotifyAnything_12.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {7e24b5e6-2653-4143-a42b-d3486d5c416f} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {596c44cc-f8d3-4837-8fb4-49d4aa913452} - h;hpp;hxx;hm;inl - - - {9c926bbb-252f-489c-8433-2db02ad00ba7} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything_14.vcxproj b/plugins/NotifyAnything/NotifyAnything_14.vcxproj deleted file mode 100644 index 2575306533..0000000000 --- a/plugins/NotifyAnything/NotifyAnything_14.vcxproj +++ /dev/null @@ -1,202 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - NotifyAnything - {F5E3FAFE-B650-4736-8D27-FA53866668C6} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - true - - - DynamicLibrary - Unicode - v140_xp - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - true - true - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin14\lib - - - - - Full - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - OnlyExplicitInline - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - true - true - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - EditAndContinue - 4996;%(DisableSpecificWarnings) - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - common.h - Level3 - 4996;%(DisableSpecificWarnings) - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - ws2_32.lib;comctl32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin14\lib - - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/NotifyAnything/NotifyAnything_14.vcxproj.filters b/plugins/NotifyAnything/NotifyAnything_14.vcxproj.filters deleted file mode 100644 index ec9e88d5fd..0000000000 --- a/plugins/NotifyAnything/NotifyAnything_14.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {7e24b5e6-2653-4143-a42b-d3486d5c416f} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {596c44cc-f8d3-4837-8fb4-49d4aa913452} - h;hpp;hxx;hm;inl - - - {9c926bbb-252f-489c-8433-2db02ad00ba7} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/NotifyAnything/src/common.h b/plugins/NotifyAnything/src/common.h deleted file mode 100644 index 3b2ee7f221..0000000000 --- a/plugins/NotifyAnything/src/common.h +++ /dev/null @@ -1,50 +0,0 @@ -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "newpluginapi.h" -#include "m_options.h" -#include "m_skin.h" -#include "m_langpack.h" -#include "m_database.h" -#include "m_popup.h" - -#include "resource.h" -#include "Version.h" - -extern HINSTANCE hInst; - -const char PlugName[] = "NotifyAnything"; - -//--------------------------- -//---Internal Hooks (see main.c) -//---(Workaround till CallServiceSync is available) - -struct NASettings { - enum sound_t { never, always, request }; - - bool local_only, debug_messages, log_to_file, use_pcspeaker, allow_execute; - sound_t sound; - int port; - std::tstring password, log_filename; -}; - -extern NASettings g_settings; - -void stop_threads(); -void start_threads(); - -void save_settings(); -void load_settings(); - -int OptionsInitialize(WPARAM wParam, LPARAM lParam); - -extern std::tstring g_mirandaDir; -#define LOG_ID LPGEN("NotifyAnything") diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp index c82c54019f..932b307f84 100644 --- a/plugins/NotifyAnything/src/main.cpp +++ b/plugins/NotifyAnything/src/main.cpp @@ -1,4 +1,4 @@ -#include "common.h" +#include "stdafx.h" void cslog(const TCHAR *what, const TCHAR *file, int line) { diff --git a/plugins/NotifyAnything/src/options.cpp b/plugins/NotifyAnything/src/options.cpp index 109654a678..589c0f79f0 100644 --- a/plugins/NotifyAnything/src/options.cpp +++ b/plugins/NotifyAnything/src/options.cpp @@ -1,4 +1,4 @@ -#include "common.h" +#include "stdafx.h" NASettings g_settings; diff --git a/plugins/NotifyAnything/src/stdafx.cpp b/plugins/NotifyAnything/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/NotifyAnything/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/NotifyAnything/src/stdafx.cxx b/plugins/NotifyAnything/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/NotifyAnything/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/NotifyAnything/src/stdafx.h b/plugins/NotifyAnything/src/stdafx.h new file mode 100644 index 0000000000..3b2ee7f221 --- /dev/null +++ b/plugins/NotifyAnything/src/stdafx.h @@ -0,0 +1,50 @@ +#define _CRT_SECURE_NO_DEPRECATE + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "newpluginapi.h" +#include "m_options.h" +#include "m_skin.h" +#include "m_langpack.h" +#include "m_database.h" +#include "m_popup.h" + +#include "resource.h" +#include "Version.h" + +extern HINSTANCE hInst; + +const char PlugName[] = "NotifyAnything"; + +//--------------------------- +//---Internal Hooks (see main.c) +//---(Workaround till CallServiceSync is available) + +struct NASettings { + enum sound_t { never, always, request }; + + bool local_only, debug_messages, log_to_file, use_pcspeaker, allow_execute; + sound_t sound; + int port; + std::tstring password, log_filename; +}; + +extern NASettings g_settings; + +void stop_threads(); +void start_threads(); + +void save_settings(); +void load_settings(); + +int OptionsInitialize(WPARAM wParam, LPARAM lParam); + +extern std::tstring g_mirandaDir; +#define LOG_ID LPGEN("NotifyAnything") diff --git a/plugins/PluginUpdater/PluginUpdater.vcxproj b/plugins/PluginUpdater/PluginUpdater.vcxproj new file mode 100644 index 0000000000..6eb44c75ec --- /dev/null +++ b/plugins/PluginUpdater/PluginUpdater.vcxproj @@ -0,0 +1,33 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + PluginUpdater + {21F6C0E4-DD1A-49E6-82FD-64574BB902BD} + + + + + + + {e2a369cd-eda3-414f-8ad0-e732cd7ee68c} + + + \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdater.vcxproj.filters b/plugins/PluginUpdater/PluginUpdater.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/PluginUpdater/PluginUpdater.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdaterIM_10.vcxproj b/plugins/PluginUpdater/PluginUpdaterIM_10.vcxproj index 0c2576b216..378244d523 100644 --- a/plugins/PluginUpdater/PluginUpdaterIM_10.vcxproj +++ b/plugins/PluginUpdater/PluginUpdaterIM_10.vcxproj @@ -196,22 +196,13 @@ - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing diff --git a/plugins/PluginUpdater/PluginUpdaterIM_12.vcxproj b/plugins/PluginUpdater/PluginUpdaterIM_12.vcxproj index c28c3c8a40..577267bd4c 100644 --- a/plugins/PluginUpdater/PluginUpdaterIM_12.vcxproj +++ b/plugins/PluginUpdater/PluginUpdaterIM_12.vcxproj @@ -188,22 +188,13 @@ - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing diff --git a/plugins/PluginUpdater/PluginUpdaterIM_14.vcxproj b/plugins/PluginUpdater/PluginUpdaterIM_14.vcxproj index d7ca2f5d1c..945a1bea8c 100644 --- a/plugins/PluginUpdater/PluginUpdaterIM_14.vcxproj +++ b/plugins/PluginUpdater/PluginUpdaterIM_14.vcxproj @@ -188,22 +188,13 @@ - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing - NotUsing - NotUsing - NotUsing - NotUsing + NotUsing diff --git a/plugins/PluginUpdater/PluginUpdater_10.vcxproj b/plugins/PluginUpdater/PluginUpdater_10.vcxproj deleted file mode 100644 index 7efc2c91c1..0000000000 --- a/plugins/PluginUpdater/PluginUpdater_10.vcxproj +++ /dev/null @@ -1,215 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - PluginUpdater - {21F6C0E4-DD1A-49E6-82FD-64574BB902BD} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;.\src\Minizip;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - EditAndContinue - Use - Common.h - false - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - Use - Common.h - false - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - Level3 - Use - Common.h - false - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - Level3 - Use - Common.h - false - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - Create - - - - - - - - {e2a369cd-eda3-414f-8ad0-e732cd7ee68c} - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdater_10.vcxproj.filters b/plugins/PluginUpdater/PluginUpdater_10.vcxproj.filters deleted file mode 100644 index a40a0d37b2..0000000000 --- a/plugins/PluginUpdater/PluginUpdater_10.vcxproj.filters +++ /dev/null @@ -1,94 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {794a226d-3db3-4b7e-aa4c-4d1b4d1aa76d} - - - - - Resource Files - - - Resource Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdater_12.vcxproj b/plugins/PluginUpdater/PluginUpdater_12.vcxproj deleted file mode 100644 index 906439f147..0000000000 --- a/plugins/PluginUpdater/PluginUpdater_12.vcxproj +++ /dev/null @@ -1,218 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - PluginUpdater - {21F6C0E4-DD1A-49E6-82FD-64574BB902BD} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;.\src\Minizip;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level4 - EditAndContinue - Use - Common.h - false - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level4 - Use - Common.h - false - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - Level4 - Use - Common.h - false - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin12\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - Level4 - Use - Common.h - false - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin12\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - - - - {e2a369cd-eda3-414f-8ad0-e732cd7ee68c} - - - - - - \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdater_12.vcxproj.filters b/plugins/PluginUpdater/PluginUpdater_12.vcxproj.filters deleted file mode 100644 index a40a0d37b2..0000000000 --- a/plugins/PluginUpdater/PluginUpdater_12.vcxproj.filters +++ /dev/null @@ -1,94 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {794a226d-3db3-4b7e-aa4c-4d1b4d1aa76d} - - - - - Resource Files - - - Resource Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdater_14.vcxproj b/plugins/PluginUpdater/PluginUpdater_14.vcxproj deleted file mode 100644 index 62c04be513..0000000000 --- a/plugins/PluginUpdater/PluginUpdater_14.vcxproj +++ /dev/null @@ -1,218 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - PluginUpdater - {21F6C0E4-DD1A-49E6-82FD-64574BB902BD} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;.\src\Minizip;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level4 - EditAndContinue - Use - Common.h - false - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level4 - Use - Common.h - false - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - Level4 - Use - Common.h - false - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin14\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - Size - ..\..\include;..\ExternalAPI;.\Minizip;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;MIRANDA_VER=0x0A00;_USRDLL;%(PreprocessorDefinitions) - Level4 - Use - Common.h - false - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin14\lib - comctl32.lib;%(AdditionalDependencies) - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - - - - {e2a369cd-eda3-414f-8ad0-e732cd7ee68c} - - - - - - \ No newline at end of file diff --git a/plugins/PluginUpdater/PluginUpdater_14.vcxproj.filters b/plugins/PluginUpdater/PluginUpdater_14.vcxproj.filters deleted file mode 100644 index a40a0d37b2..0000000000 --- a/plugins/PluginUpdater/PluginUpdater_14.vcxproj.filters +++ /dev/null @@ -1,94 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {794a226d-3db3-4b7e-aa4c-4d1b4d1aa76d} - - - - - Resource Files - - - Resource Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - Resource Files\Icons - - - \ No newline at end of file diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h deleted file mode 100644 index 7834bdcb3b..0000000000 --- a/plugins/PluginUpdater/src/Common.h +++ /dev/null @@ -1,233 +0,0 @@ -/* -Copyright (C) 2010 Mataes - -This is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this file; see the file license.txt. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ - -#define _CRT_SECURE_NO_WARNINGS - -// Windows Header Files: -#include -#include -#include -#include -#include -#include - -// Miranda header files -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "version.h" -#include "resource.h" - -#if MIRANDA_VER < 0x0A00 -#include "Compat\compat.h" -#endif - -#include "Notifications.h" - -// Enable Visual Style -#if defined _M_IX86 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_IA64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#elif defined _M_X64 -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") -#else -#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") -#endif - -#define MODNAME "PluginUpdater" -#define MODULEA "Plugin Updater" -#define MODULE L"Plugin Updater" -#define DEFAULT_UPDATES_FOLDER L"Plugin Updates" - -struct FILEURL -{ - TCHAR tszDownloadURL[2048]; - TCHAR tszDiskPath[MAX_PATH]; - int CRCsum; -}; - -struct FILEINFO -{ - TCHAR tszOldName[MAX_PATH], tszNewName[MAX_PATH]; - FILEURL File; - BOOL bEnabled, bDeleteOnly; -}; - -typedef OBJLIST FILELIST; - -extern struct PlugOptions -{ - BYTE bUpdateOnStartup, bUpdateOnPeriod, bOnlyOnceADay, bForceRedownload, bSilentMode; - BOOL bSilent; - - BYTE bPeriodMeasure; - int Period; -} opts; - -#define DEFAULT_UPDATEONSTARTUP 1 -#define DEFAULT_UPDATEONPERIOD 0 -#define DEFAULT_PERIOD 1 -#define DEFAULT_PERIODMEASURE 1 - -#if MIRANDA_VER < 0x0A00 - #define DEFAULT_ONLYONCEADAY 0 -#else - #define DEFAULT_ONLYONCEADAY 1 -#endif - -#define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x%platform%" -#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x%platform%" -#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x%platform%" -#define PLUGIN_INFO_URL _T("http://miranda-ng.org/p/%s") - -#define UPDATE_MODE_CUSTOM 0 -#define UPDATE_MODE_STABLE 1 -#define UPDATE_MODE_TRUNK 2 -#define UPDATE_MODE_TRUNK_SYMBOLS 3 -#define UPDATE_MODE_MAX_VALUE 3 // when adding new mode, increment this number - -#define DB_SETTING_UPDATE_MODE "UpdateMode" -#define DB_SETTING_UPDATE_URL "UpdateURL" -#define DB_SETTING_REDOWNLOAD "ForceRedownload" -#define DB_SETTING_NEED_RESTART "NeedRestart" -#define DB_SETTING_RESTART_COUNT "RestartCount" -#define DB_SETTING_LAST_UPDATE "LastUpdate" -#define DB_SETTING_DONT_SWITCH_TO_STABLE "DontSwitchToStable" -#define DB_MODULE_FILES MODNAME "Files" - -#define MAX_RETRIES 3 - -#define IDINFO 3 -#define IDDOWNLOAD 4 -#define IDDOWNLOADALL 5 - -using namespace std; - -extern HINSTANCE hInst; - -extern DWORD g_mirandaVersion; -extern TCHAR tszRoot[MAX_PATH], tszTempPath[MAX_PATH]; -extern aPopups PopupsList[POPUPS]; -extern HANDLE hPipe, hNetlibUser; -#if MIRANDA_VER >= 0x0A00 -extern IconItemT iconList[]; -#endif -void UninitCheck(void); -void UninitListNew(void); - -class AutoHandle -{ - HANDLE &m_handle; - AutoHandle& operator=(const AutoHandle&) { return *this; } - -public: - AutoHandle(HANDLE &_handle) : m_handle(_handle) {} - ~AutoHandle() - { - if (m_handle) { - ::CloseHandle(m_handle); - m_handle = 0; - } - } -}; - -/////////////////////////////////////////////////////////////////////////////// - -struct ServListEntry -{ - ServListEntry(const char* _name, const char* _hash, int _crc) : - m_name( mir_a2t(_name)), - m_crc(_crc) - { - strncpy(m_szHash, _hash, sizeof(m_szHash)); - } - - ~ServListEntry() - { - mir_free(m_name); - } - - TCHAR *m_name; - DWORD m_crc; - char m_szHash[32+1]; -}; - -typedef OBJLIST SERVLIST; - -/////////////////////////////////////////////////////////////////////////////// - -void InitPopupList(); -void LoadOptions(); -void InitNetlib(); -void InitIcoLib(); -void InitServices(); -void InitEvents(); -void InitOptions(); -void InitListNew(); -void InitCheck(); -void CreateTimer(); - -void UnloadCheck(); -void UnloadListNew(); -void UnloadNetlib(); - -void BackupFile(TCHAR *ptszSrcFileName, TCHAR *ptszBackFileName); - -bool ParseHashes(const TCHAR *ptszUrl, ptrT &baseUrl, SERVLIST &arHashes); -int CompareHashes(const ServListEntry *p1, const ServListEntry *p2); - -TCHAR* GetDefaultUrl(); -bool DownloadFile(FILEURL *pFileURL, HANDLE &nlc); - -void ShowPopup(LPCTSTR Title, LPCTSTR Text, int Number); -void __stdcall RestartMe(void*); -void __stdcall OpenPluginOptions(void*); -void CheckUpdateOnStartup(); -void InitTimer(void *type); - -bool unzip(const TCHAR *ptszZipFile, TCHAR *ptszDestPath, TCHAR *ptszBackPath,bool ch); -void strdel(TCHAR *parBuffer, int len); - -/////////////////////////////////////////////////////////////////////////////// - -int CalculateModuleHash(const TCHAR *tszFileName, char *dest); - -BOOL IsProcessElevated(); -bool PrepareEscalation(); - -int SafeCreateDirectory(const TCHAR *ptszDirName); -int SafeCopyFile(const TCHAR *ptszSrc, const TCHAR *ptszDst); -int SafeMoveFile(const TCHAR *ptszSrc, const TCHAR *ptszDst); -int SafeDeleteFile(const TCHAR *ptszSrc); -int SafeCreateFilePath(TCHAR *pFolder); - -char *StrToLower(char *str); diff --git a/plugins/PluginUpdater/src/Compat/compat.cpp b/plugins/PluginUpdater/src/Compat/compat.cpp index e6b67265bd..ede6b2212b 100644 --- a/plugins/PluginUpdater/src/Compat/compat.cpp +++ b/plugins/PluginUpdater/src/Compat/compat.cpp @@ -19,7 +19,7 @@ Boston, MA 02111-1307, USA. This file contains some compatibility functions for Miranda IM */ -#include "Common.h" +#include "stdafx.h" PLUGINLINK *pluginLink; MM_INTERFACE mmi; diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp index b331b0ee67..fda1defc54 100644 --- a/plugins/PluginUpdater/src/DlgListNew.cpp +++ b/plugins/PluginUpdater/src/DlgListNew.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" static HWND hwndDialog; static HANDLE hListThread; diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp index de7eb92b94..7baff3aa44 100644 --- a/plugins/PluginUpdater/src/DlgUpdate.cpp +++ b/plugins/PluginUpdater/src/DlgUpdate.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" #define UM_ERROR (WM_USER+1) diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 79eb903c4c..f97d384bf5 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" HANDLE hPluginUpdaterFolder; diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 904a7091e6..65cebbc854 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" aPopups PopupsList[POPUPS]; diff --git a/plugins/PluginUpdater/src/Options.cpp b/plugins/PluginUpdater/src/Options.cpp index e32e5ce52c..f9b6933265 100644 --- a/plugins/PluginUpdater/src/Options.cpp +++ b/plugins/PluginUpdater/src/Options.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" PlugOptions opts; POPUP_OPTIONS PopupOptions = {0}; diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 6a77bb1c49..c030a6376d 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" HINSTANCE hInst = NULL; TCHAR tszRoot[MAX_PATH] = {0}, tszTempPath[MAX_PATH]; diff --git a/plugins/PluginUpdater/src/Services.cpp b/plugins/PluginUpdater/src/Services.cpp index 9b44f0038d..ef70e7edb8 100644 --- a/plugins/PluginUpdater/src/Services.cpp +++ b/plugins/PluginUpdater/src/Services.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" static INT_PTR srvParseHashes(WPARAM wParam, LPARAM lParam) { diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 2638750363..36e46ceb43 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "Common.h" +#include "stdafx.h" HANDLE hNetlibUser = NULL, hPipe = NULL; diff --git a/plugins/PluginUpdater/src/checksum.cpp b/plugins/PluginUpdater/src/checksum.cpp index 2335bae500..48d2d9ee26 100644 --- a/plugins/PluginUpdater/src/checksum.cpp +++ b/plugins/PluginUpdater/src/checksum.cpp @@ -2,7 +2,7 @@ // Checksum Tool // By Bio (C) 2012 -#include "common.h" +#include "stdafx.h" // Return codes #define RESULT_OK 0 diff --git a/plugins/PluginUpdater/src/stdafx.cpp b/plugins/PluginUpdater/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/PluginUpdater/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/PluginUpdater/src/stdafx.cxx b/plugins/PluginUpdater/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/PluginUpdater/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h new file mode 100644 index 0000000000..7834bdcb3b --- /dev/null +++ b/plugins/PluginUpdater/src/stdafx.h @@ -0,0 +1,233 @@ +/* +Copyright (C) 2010 Mataes + +This is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This 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 +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with this file; see the file license.txt. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. +*/ + +#define _CRT_SECURE_NO_WARNINGS + +// Windows Header Files: +#include +#include +#include +#include +#include +#include + +// Miranda header files +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "version.h" +#include "resource.h" + +#if MIRANDA_VER < 0x0A00 +#include "Compat\compat.h" +#endif + +#include "Notifications.h" + +// Enable Visual Style +#if defined _M_IX86 +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") +#elif defined _M_IA64 +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") +#elif defined _M_X64 +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") +#else +#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") +#endif + +#define MODNAME "PluginUpdater" +#define MODULEA "Plugin Updater" +#define MODULE L"Plugin Updater" +#define DEFAULT_UPDATES_FOLDER L"Plugin Updates" + +struct FILEURL +{ + TCHAR tszDownloadURL[2048]; + TCHAR tszDiskPath[MAX_PATH]; + int CRCsum; +}; + +struct FILEINFO +{ + TCHAR tszOldName[MAX_PATH], tszNewName[MAX_PATH]; + FILEURL File; + BOOL bEnabled, bDeleteOnly; +}; + +typedef OBJLIST FILELIST; + +extern struct PlugOptions +{ + BYTE bUpdateOnStartup, bUpdateOnPeriod, bOnlyOnceADay, bForceRedownload, bSilentMode; + BOOL bSilent; + + BYTE bPeriodMeasure; + int Period; +} opts; + +#define DEFAULT_UPDATEONSTARTUP 1 +#define DEFAULT_UPDATEONPERIOD 0 +#define DEFAULT_PERIOD 1 +#define DEFAULT_PERIODMEASURE 1 + +#if MIRANDA_VER < 0x0A00 + #define DEFAULT_ONLYONCEADAY 0 +#else + #define DEFAULT_ONLYONCEADAY 1 +#endif + +#define DEFAULT_UPDATE_URL "http://miranda-ng.org/distr/stable/x%platform%" +#define DEFAULT_UPDATE_URL_TRUNK "http://miranda-ng.org/distr/x%platform%" +#define DEFAULT_UPDATE_URL_TRUNK_SYMBOLS "http://miranda-ng.org/distr/pdb_x%platform%" +#define PLUGIN_INFO_URL _T("http://miranda-ng.org/p/%s") + +#define UPDATE_MODE_CUSTOM 0 +#define UPDATE_MODE_STABLE 1 +#define UPDATE_MODE_TRUNK 2 +#define UPDATE_MODE_TRUNK_SYMBOLS 3 +#define UPDATE_MODE_MAX_VALUE 3 // when adding new mode, increment this number + +#define DB_SETTING_UPDATE_MODE "UpdateMode" +#define DB_SETTING_UPDATE_URL "UpdateURL" +#define DB_SETTING_REDOWNLOAD "ForceRedownload" +#define DB_SETTING_NEED_RESTART "NeedRestart" +#define DB_SETTING_RESTART_COUNT "RestartCount" +#define DB_SETTING_LAST_UPDATE "LastUpdate" +#define DB_SETTING_DONT_SWITCH_TO_STABLE "DontSwitchToStable" +#define DB_MODULE_FILES MODNAME "Files" + +#define MAX_RETRIES 3 + +#define IDINFO 3 +#define IDDOWNLOAD 4 +#define IDDOWNLOADALL 5 + +using namespace std; + +extern HINSTANCE hInst; + +extern DWORD g_mirandaVersion; +extern TCHAR tszRoot[MAX_PATH], tszTempPath[MAX_PATH]; +extern aPopups PopupsList[POPUPS]; +extern HANDLE hPipe, hNetlibUser; +#if MIRANDA_VER >= 0x0A00 +extern IconItemT iconList[]; +#endif +void UninitCheck(void); +void UninitListNew(void); + +class AutoHandle +{ + HANDLE &m_handle; + AutoHandle& operator=(const AutoHandle&) { return *this; } + +public: + AutoHandle(HANDLE &_handle) : m_handle(_handle) {} + ~AutoHandle() + { + if (m_handle) { + ::CloseHandle(m_handle); + m_handle = 0; + } + } +}; + +/////////////////////////////////////////////////////////////////////////////// + +struct ServListEntry +{ + ServListEntry(const char* _name, const char* _hash, int _crc) : + m_name( mir_a2t(_name)), + m_crc(_crc) + { + strncpy(m_szHash, _hash, sizeof(m_szHash)); + } + + ~ServListEntry() + { + mir_free(m_name); + } + + TCHAR *m_name; + DWORD m_crc; + char m_szHash[32+1]; +}; + +typedef OBJLIST SERVLIST; + +/////////////////////////////////////////////////////////////////////////////// + +void InitPopupList(); +void LoadOptions(); +void InitNetlib(); +void InitIcoLib(); +void InitServices(); +void InitEvents(); +void InitOptions(); +void InitListNew(); +void InitCheck(); +void CreateTimer(); + +void UnloadCheck(); +void UnloadListNew(); +void UnloadNetlib(); + +void BackupFile(TCHAR *ptszSrcFileName, TCHAR *ptszBackFileName); + +bool ParseHashes(const TCHAR *ptszUrl, ptrT &baseUrl, SERVLIST &arHashes); +int CompareHashes(const ServListEntry *p1, const ServListEntry *p2); + +TCHAR* GetDefaultUrl(); +bool DownloadFile(FILEURL *pFileURL, HANDLE &nlc); + +void ShowPopup(LPCTSTR Title, LPCTSTR Text, int Number); +void __stdcall RestartMe(void*); +void __stdcall OpenPluginOptions(void*); +void CheckUpdateOnStartup(); +void InitTimer(void *type); + +bool unzip(const TCHAR *ptszZipFile, TCHAR *ptszDestPath, TCHAR *ptszBackPath,bool ch); +void strdel(TCHAR *parBuffer, int len); + +/////////////////////////////////////////////////////////////////////////////// + +int CalculateModuleHash(const TCHAR *tszFileName, char *dest); + +BOOL IsProcessElevated(); +bool PrepareEscalation(); + +int SafeCreateDirectory(const TCHAR *ptszDirName); +int SafeCopyFile(const TCHAR *ptszSrc, const TCHAR *ptszDst); +int SafeMoveFile(const TCHAR *ptszSrc, const TCHAR *ptszDst); +int SafeDeleteFile(const TCHAR *ptszSrc); +int SafeCreateFilePath(TCHAR *pFolder); + +char *StrToLower(char *str); diff --git a/plugins/PluginUpdater/src/unzipfile.cpp b/plugins/PluginUpdater/src/unzipfile.cpp index a67945be95..4b79f0fc52 100644 --- a/plugins/PluginUpdater/src/unzipfile.cpp +++ b/plugins/PluginUpdater/src/unzipfile.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" extern "C" { diff --git a/plugins/Popup/Popup.vcxproj b/plugins/Popup/Popup.vcxproj new file mode 100644 index 0000000000..4e7e70524e --- /dev/null +++ b/plugins/Popup/Popup.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + Popup + {726460C7-E1F1-4C37-B64F-DA8A8DD26D70} + + + + + \ No newline at end of file diff --git a/plugins/Popup/Popup.vcxproj.filters b/plugins/Popup/Popup.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/Popup/Popup.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/Popup/Popup_10.vcxproj b/plugins/Popup/Popup_10.vcxproj deleted file mode 100644 index c7dee72d12..0000000000 --- a/plugins/Popup/Popup_10.vcxproj +++ /dev/null @@ -1,251 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Popup - {726460C7-E1F1-4C37-B64F-DA8A8DD26D70} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Use - headers.h - Level3 - EditAndContinue - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Use - headers.h - Level3 - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - true - true - Use - headers.h - Level3 - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - true - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - true - true - Use - headers.h - Level3 - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - true - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Popup/Popup_10.vcxproj.filters b/plugins/Popup/Popup_10.vcxproj.filters deleted file mode 100644 index 32715e3773..0000000000 --- a/plugins/Popup/Popup_10.vcxproj.filters +++ /dev/null @@ -1,203 +0,0 @@ - - - - - {61f0630d-a9c2-4602-8ca0-6a2efe952820} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {58b87470-6530-4485-8a11-2b34996c3d54} - h;hpp;hxx;hm;inl - - - {19999220-077c-4521-b4e8-e28baf26ea12} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {529f787f-6a3b-402b-8451-73ab712c2fd5} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Popup/Popup_12.vcxproj b/plugins/Popup/Popup_12.vcxproj deleted file mode 100644 index 09fa383f4b..0000000000 --- a/plugins/Popup/Popup_12.vcxproj +++ /dev/null @@ -1,254 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Popup - {726460C7-E1F1-4C37-B64F-DA8A8DD26D70} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Use - headers.h - Level4 - EditAndContinue - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Use - headers.h - Level4 - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - true - true - Use - headers.h - Level4 - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - true - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - true - true - Use - headers.h - Level4 - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - true - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Popup/Popup_12.vcxproj.filters b/plugins/Popup/Popup_12.vcxproj.filters deleted file mode 100644 index 32715e3773..0000000000 --- a/plugins/Popup/Popup_12.vcxproj.filters +++ /dev/null @@ -1,203 +0,0 @@ - - - - - {61f0630d-a9c2-4602-8ca0-6a2efe952820} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {58b87470-6530-4485-8a11-2b34996c3d54} - h;hpp;hxx;hm;inl - - - {19999220-077c-4521-b4e8-e28baf26ea12} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {529f787f-6a3b-402b-8451-73ab712c2fd5} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Popup/Popup_14.vcxproj b/plugins/Popup/Popup_14.vcxproj deleted file mode 100644 index a1e9b4554d..0000000000 --- a/plugins/Popup/Popup_14.vcxproj +++ /dev/null @@ -1,254 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Popup - {726460C7-E1F1-4C37-B64F-DA8A8DD26D70} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Use - headers.h - Level4 - EditAndContinue - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Use - headers.h - Level4 - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - true - true - Use - headers.h - Level4 - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - true - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;MTEXT_NOHELPERS;%(PreprocessorDefinitions) - true - true - Use - headers.h - Level4 - Size - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - msimg32.lib;gdiplus.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - 0x55550000 - false - $(IntDir)$(TargetName).lib - true - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Popup/Popup_14.vcxproj.filters b/plugins/Popup/Popup_14.vcxproj.filters deleted file mode 100644 index 32715e3773..0000000000 --- a/plugins/Popup/Popup_14.vcxproj.filters +++ /dev/null @@ -1,203 +0,0 @@ - - - - - {61f0630d-a9c2-4602-8ca0-6a2efe952820} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {58b87470-6530-4485-8a11-2b34996c3d54} - h;hpp;hxx;hm;inl - - - {19999220-077c-4521-b4e8-e28baf26ea12} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {529f787f-6a3b-402b-8451-73ab712c2fd5} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Option Pages - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Popup/src/actions.cpp b/plugins/Popup/src/actions.cpp index 0fafcbd980..92ae2f282b 100644 --- a/plugins/Popup/src/actions.cpp +++ b/plugins/Popup/src/actions.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static int ActionsSortFunc(const POPUPACTION *p1, const POPUPACTION *p2) { diff --git a/plugins/Popup/src/avatars.cpp b/plugins/Popup/src/avatars.cpp index 89dee0724c..4af7fe944a 100644 --- a/plugins/Popup/src/avatars.cpp +++ b/plugins/Popup/src/avatars.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" PopupAvatar *PopupAvatar::create(MCONTACT hContact) { diff --git a/plugins/Popup/src/avatars_gif.cpp b/plugins/Popup/src/avatars_gif.cpp index 33ea2b02f4..c0eba9f628 100644 --- a/plugins/Popup/src/avatars_gif.cpp +++ b/plugins/Popup/src/avatars_gif.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" GifAvatar::GifAvatar(MCONTACT hContact) : PopupAvatar() { diff --git a/plugins/Popup/src/avatars_simple.cpp b/plugins/Popup/src/avatars_simple.cpp index 22e603db3d..5b55467b7f 100644 --- a/plugins/Popup/src/avatars_simple.cpp +++ b/plugins/Popup/src/avatars_simple.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" SimpleAvatar::SimpleAvatar(HANDLE h, bool bUseBitmap) : PopupAvatar() diff --git a/plugins/Popup/src/bitmap_funcs.cpp b/plugins/Popup/src/bitmap_funcs.cpp index 15b51a5998..2ae6256e21 100644 --- a/plugins/Popup/src/bitmap_funcs.cpp +++ b/plugins/Popup/src/bitmap_funcs.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #include "bitmap_funcs.h" #define PU_BMP_ACCURATE_ARITHMETICS diff --git a/plugins/Popup/src/config.cpp b/plugins/Popup/src/config.cpp index 404ac56916..29178f9182 100644 --- a/plugins/Popup/src/config.cpp +++ b/plugins/Popup/src/config.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" // ===== General Plugin ===== HINSTANCE hInst; diff --git a/plugins/Popup/src/effects.cpp b/plugins/Popup/src/effects.cpp index c0c6763ab3..ede4d633f1 100644 --- a/plugins/Popup/src/effects.cpp +++ b/plugins/Popup/src/effects.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" class MyTestEffect; diff --git a/plugins/Popup/src/font.cpp b/plugins/Popup/src/font.cpp index 78a2f58274..2cd803f1f0 100644 --- a/plugins/Popup/src/font.cpp +++ b/plugins/Popup/src/font.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" PopupFonts fonts = { 0 }; diff --git a/plugins/Popup/src/formula.cpp b/plugins/Popup/src/formula.cpp index 2448fbb1fd..c328f32503 100644 --- a/plugins/Popup/src/formula.cpp +++ b/plugins/Popup/src/formula.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static inline bool myisspace(char ch) { diff --git a/plugins/Popup/src/headers.h b/plugins/Popup/src/headers.h deleted file mode 100644 index db8bbf6bee..0000000000 --- a/plugins/Popup/src/headers.h +++ /dev/null @@ -1,138 +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. -*/ - -/* -=============================================================================== -Popup plugin - -This plugin notifies you when a contact changes his/hers status with a Popup. -You can customize its look (style of popup, font, text...) and behaviour (the -position in the screen, the time to live, the action on a mouse click). - -File name: "headers.h" -This file has the purpose of becoming a precompiled header common to every -project file. - -Written by: Hrk (Luca Santarelli) -Updated by: Zazoo (Victor Pavlychko) - -Miranda NG can be found here: -http://miranda-ng.org/ - -Miranda NG plugins and tools can be found here: -http://miranda-ng.org/distr/ -*/ - -#ifndef HEADERS_H -#define HEADERS_H - -// disable security warnings about "*_s" functions -#define _CRT_SECURE_NO_DEPRECATE - -#define OEMRESOURCE - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#undef db_get_s -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#ifndef MTEXT_NOHELPERS -#define MTEXT_NOHELPERS -#endif // MTEXT_NOHELPERS -#include -#include -#include - -#include "resource.h" -#include "defs.h" -#include "version.h" -#include "config.h" -#include "common.h" -#include "def_settings.h" -#include "opttree.h" -#include "opt_gen.h" -#include "opt_skins.h" -#include "opt_contacts.h" -#include "opt_adv.h" -#include "history.h" -#include "services.h" -#include "srmm_menu.h" -#include "bitmap_funcs.h" -#include "icons.h" -#include "font.h" -#include "formula.h" -#include "skin.h" -#include "popup_thread.h" -#include "actions.h" -#include "notifications.h" -#include "opt_class.h" -#include "popup_wnd2.h" -#include "effects.h" -#include "avatars.h" -#include "avatars_simple.h" -#include "avatars_flash.h" -#include "avatars_gif.h" -#include "popup_gdiplus.h" - -#define PU_MODULCLASS "PopupCLASS" // temp DB modul for this plugin -#define MODULNAME "Popup" -#define MODULNAME_LONG "Popup Plus" -#define MODULNAME_PLU "Popups" - -INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM); - -#endif //HEADERS_H diff --git a/plugins/Popup/src/history.cpp b/plugins/Popup/src/history.cpp index 3749dc7906..5f7c6cf14c 100644 --- a/plugins/Popup/src/history.cpp +++ b/plugins/Popup/src/history.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static mir_cs csPopupHistory; static LIST arPopupHistory(SETTING_HISTORYSIZE_DEFAULT); diff --git a/plugins/Popup/src/icons.cpp b/plugins/Popup/src/icons.cpp index c23d09e8cb..ce4cb1b0c0 100644 --- a/plugins/Popup/src/icons.cpp +++ b/plugins/Popup/src/icons.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static IconItem iconList[] = { diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index 9ed1bc2215..0d3d6902c3 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -20,7 +20,7 @@ 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" +#include "stdafx.h" WORD SETTING_MAXIMUMWIDTH_MAX = GetSystemMetrics(SM_CXSCREEN); diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp index c24f0a2765..ebdc53219e 100644 --- a/plugins/Popup/src/notifications.cpp +++ b/plugins/Popup/src/notifications.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" HANDLE g_hntfError, g_hntfWarning, g_hntfNotification; diff --git a/plugins/Popup/src/opt_adv.cpp b/plugins/Popup/src/opt_adv.cpp index 17bf55f118..68dd085240 100644 --- a/plugins/Popup/src/opt_adv.cpp +++ b/plugins/Popup/src/opt_adv.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" HWND hwndBox = NULL; diff --git a/plugins/Popup/src/opt_class.cpp b/plugins/Popup/src/opt_class.cpp index 1d41bf4896..da96d69c60 100644 --- a/plugins/Popup/src/opt_class.cpp +++ b/plugins/Popup/src/opt_class.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" //--------------------------------------------------------------------------- // Workaround for MS bug ComboBox_SelectItemData diff --git a/plugins/Popup/src/opt_contacts.cpp b/plugins/Popup/src/opt_contacts.cpp index 51d4bb8f02..3434287acf 100644 --- a/plugins/Popup/src/opt_contacts.cpp +++ b/plugins/Popup/src/opt_contacts.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static void sttResetListOptions(HWND hwndList) { diff --git a/plugins/Popup/src/opt_gen.cpp b/plugins/Popup/src/opt_gen.cpp index 8ad16037b3..476699e0f0 100644 --- a/plugins/Popup/src/opt_gen.cpp +++ b/plugins/Popup/src/opt_gen.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" INT_PTR CALLBACK PositionBoxDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); diff --git a/plugins/Popup/src/opt_skins.cpp b/plugins/Popup/src/opt_skins.cpp index a2d2fe4a30..9a0986a33e 100644 --- a/plugins/Popup/src/opt_skins.cpp +++ b/plugins/Popup/src/opt_skins.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static volatile bool gPreviewOk = false; static PopupWnd2 *wndPreview = NULL; diff --git a/plugins/Popup/src/opttree.cpp b/plugins/Popup/src/opttree.cpp index c238b5f499..1bacdf0212 100644 --- a/plugins/Popup/src/opttree.cpp +++ b/plugins/Popup/src/opttree.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" enum { IMG_GROUP, IMG_CHECK, IMG_NOCHECK, IMG_RCHECK, IMG_NORCHECK, IMG_GRPOPEN, IMG_GRPCLOSED }; diff --git a/plugins/Popup/src/popup_gdiplus.cpp b/plugins/Popup/src/popup_gdiplus.cpp index d323654740..0f6212d7e9 100644 --- a/plugins/Popup/src/popup_gdiplus.cpp +++ b/plugins/Popup/src/popup_gdiplus.cpp @@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /* 99% of this code was adopted from clist_modern by FYR */ -#include "headers.h" +#include "stdafx.h" #undef Translate diff --git a/plugins/Popup/src/popup_thread.cpp b/plugins/Popup/src/popup_thread.cpp index a586cf3eb5..50db5f8580 100644 --- a/plugins/Popup/src/popup_thread.cpp +++ b/plugins/Popup/src/popup_thread.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #include // globals diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp index 337faf1297..a0dd244046 100644 --- a/plugins/Popup/src/popup_wnd2.cpp +++ b/plugins/Popup/src/popup_wnd2.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #include "bitmap_funcs.h" #include diff --git a/plugins/Popup/src/services.cpp b/plugins/Popup/src/services.cpp index 900a9908e6..5d994d9311 100644 --- a/plugins/Popup/src/services.cpp +++ b/plugins/Popup/src/services.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" int num_classes = 0; // for core class api support diff --git a/plugins/Popup/src/skin.cpp b/plugins/Popup/src/skin.cpp index 423fb25ea3..723b6f6a41 100644 --- a/plugins/Popup/src/skin.cpp +++ b/plugins/Popup/src/skin.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #include #include diff --git a/plugins/Popup/src/srmm_menu.cpp b/plugins/Popup/src/srmm_menu.cpp index d2792940fa..b21f96f2d6 100644 --- a/plugins/Popup/src/srmm_menu.cpp +++ b/plugins/Popup/src/srmm_menu.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" /************************************************************************************* === how does this work === diff --git a/plugins/Popup/src/stdafx.cpp b/plugins/Popup/src/stdafx.cpp deleted file mode 100644 index 7e0216078c..0000000000 --- a/plugins/Popup/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "headers.h" \ No newline at end of file diff --git a/plugins/Popup/src/stdafx.cxx b/plugins/Popup/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Popup/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/Popup/src/stdafx.h b/plugins/Popup/src/stdafx.h new file mode 100644 index 0000000000..db8bbf6bee --- /dev/null +++ b/plugins/Popup/src/stdafx.h @@ -0,0 +1,138 @@ +/* +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. +*/ + +/* +=============================================================================== +Popup plugin + +This plugin notifies you when a contact changes his/hers status with a Popup. +You can customize its look (style of popup, font, text...) and behaviour (the +position in the screen, the time to live, the action on a mouse click). + +File name: "headers.h" +This file has the purpose of becoming a precompiled header common to every +project file. + +Written by: Hrk (Luca Santarelli) +Updated by: Zazoo (Victor Pavlychko) + +Miranda NG can be found here: +http://miranda-ng.org/ + +Miranda NG plugins and tools can be found here: +http://miranda-ng.org/distr/ +*/ + +#ifndef HEADERS_H +#define HEADERS_H + +// disable security warnings about "*_s" functions +#define _CRT_SECURE_NO_DEPRECATE + +#define OEMRESOURCE + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#undef db_get_s +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#ifndef MTEXT_NOHELPERS +#define MTEXT_NOHELPERS +#endif // MTEXT_NOHELPERS +#include +#include +#include + +#include "resource.h" +#include "defs.h" +#include "version.h" +#include "config.h" +#include "common.h" +#include "def_settings.h" +#include "opttree.h" +#include "opt_gen.h" +#include "opt_skins.h" +#include "opt_contacts.h" +#include "opt_adv.h" +#include "history.h" +#include "services.h" +#include "srmm_menu.h" +#include "bitmap_funcs.h" +#include "icons.h" +#include "font.h" +#include "formula.h" +#include "skin.h" +#include "popup_thread.h" +#include "actions.h" +#include "notifications.h" +#include "opt_class.h" +#include "popup_wnd2.h" +#include "effects.h" +#include "avatars.h" +#include "avatars_simple.h" +#include "avatars_flash.h" +#include "avatars_gif.h" +#include "popup_gdiplus.h" + +#define PU_MODULCLASS "PopupCLASS" // temp DB modul for this plugin +#define MODULNAME "Popup" +#define MODULNAME_LONG "Popup Plus" +#define MODULNAME_PLU "Popups" + +INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM); + +#endif //HEADERS_H diff --git a/plugins/ProfileManager/pmanagerEx.vcxproj b/plugins/ProfileManager/pmanagerEx.vcxproj new file mode 100644 index 0000000000..e712452c2a --- /dev/null +++ b/plugins/ProfileManager/pmanagerEx.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {728CF16E-F3FF-4DEB-88C5-E9118F61ACD5} + PManagerEx + + + + + \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx.vcxproj.filters b/plugins/ProfileManager/pmanagerEx.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/ProfileManager/pmanagerEx.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx_10.vcxproj b/plugins/ProfileManager/pmanagerEx_10.vcxproj deleted file mode 100644 index 509f527d15..0000000000 --- a/plugins/ProfileManager/pmanagerEx_10.vcxproj +++ /dev/null @@ -1,198 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {728CF16E-F3FF-4DEB-88C5-E9118F61ACD5} - PManagerEx - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Full - AnySuitable - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - true - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - AnySuitable - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - true - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx_10.vcxproj.filters b/plugins/ProfileManager/pmanagerEx_10.vcxproj.filters deleted file mode 100644 index 404d6e2aba..0000000000 --- a/plugins/ProfileManager/pmanagerEx_10.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {7fcc9ab8-407a-4e78-80e0-3854d2b0cc67} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {3929b053-bc23-4d61-9c93-ddc8c84c8506} - h;hpp;hxx;hm;inl - - - {b9cfa9f3-72bc-439d-afaa-65df673624ea} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx_12.vcxproj b/plugins/ProfileManager/pmanagerEx_12.vcxproj deleted file mode 100644 index debbd0a203..0000000000 --- a/plugins/ProfileManager/pmanagerEx_12.vcxproj +++ /dev/null @@ -1,201 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {728CF16E-F3FF-4DEB-88C5-E9118F61ACD5} - PManagerEx - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level4 - EditAndContinue - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level4 - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - AnySuitable - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level4 - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - true - true - $(ProfileDir)..\..\bin12\lib - - - - - Full - AnySuitable - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level4 - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - true - true - $(ProfileDir)..\..\bin12\lib - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx_12.vcxproj.filters b/plugins/ProfileManager/pmanagerEx_12.vcxproj.filters deleted file mode 100644 index 404d6e2aba..0000000000 --- a/plugins/ProfileManager/pmanagerEx_12.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {7fcc9ab8-407a-4e78-80e0-3854d2b0cc67} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {3929b053-bc23-4d61-9c93-ddc8c84c8506} - h;hpp;hxx;hm;inl - - - {b9cfa9f3-72bc-439d-afaa-65df673624ea} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx_14.vcxproj b/plugins/ProfileManager/pmanagerEx_14.vcxproj deleted file mode 100644 index 3f0f7dca6e..0000000000 --- a/plugins/ProfileManager/pmanagerEx_14.vcxproj +++ /dev/null @@ -1,201 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {728CF16E-F3FF-4DEB-88C5-E9118F61ACD5} - PManagerEx - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level4 - EditAndContinue - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level4 - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - AnySuitable - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level4 - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - true - true - $(ProfileDir)..\..\bin14\lib - - - - - Full - AnySuitable - Size - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level4 - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - false - $(IntDir)$(TargetName).lib - true - Windows - true - true - $(ProfileDir)..\..\bin14\lib - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/ProfileManager/pmanagerEx_14.vcxproj.filters b/plugins/ProfileManager/pmanagerEx_14.vcxproj.filters deleted file mode 100644 index 404d6e2aba..0000000000 --- a/plugins/ProfileManager/pmanagerEx_14.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {7fcc9ab8-407a-4e78-80e0-3854d2b0cc67} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {3929b053-bc23-4d61-9c93-ddc8c84c8506} - h;hpp;hxx;hm;inl - - - {b9cfa9f3-72bc-439d-afaa-65df673624ea} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/ProfileManager/src/Common.h b/plugins/ProfileManager/src/Common.h deleted file mode 100644 index 322407e554..0000000000 --- a/plugins/ProfileManager/src/Common.h +++ /dev/null @@ -1,13 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include - -#include -#include -#include -#include -#include -#include - -#include "resource.h" -#include "Version.h" diff --git a/plugins/ProfileManager/src/pmanagerEx.cpp b/plugins/ProfileManager/src/pmanagerEx.cpp index 822c0e4c74..55a686a5db 100644 --- a/plugins/ProfileManager/src/pmanagerEx.cpp +++ b/plugins/ProfileManager/src/pmanagerEx.cpp @@ -7,7 +7,7 @@ modify it as they wish with no restriction. There is no warranty. */ -#include "Common.h" +#include "stdafx.h" #define SRV_LOAD_PM "Database/LoadPM" #define SRV_CHANGE_PM "Database/ChangePM" diff --git a/plugins/ProfileManager/src/stdafx.cpp b/plugins/ProfileManager/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/ProfileManager/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/ProfileManager/src/stdafx.cxx b/plugins/ProfileManager/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/ProfileManager/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/ProfileManager/src/stdafx.h b/plugins/ProfileManager/src/stdafx.h new file mode 100644 index 0000000000..d8d453ea65 --- /dev/null +++ b/plugins/ProfileManager/src/stdafx.h @@ -0,0 +1,11 @@ +#include + +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "Version.h" diff --git a/plugins/QuickContacts/quickcontacts.vcxproj b/plugins/QuickContacts/quickcontacts.vcxproj new file mode 100644 index 0000000000..93ca1733ed --- /dev/null +++ b/plugins/QuickContacts/quickcontacts.vcxproj @@ -0,0 +1,36 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {7FC00D59-03D3-4A6C-AEFE-67349C9C9E10} + QuickContacts + + + + + + + + + + NotUsing + + + \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts.vcxproj.filters b/plugins/QuickContacts/quickcontacts.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/QuickContacts/quickcontacts.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts_10.vcxproj b/plugins/QuickContacts/quickcontacts_10.vcxproj deleted file mode 100644 index 752651524b..0000000000 --- a/plugins/QuickContacts/quickcontacts_10.vcxproj +++ /dev/null @@ -1,211 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {7FC00D59-03D3-4A6C-AEFE-67349C9C9E10} - QuickContacts - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commons.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - /PDBALTPATH:%_PDB% %(AdditionalOptions) - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin10\lib - true - true - $(IntDir)$(TargetName).lib - Windows - false - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commons.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - /PDBALTPATH:%_PDB% %(AdditionalOptions) - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin10\lib - true - true - $(IntDir)$(TargetName).lib - Windows - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - MultiThreadedDebugDLL - Level3 - EditAndContinue - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - commons.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x32100000 - $(ProfileDir)..\..\bin10\lib - $(IntDir)$(TargetName).lib - Windows - false - comctl32.lib;%(AdditionalDependencies) - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - MultiThreadedDebugDLL - Level3 - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - commons.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin10\lib - $(IntDir)$(TargetName).lib - Windows - false - - - - - - - - - - - - NotUsing - - - - - Create - - - - - - - - - - \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts_10.vcxproj.filters b/plugins/QuickContacts/quickcontacts_10.vcxproj.filters deleted file mode 100644 index 65446fb157..0000000000 --- a/plugins/QuickContacts/quickcontacts_10.vcxproj.filters +++ /dev/null @@ -1,59 +0,0 @@ - - - - - {f1cce33b-6037-4a27-95bb-4372f32afee0} - h;hpp;hxx;hm;inl - - - {5b2cf3aa-50dc-41d3-81f6-ca6a49ef7ce2} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {f0bde4e2-7779-412c-a801-78220d6915cc} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {c5afa7ec-eb0e-45af-8ac8-157f4e55f107} - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts_12.vcxproj b/plugins/QuickContacts/quickcontacts_12.vcxproj deleted file mode 100644 index 6b1024e02e..0000000000 --- a/plugins/QuickContacts/quickcontacts_12.vcxproj +++ /dev/null @@ -1,216 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {7FC00D59-03D3-4A6C-AEFE-67349C9C9E10} - QuickContacts - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commons.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - /PDBALTPATH:%_PDB% %(AdditionalOptions) - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin12\lib - true - true - $(IntDir)$(TargetName).lib - Windows - false - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commons.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - /PDBALTPATH:%_PDB% %(AdditionalOptions) - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin12\lib - true - true - $(IntDir)$(TargetName).lib - Windows - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - MultiThreadedDebugDLL - Level3 - EditAndContinue - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - commons.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x32100000 - $(ProfileDir)..\..\bin12\lib - $(IntDir)$(TargetName).lib - Windows - false - comctl32.lib;%(AdditionalDependencies) - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - MultiThreadedDebugDLL - Level3 - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - commons.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin12\lib - $(IntDir)$(TargetName).lib - Windows - false - - - - - - - - - - - - NotUsing - - - - - Create - - - - - - - - - - \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts_12.vcxproj.filters b/plugins/QuickContacts/quickcontacts_12.vcxproj.filters deleted file mode 100644 index 7d4afda0c8..0000000000 --- a/plugins/QuickContacts/quickcontacts_12.vcxproj.filters +++ /dev/null @@ -1,56 +0,0 @@ - - - - - {f1cce33b-6037-4a27-95bb-4372f32afee0} - h;hpp;hxx;hm;inl - - - {5b2cf3aa-50dc-41d3-81f6-ca6a49ef7ce2} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {f0bde4e2-7779-412c-a801-78220d6915cc} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts_14.vcxproj b/plugins/QuickContacts/quickcontacts_14.vcxproj deleted file mode 100644 index 6574ff4b2e..0000000000 --- a/plugins/QuickContacts/quickcontacts_14.vcxproj +++ /dev/null @@ -1,216 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {7FC00D59-03D3-4A6C-AEFE-67349C9C9E10} - QuickContacts - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commons.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - /PDBALTPATH:%_PDB% %(AdditionalOptions) - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin14\lib - true - true - $(IntDir)$(TargetName).lib - Windows - false - - - - - Full - OnlyExplicitInline - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commons.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - /PDBALTPATH:%_PDB% %(AdditionalOptions) - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin14\lib - true - true - $(IntDir)$(TargetName).lib - Windows - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - MultiThreadedDebugDLL - Level3 - EditAndContinue - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - commons.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x32100000 - $(ProfileDir)..\..\bin14\lib - $(IntDir)$(TargetName).lib - Windows - false - comctl32.lib;%(AdditionalDependencies) - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - MultiThreadedDebugDLL - Level3 - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - commons.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - 0x32100000 - $(ProfileDir)..\..\bin14\lib - $(IntDir)$(TargetName).lib - Windows - false - - - - - - - - - - - - NotUsing - - - - - Create - - - - - - - - - - \ No newline at end of file diff --git a/plugins/QuickContacts/quickcontacts_14.vcxproj.filters b/plugins/QuickContacts/quickcontacts_14.vcxproj.filters deleted file mode 100644 index 7d4afda0c8..0000000000 --- a/plugins/QuickContacts/quickcontacts_14.vcxproj.filters +++ /dev/null @@ -1,56 +0,0 @@ - - - - - {f1cce33b-6037-4a27-95bb-4372f32afee0} - h;hpp;hxx;hm;inl - - - {5b2cf3aa-50dc-41d3-81f6-ca6a49ef7ce2} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - {f0bde4e2-7779-412c-a801-78220d6915cc} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/QuickContacts/src/commons.h b/plugins/QuickContacts/src/commons.h deleted file mode 100644 index e308aab019..0000000000 --- a/plugins/QuickContacts/src/commons.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -Copyright (C) 2006 Ricardo Pescuma Domenecci -Based on work (C) Heiko Schillinger - -This is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this file; see the file license.txt. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ - - -#ifndef __COMMONS_H__ -# define __COMMONS_H__ - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "../utils/mir_options.h" - -#include "resource.h" -#include "options.h" -#include "Version.h" - -#define MODULE_NAME "QuickContacts" - - -// Global Variables -extern HINSTANCE hInst; - -// Copied from "../modernb/clc.h" /////////////////////////////////////////////////////////////////// - -//add a new hotkey so it has a default and can be changed in the options dialog -//wParam=0 -//lParam=(LPARAM)(SKINHOTKEYDESC*)ssd; -//returns 0 on success, nonzero otherwise - -typedef struct { - int cbSize; - const char *pszName; //name to refer to sound when playing and in db - const char *pszDescription; //description for options dialog - const char *pszSection; //section name used to group sounds (NULL is acceptable) - const char *pszService; //Service to call when HotKey Pressed - - int DefHotKey; //default hot key for action -} SKINHOTKEYDESCEX; - -#define MS_SKIN_ADDHOTKEY "Skin/HotKeys/AddNew" -#define MS_SKIN_PLAYHOTKEY "Skin/HotKeys/Run" - - - -#endif // __COMMONS_H__ diff --git a/plugins/QuickContacts/src/options.cpp b/plugins/QuickContacts/src/options.cpp index 465d9e4682..519382132a 100644 --- a/plugins/QuickContacts/src/options.cpp +++ b/plugins/QuickContacts/src/options.cpp @@ -18,7 +18,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "commons.h" +#include "stdafx.h" // Prototypes ///////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index 6c150cd6df..ecb7b164d8 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -18,7 +18,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "commons.h" +#include "stdafx.h" // Prototypes /////////////////////////////////////////////////////////////////////////// diff --git a/plugins/QuickContacts/src/stdafx.cpp b/plugins/QuickContacts/src/stdafx.cpp deleted file mode 100644 index a1f3bfd522..0000000000 --- a/plugins/QuickContacts/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "commons.h" \ No newline at end of file diff --git a/plugins/QuickContacts/src/stdafx.cxx b/plugins/QuickContacts/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/QuickContacts/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/QuickContacts/src/stdafx.h b/plugins/QuickContacts/src/stdafx.h new file mode 100644 index 0000000000..e308aab019 --- /dev/null +++ b/plugins/QuickContacts/src/stdafx.h @@ -0,0 +1,82 @@ +/* +Copyright (C) 2006 Ricardo Pescuma Domenecci +Based on work (C) Heiko Schillinger + +This is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This 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 +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with this file; see the file license.txt. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. +*/ + + +#ifndef __COMMONS_H__ +# define __COMMONS_H__ + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "../utils/mir_options.h" + +#include "resource.h" +#include "options.h" +#include "Version.h" + +#define MODULE_NAME "QuickContacts" + + +// Global Variables +extern HINSTANCE hInst; + +// Copied from "../modernb/clc.h" /////////////////////////////////////////////////////////////////// + +//add a new hotkey so it has a default and can be changed in the options dialog +//wParam=0 +//lParam=(LPARAM)(SKINHOTKEYDESC*)ssd; +//returns 0 on success, nonzero otherwise + +typedef struct { + int cbSize; + const char *pszName; //name to refer to sound when playing and in db + const char *pszDescription; //description for options dialog + const char *pszSection; //section name used to group sounds (NULL is acceptable) + const char *pszService; //Service to call when HotKey Pressed + + int DefHotKey; //default hot key for action +} SKINHOTKEYDESCEX; + +#define MS_SKIN_ADDHOTKEY "Skin/HotKeys/AddNew" +#define MS_SKIN_PLAYHOTKEY "Skin/HotKeys/Run" + + + +#endif // __COMMONS_H__ diff --git a/plugins/QuickMessages/quickmessages.vcxproj b/plugins/QuickMessages/quickmessages.vcxproj new file mode 100644 index 0000000000..93f259c6c9 --- /dev/null +++ b/plugins/QuickMessages/quickmessages.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + QuickMessages + {DD76B998-ED0D-4BFD-9660-3ADC3A334872} + + + + + \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages.vcxproj.filters b/plugins/QuickMessages/quickmessages.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/QuickMessages/quickmessages.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages_10.vcxproj b/plugins/QuickMessages/quickmessages_10.vcxproj deleted file mode 100644 index 161a4b42c5..0000000000 --- a/plugins/QuickMessages/quickmessages_10.vcxproj +++ /dev/null @@ -1,202 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickMessages - {DD76B998-ED0D-4BFD-9660-3ADC3A334872} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - true - true - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - true - true - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - MultiThreadedDebugDLL - Level3 - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - MultiThreadedDebugDLL - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin10\lib - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages_10.vcxproj.filters b/plugins/QuickMessages/quickmessages_10.vcxproj.filters deleted file mode 100644 index 592c9a832e..0000000000 --- a/plugins/QuickMessages/quickmessages_10.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {94a635b5-fd0a-4544-b078-f13367674b1c} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {95fd3b49-8cb2-48e4-ba1e-cc1b0f8475ad} - h;hpp;hxx;hm;inl - - - {03c8e77a-be52-4dc4-9578-afb267089bd3} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages_12.vcxproj b/plugins/QuickMessages/quickmessages_12.vcxproj deleted file mode 100644 index 4ac0f9c737..0000000000 --- a/plugins/QuickMessages/quickmessages_12.vcxproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickMessages - {DD76B998-ED0D-4BFD-9660-3ADC3A334872} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - true - true - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - true - true - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - MultiThreadedDebugDLL - Level3 - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - MultiThreadedDebugDLL - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin12\lib - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages_12.vcxproj.filters b/plugins/QuickMessages/quickmessages_12.vcxproj.filters deleted file mode 100644 index 592c9a832e..0000000000 --- a/plugins/QuickMessages/quickmessages_12.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {94a635b5-fd0a-4544-b078-f13367674b1c} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {95fd3b49-8cb2-48e4-ba1e-cc1b0f8475ad} - h;hpp;hxx;hm;inl - - - {03c8e77a-be52-4dc4-9578-afb267089bd3} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages_14.vcxproj b/plugins/QuickMessages/quickmessages_14.vcxproj deleted file mode 100644 index 6ec5100903..0000000000 --- a/plugins/QuickMessages/quickmessages_14.vcxproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickMessages - {DD76B998-ED0D-4BFD-9660-3ADC3A334872} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - true - true - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - true - true - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - MultiThreadedDebugDLL - Level3 - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - MultiThreadedDebugDLL - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - quickmessages.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin14\lib - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/QuickMessages/quickmessages_14.vcxproj.filters b/plugins/QuickMessages/quickmessages_14.vcxproj.filters deleted file mode 100644 index 592c9a832e..0000000000 --- a/plugins/QuickMessages/quickmessages_14.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {94a635b5-fd0a-4544-b078-f13367674b1c} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {95fd3b49-8cb2-48e4-ba1e-cc1b0f8475ad} - h;hpp;hxx;hm;inl - - - {03c8e77a-be52-4dc4-9578-afb267089bd3} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/QuickMessages/src/Utils.cpp b/plugins/QuickMessages/src/Utils.cpp index 17ce160dac..97cba3ee70 100644 --- a/plugins/QuickMessages/src/Utils.cpp +++ b/plugins/QuickMessages/src/Utils.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "quickmessages.h" +#include "stdafx.h" ListData* ButtonsList[100]; diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp index c4fabc73b8..4939789cc0 100644 --- a/plugins/QuickMessages/src/main.cpp +++ b/plugins/QuickMessages/src/main.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "quickmessages.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE hinstance; diff --git a/plugins/QuickMessages/src/options.cpp b/plugins/QuickMessages/src/options.cpp index ce1a2995c9..4ed6acf0c1 100644 --- a/plugins/QuickMessages/src/options.cpp +++ b/plugins/QuickMessages/src/options.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "quickmessages.h" +#include "stdafx.h" int g_iOPButtonsCount; BOOL bNeedRestart = FALSE; diff --git a/plugins/QuickMessages/src/quickmessages.h b/plugins/QuickMessages/src/quickmessages.h deleted file mode 100644 index 044d0137c7..0000000000 --- a/plugins/QuickMessages/src/quickmessages.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -Quick Messages plugin for Miranda IM - -Copyright (C) 2008 Danil Mozhar - -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 3 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, see . -*/ - -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "Version.h" -#include "Utils.h" - -#define PLGNAME "QuickMessages" - -extern HINSTANCE hinstance; -extern HANDLE hIcolib; -extern ListData* ButtonsList[100]; -extern SortedList* QuickList; -extern BOOL g_bRClickAuto; -extern BOOL g_bLClickAuto; -extern BOOL g_bQuickMenu; -extern int g_iButtonsCount; - -int OptionsInit(WPARAM,LPARAM); - -#define IDC_MESSAGE 1002 -#define IDC_CHATMESSAGE 1009 diff --git a/plugins/QuickMessages/src/stdafx.cpp b/plugins/QuickMessages/src/stdafx.cpp deleted file mode 100644 index dc40b1b7df..0000000000 --- a/plugins/QuickMessages/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "quickmessages.h" \ No newline at end of file diff --git a/plugins/QuickMessages/src/stdafx.cxx b/plugins/QuickMessages/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/QuickMessages/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/QuickMessages/src/stdafx.h b/plugins/QuickMessages/src/stdafx.h new file mode 100644 index 0000000000..044d0137c7 --- /dev/null +++ b/plugins/QuickMessages/src/stdafx.h @@ -0,0 +1,57 @@ +/* +Quick Messages plugin for Miranda IM + +Copyright (C) 2008 Danil Mozhar + +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 3 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, see . +*/ + +#define _CRT_SECURE_NO_DEPRECATE + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "Version.h" +#include "Utils.h" + +#define PLGNAME "QuickMessages" + +extern HINSTANCE hinstance; +extern HANDLE hIcolib; +extern ListData* ButtonsList[100]; +extern SortedList* QuickList; +extern BOOL g_bRClickAuto; +extern BOOL g_bLClickAuto; +extern BOOL g_bQuickMenu; +extern int g_iButtonsCount; + +int OptionsInit(WPARAM,LPARAM); + +#define IDC_MESSAGE 1002 +#define IDC_CHATMESSAGE 1009 diff --git a/plugins/QuickReplies/quickreplies.vcxproj b/plugins/QuickReplies/quickreplies.vcxproj new file mode 100644 index 0000000000..6c81616bc0 --- /dev/null +++ b/plugins/QuickReplies/quickreplies.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + QuickReplies + {27CA5499-B3F2-4FB6-8414-651819B0B96C} + + + + + \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies.vcxproj.filters b/plugins/QuickReplies/quickreplies.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/QuickReplies/quickreplies.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_10.vcxproj b/plugins/QuickReplies/quickreplies_10.vcxproj deleted file mode 100644 index a91b30c319..0000000000 --- a/plugins/QuickReplies/quickreplies_10.vcxproj +++ /dev/null @@ -1,205 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickReplies - {27CA5499-B3F2-4FB6-8414-651819B0B96C} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - EditAndContinue - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_10.vcxproj.filters b/plugins/QuickReplies/quickreplies_10.vcxproj.filters deleted file mode 100644 index 9a94be2516..0000000000 --- a/plugins/QuickReplies/quickreplies_10.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {b59c4868-4031-48be-9ce9-7b3effd29e79} - - - {2307a1e4-a748-425a-a1c0-507e67a7c56c} - - - {932f4aef-ade7-474a-b8b5-fb53c8195ca0} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_12.vcxproj b/plugins/QuickReplies/quickreplies_12.vcxproj deleted file mode 100644 index f8cc1a2888..0000000000 --- a/plugins/QuickReplies/quickreplies_12.vcxproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickReplies - {27CA5499-B3F2-4FB6-8414-651819B0B96C} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - EditAndContinue - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_12.vcxproj.filters b/plugins/QuickReplies/quickreplies_12.vcxproj.filters deleted file mode 100644 index 9a94be2516..0000000000 --- a/plugins/QuickReplies/quickreplies_12.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {b59c4868-4031-48be-9ce9-7b3effd29e79} - - - {2307a1e4-a748-425a-a1c0-507e67a7c56c} - - - {932f4aef-ade7-474a-b8b5-fb53c8195ca0} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_14.vcxproj b/plugins/QuickReplies/quickreplies_14.vcxproj deleted file mode 100644 index 21f2839f96..0000000000 --- a/plugins/QuickReplies/quickreplies_14.vcxproj +++ /dev/null @@ -1,208 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - QuickReplies - {27CA5499-B3F2-4FB6-8414-651819B0B96C} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - EditAndContinue - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - Use - common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - EnableFastChecks - MultiThreadedDebugDLL - true - Fast - Level3 - Use - common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/QuickReplies/quickreplies_14.vcxproj.filters b/plugins/QuickReplies/quickreplies_14.vcxproj.filters deleted file mode 100644 index 9a94be2516..0000000000 --- a/plugins/QuickReplies/quickreplies_14.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {b59c4868-4031-48be-9ce9-7b3effd29e79} - - - {2307a1e4-a748-425a-a1c0-507e67a7c56c} - - - {932f4aef-ade7-474a-b8b5-fb53c8195ca0} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/QuickReplies/src/common.h b/plugins/QuickReplies/src/common.h deleted file mode 100644 index 6ea75ae0c6..0000000000 --- a/plugins/QuickReplies/src/common.h +++ /dev/null @@ -1,62 +0,0 @@ -/* -Copyright (C) 2010 Unsane - -This is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This 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 -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this file; see the file license.txt. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ - - -#ifndef __QUICK_REPLY_H__ -#define __QUICK_REPLY_H__ - -#include - -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "version.h" -#include "resource.h" - -#define MODULE "QuickReplies" -#define IDC_MESSAGE 1002 -#define IDC_CHATMESSAGE 1009 - -#define MS_QUICKREPLIES_SERVICE MODULE"/Service" - -extern HINSTANCE hInstance; - -extern BYTE iNumber; - -extern HANDLE hOnOptInitialized; -extern HANDLE hOnButtonPressed; -extern HANDLE hQuickRepliesService; -extern HANDLE hOnModulesLoaded; -extern HANDLE hOnPreShutdown; - -INT_PTR QuickRepliesService(WPARAM wParam, LPARAM lParam); - -int OnModulesLoaded(WPARAM wParam, LPARAM lParam); -int OnOptInitialized(WPARAM wParam, LPARAM lParam); -int OnButtonPressed(WPARAM wParam, LPARAM lParam); -int OnPreShutdown(WPARAM wParam, LPARAM lParam); - -#endif //__QUICK_REPLY_H__ \ No newline at end of file diff --git a/plugins/QuickReplies/src/events.cpp b/plugins/QuickReplies/src/events.cpp index 8b45833498..224f8cb621 100644 --- a/plugins/QuickReplies/src/events.cpp +++ b/plugins/QuickReplies/src/events.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" using namespace std; diff --git a/plugins/QuickReplies/src/options.cpp b/plugins/QuickReplies/src/options.cpp index 3b773487fc..9a3d9067cc 100644 --- a/plugins/QuickReplies/src/options.cpp +++ b/plugins/QuickReplies/src/options.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" static LRESULT CALLBACK MessageEditSubclassProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam) { diff --git a/plugins/QuickReplies/src/quickreplies.cpp b/plugins/QuickReplies/src/quickreplies.cpp index 063ef0c8d3..7b77d8b8cb 100644 --- a/plugins/QuickReplies/src/quickreplies.cpp +++ b/plugins/QuickReplies/src/quickreplies.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "common.h" +#include "stdafx.h" HINSTANCE hInstance = NULL; int hLangpack; diff --git a/plugins/QuickReplies/src/stdafx.cpp b/plugins/QuickReplies/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/QuickReplies/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/QuickReplies/src/stdafx.cxx b/plugins/QuickReplies/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/QuickReplies/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/QuickReplies/src/stdafx.h b/plugins/QuickReplies/src/stdafx.h new file mode 100644 index 0000000000..6ea75ae0c6 --- /dev/null +++ b/plugins/QuickReplies/src/stdafx.h @@ -0,0 +1,62 @@ +/* +Copyright (C) 2010 Unsane + +This is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This 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 +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with this file; see the file license.txt. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. +*/ + + +#ifndef __QUICK_REPLY_H__ +#define __QUICK_REPLY_H__ + +#include + +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "version.h" +#include "resource.h" + +#define MODULE "QuickReplies" +#define IDC_MESSAGE 1002 +#define IDC_CHATMESSAGE 1009 + +#define MS_QUICKREPLIES_SERVICE MODULE"/Service" + +extern HINSTANCE hInstance; + +extern BYTE iNumber; + +extern HANDLE hOnOptInitialized; +extern HANDLE hOnButtonPressed; +extern HANDLE hQuickRepliesService; +extern HANDLE hOnModulesLoaded; +extern HANDLE hOnPreShutdown; + +INT_PTR QuickRepliesService(WPARAM wParam, LPARAM lParam); + +int OnModulesLoaded(WPARAM wParam, LPARAM lParam); +int OnOptInitialized(WPARAM wParam, LPARAM lParam); +int OnButtonPressed(WPARAM wParam, LPARAM lParam); +int OnPreShutdown(WPARAM wParam, LPARAM lParam); + +#endif //__QUICK_REPLY_H__ \ No newline at end of file diff --git a/plugins/Rate/rate.vcxproj b/plugins/Rate/rate.vcxproj new file mode 100644 index 0000000000..9a13e2809c --- /dev/null +++ b/plugins/Rate/rate.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {C09A0E86-E7C3-4229-B817-C86A0AE8ACE5} + Rate + + + + + \ No newline at end of file diff --git a/plugins/Rate/rate.vcxproj.filters b/plugins/Rate/rate.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/Rate/rate.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/Rate/rate_10.vcxproj b/plugins/Rate/rate_10.vcxproj deleted file mode 100644 index 8cd2a46b19..0000000000 --- a/plugins/Rate/rate_10.vcxproj +++ /dev/null @@ -1,196 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {C09A0E86-E7C3-4229-B817-C86A0AE8ACE5} - Rate - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - true - Windows - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - true - Windows - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Size - false - Use - commonheaders.h - - - true - Windows - true - true - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Size - false - Use - commonheaders.h - - - true - Windows - true - true - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Rate/rate_10.vcxproj.filters b/plugins/Rate/rate_10.vcxproj.filters deleted file mode 100644 index 74c3d425ce..0000000000 --- a/plugins/Rate/rate_10.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Rate/rate_12.vcxproj b/plugins/Rate/rate_12.vcxproj deleted file mode 100644 index a4fc307f34..0000000000 --- a/plugins/Rate/rate_12.vcxproj +++ /dev/null @@ -1,202 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {C09A0E86-E7C3-4229-B817-C86A0AE8ACE5} - Rate - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - true - Windows - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - true - Windows - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Size - false - Use - commonheaders.h - - - true - Windows - true - true - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Size - false - Use - commonheaders.h - - - true - Windows - true - true - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - Create - Create - Create - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Rate/rate_12.vcxproj.filters b/plugins/Rate/rate_12.vcxproj.filters deleted file mode 100644 index 74c3d425ce..0000000000 --- a/plugins/Rate/rate_12.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Rate/rate_14.vcxproj b/plugins/Rate/rate_14.vcxproj deleted file mode 100644 index 8eb657b688..0000000000 --- a/plugins/Rate/rate_14.vcxproj +++ /dev/null @@ -1,202 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {C09A0E86-E7C3-4229-B817-C86A0AE8ACE5} - Rate - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - true - Windows - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - false - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - true - Windows - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - ..\..\include\msapi - _DEBUG;%(PreprocessorDefinitions) - - - - - Full - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Size - false - Use - commonheaders.h - - - true - Windows - true - true - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - Full - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Size - false - Use - commonheaders.h - - - true - Windows - true - true - 0x22620000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - ..\..\include\msapi - NDEBUG;%(PreprocessorDefinitions) - - - - - - Create - Create - Create - Create - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Rate/rate_14.vcxproj.filters b/plugins/Rate/rate_14.vcxproj.filters deleted file mode 100644 index 74c3d425ce..0000000000 --- a/plugins/Rate/rate_14.vcxproj.filters +++ /dev/null @@ -1,44 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Rate/src/commonheaders.h b/plugins/Rate/src/commonheaders.h deleted file mode 100644 index 8fe6e4011b..0000000000 --- a/plugins/Rate/src/commonheaders.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - Authorization State plugin for Miranda-IM (www.miranda-im.org) - (c) 2006 by Thief - Icons by Faith Healer - - 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 -*/ - -#ifndef COMMHEADERS_H -#define COMMHEADERS_H - -#define _CRT_SECURE_NO_WARNINGS - -#include - -#include -#include -#include -#include -#include - -#include "resource.h" -#include "Version.h" - -#define MODULENAME "Rate" - -#endif //COMMHEADERS_H diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp index 7677f10aa5..e8772dbcc0 100644 --- a/plugins/Rate/src/main.cpp +++ b/plugins/Rate/src/main.cpp @@ -33,7 +33,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "commonheaders.h" +#include "stdafx.h" HINSTANCE g_hInst; diff --git a/plugins/Rate/src/stdafx.cpp b/plugins/Rate/src/stdafx.cpp deleted file mode 100644 index 048b14e9d2..0000000000 --- a/plugins/Rate/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "commonheaders.h" \ No newline at end of file diff --git a/plugins/Rate/src/stdafx.cxx b/plugins/Rate/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Rate/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/Rate/src/stdafx.h b/plugins/Rate/src/stdafx.h new file mode 100644 index 0000000000..d97f07e665 --- /dev/null +++ b/plugins/Rate/src/stdafx.h @@ -0,0 +1,37 @@ +/* + Authorization State plugin for Miranda-IM (www.miranda-im.org) + (c) 2006 by Thief + Icons by Faith Healer + + 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 +*/ + +#ifndef COMMHEADERS_H +#define COMMHEADERS_H + +#include + +#include +#include +#include +#include +#include + +#include "resource.h" +#include "Version.h" + +#define MODULENAME "Rate" + +#endif //COMMHEADERS_H diff --git a/plugins/RecentContacts/RecentContacts.vcxproj b/plugins/RecentContacts/RecentContacts.vcxproj new file mode 100644 index 0000000000..74d8195d1d --- /dev/null +++ b/plugins/RecentContacts/RecentContacts.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {07137F45-8B5F-4561-BEC8-B883E9123785} + RecentContacts + + + + + \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts.vcxproj.filters b/plugins/RecentContacts/RecentContacts.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/RecentContacts/RecentContacts.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts_10.vcxproj b/plugins/RecentContacts/RecentContacts_10.vcxproj deleted file mode 100644 index 406435fc0e..0000000000 --- a/plugins/RecentContacts/RecentContacts_10.vcxproj +++ /dev/null @@ -1,195 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {07137F45-8B5F-4561-BEC8-B883E9123785} - RecentContacts - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - RecentContacts.h - - - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - RecentContacts.h - - - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - RecentContacts.h - - - true - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin10\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - RecentContacts.h - - - true - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin10\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - - Create - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts_10.vcxproj.filters b/plugins/RecentContacts/RecentContacts_10.vcxproj.filters deleted file mode 100644 index 5784120421..0000000000 --- a/plugins/RecentContacts/RecentContacts_10.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {a8e5f8af-fab4-45bb-be3e-7dcb02fd0b6f} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {2359b09a-bdf6-467a-996f-8c02cd5d8438} - h;hpp;hxx;hm;inl - - - {d5d389fb-98d8-4510-932a-9154b08ddf7a} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts_12.vcxproj b/plugins/RecentContacts/RecentContacts_12.vcxproj deleted file mode 100644 index bcaa92bffe..0000000000 --- a/plugins/RecentContacts/RecentContacts_12.vcxproj +++ /dev/null @@ -1,198 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {07137F45-8B5F-4561-BEC8-B883E9123785} - RecentContacts - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - RecentContacts.h - - - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin12\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - RecentContacts.h - - - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin12\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - RecentContacts.h - - - true - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin12\lib - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - RecentContacts.h - - - true - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin12\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - - Create - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts_12.vcxproj.filters b/plugins/RecentContacts/RecentContacts_12.vcxproj.filters deleted file mode 100644 index 5784120421..0000000000 --- a/plugins/RecentContacts/RecentContacts_12.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {a8e5f8af-fab4-45bb-be3e-7dcb02fd0b6f} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {2359b09a-bdf6-467a-996f-8c02cd5d8438} - h;hpp;hxx;hm;inl - - - {d5d389fb-98d8-4510-932a-9154b08ddf7a} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts_14.vcxproj b/plugins/RecentContacts/RecentContacts_14.vcxproj deleted file mode 100644 index d7db63f3b3..0000000000 --- a/plugins/RecentContacts/RecentContacts_14.vcxproj +++ /dev/null @@ -1,198 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {07137F45-8B5F-4561-BEC8-B883E9123785} - RecentContacts - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - RecentContacts.h - - - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin14\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - RecentContacts.h - - - $(IntDir)$(TargetName).lib - true - true - true - Windows - false - $(ProfileDir)..\..\bin14\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - RecentContacts.h - - - true - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin14\lib - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Use - Level3 - RecentContacts.h - - - true - $(IntDir)$(TargetName).lib - Windows - false - $(ProfileDir)..\..\bin14\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - - Create - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/RecentContacts/RecentContacts_14.vcxproj.filters b/plugins/RecentContacts/RecentContacts_14.vcxproj.filters deleted file mode 100644 index 5784120421..0000000000 --- a/plugins/RecentContacts/RecentContacts_14.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {a8e5f8af-fab4-45bb-be3e-7dcb02fd0b6f} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {2359b09a-bdf6-467a-996f-8c02cd5d8438} - h;hpp;hxx;hm;inl - - - {d5d389fb-98d8-4510-932a-9154b08ddf7a} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index 97f0c547b4..f197eca6e6 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -1,5 +1,5 @@ -#include "RecentContacts.h" +#include "stdafx.h" extern int onOptInitialise(WPARAM wParam, LPARAM lParam); diff --git a/plugins/RecentContacts/src/RecentContacts.h b/plugins/RecentContacts/src/RecentContacts.h deleted file mode 100644 index 43a21e8227..0000000000 --- a/plugins/RecentContacts/src/RecentContacts.h +++ /dev/null @@ -1,85 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_NONSTDC_NO_DEPRECATE - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "Version.h" - -#define V_RECENTCONTACTS_TOGGLE_IGNORE "RecentContacts/ToggleIgnore" - -using namespace std; - -void wSetData(char **Data, const char *Value); -void wfree(char **Data); - -static char msLastUC_ShowListName[] = LPGEN("Recent Contacts"); - -static char dbLastUC_ModuleName[] = "RecentContacts"; -static char dbLastUC_LastUsedTimeLo[] = "LastUsedTimeLo"; -static char dbLastUC_LastUsedTimeHi[] = "LastUsedTimeHi"; -static char dbLastUC_WindowPosPrefix[] = "Window"; -static char dbLastUC_DateTimeFormat[] = "DateTimeFormat"; -static char dbLastUC_DateTimeFormatDefault[] = "(%Y-%m-%d %H:%M) "; -static char dbLastUC_MaxShownContacts[] = "MaxShownContacts"; -static char dbLastUC_IgnoreContact[] = "Ignore"; -static char dbLastUC_HideOfflineContacts[] = "HideOfflineContacts"; -static char dbLastUC_WindowAutosize[] = "WindowAutoSize"; - -static char msLastUC_ShowList[] = "RecentContacts/ShowList"; -static char msLastUC_IgnoreOff[] = "RecentContacts/SetIgnoreOff"; -static char msLastUC_IgnoreOn[] = "RecentContacts/SetIgnoreOn"; - -///////////////////////////////////////////////////////////////////////////////////////// - -typedef struct _LastUCOptions -{ - int MaxShownContacts; - int HideOffline; - int WindowAutoSize; - string DateTimeFormat; -} - LastUCOptions; - -extern LastUCOptions LastUCOpt; -//#include "m_tabsrmm.h" -// custom tabSRMM events -#define tabMSG_WINDOW_EVT_CUSTOM_BEFORESEND 1 -struct TABSRMM_SessionInfo { - unsigned int cbSize; - unsigned int evtCode; - HWND hwnd; // handle of the message dialog (tab) - HWND hwndContainer; // handle of the parent container - HWND hwndInput; // handle of the input area (rich edit) - /*struct MessageWindowData*/ void *dat; // the session info - /*struct ContainerWindowData*/ void *pContainer; -}; - - -typedef std::multimap <__time64_t, MCONTACT, std::greater<__time64_t> > cmultimap; -typedef std::pair <__time64_t, MCONTACT> cpair; - -typedef struct LASTUC_DLG_DATA -{ - cmultimap *Contacts; - SIZE WindowMinSize; - RECT ListUCRect; - MCONTACT hContact; -} LASTUC_DLG_DATA; \ No newline at end of file diff --git a/plugins/RecentContacts/src/options.cpp b/plugins/RecentContacts/src/options.cpp index 679e183168..d8f733a3fa 100644 --- a/plugins/RecentContacts/src/options.cpp +++ b/plugins/RecentContacts/src/options.cpp @@ -1,5 +1,4 @@ -#include "RecentContacts.h" -#include "resource.h" +#include "stdafx.h" extern HINSTANCE hInst; void LoadDBSettings(); diff --git a/plugins/RecentContacts/src/stdafx.cpp b/plugins/RecentContacts/src/stdafx.cpp deleted file mode 100644 index 196b0adef0..0000000000 --- a/plugins/RecentContacts/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "RecentContacts.h" \ No newline at end of file diff --git a/plugins/RecentContacts/src/stdafx.cxx b/plugins/RecentContacts/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/RecentContacts/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/RecentContacts/src/stdafx.h b/plugins/RecentContacts/src/stdafx.h new file mode 100644 index 0000000000..06679f407e --- /dev/null +++ b/plugins/RecentContacts/src/stdafx.h @@ -0,0 +1,84 @@ +#define _CRT_NONSTDC_NO_DEPRECATE + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "Version.h" + +#define V_RECENTCONTACTS_TOGGLE_IGNORE "RecentContacts/ToggleIgnore" + +using namespace std; + +void wSetData(char **Data, const char *Value); +void wfree(char **Data); + +static char msLastUC_ShowListName[] = LPGEN("Recent Contacts"); + +static char dbLastUC_ModuleName[] = "RecentContacts"; +static char dbLastUC_LastUsedTimeLo[] = "LastUsedTimeLo"; +static char dbLastUC_LastUsedTimeHi[] = "LastUsedTimeHi"; +static char dbLastUC_WindowPosPrefix[] = "Window"; +static char dbLastUC_DateTimeFormat[] = "DateTimeFormat"; +static char dbLastUC_DateTimeFormatDefault[] = "(%Y-%m-%d %H:%M) "; +static char dbLastUC_MaxShownContacts[] = "MaxShownContacts"; +static char dbLastUC_IgnoreContact[] = "Ignore"; +static char dbLastUC_HideOfflineContacts[] = "HideOfflineContacts"; +static char dbLastUC_WindowAutosize[] = "WindowAutoSize"; + +static char msLastUC_ShowList[] = "RecentContacts/ShowList"; +static char msLastUC_IgnoreOff[] = "RecentContacts/SetIgnoreOff"; +static char msLastUC_IgnoreOn[] = "RecentContacts/SetIgnoreOn"; + +///////////////////////////////////////////////////////////////////////////////////////// + +typedef struct _LastUCOptions +{ + int MaxShownContacts; + int HideOffline; + int WindowAutoSize; + string DateTimeFormat; +} + LastUCOptions; + +extern LastUCOptions LastUCOpt; +//#include "m_tabsrmm.h" +// custom tabSRMM events +#define tabMSG_WINDOW_EVT_CUSTOM_BEFORESEND 1 +struct TABSRMM_SessionInfo { + unsigned int cbSize; + unsigned int evtCode; + HWND hwnd; // handle of the message dialog (tab) + HWND hwndContainer; // handle of the parent container + HWND hwndInput; // handle of the input area (rich edit) + /*struct MessageWindowData*/ void *dat; // the session info + /*struct ContainerWindowData*/ void *pContainer; +}; + + +typedef std::multimap <__time64_t, MCONTACT, std::greater<__time64_t> > cmultimap; +typedef std::pair <__time64_t, MCONTACT> cpair; + +typedef struct LASTUC_DLG_DATA +{ + cmultimap *Contacts; + SIZE WindowMinSize; + RECT ListUCRect; + MCONTACT hContact; +} LASTUC_DLG_DATA; \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps.vcxproj b/plugins/RemovePersonalSettings/rps.vcxproj new file mode 100644 index 0000000000..494540fe0d --- /dev/null +++ b/plugins/RemovePersonalSettings/rps.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {0D3EF7C4-B99C-E87E-D0D8-C6E003B7EB65} + RemovePersonalSettings + + + + + \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps.vcxproj.filters b/plugins/RemovePersonalSettings/rps.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/RemovePersonalSettings/rps.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps_10.vcxproj b/plugins/RemovePersonalSettings/rps_10.vcxproj deleted file mode 100644 index 6daf400276..0000000000 --- a/plugins/RemovePersonalSettings/rps_10.vcxproj +++ /dev/null @@ -1,267 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {0D3EF7C4-B99C-E87E-D0D8-C6E003B7EB65} - RemovePersonalSettings - - - - DynamicLibrary - false - Unicode - true - - - DynamicLibrary - false - Unicode - true - - - DynamicLibrary - false - Unicode - - - DynamicLibrary - false - Unicode - - - - - - - - - - - - - - - - - - - - - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - false - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - false - - - - MultiThreadedDebugDLL - Default - false - Disabled - true - Level3 - true - EditAndContinue - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\rps.tlb - true - Win32 - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - false - - - - - MultiThreadedDebugDLL - Default - false - Disabled - true - Level3 - ProgramDatabase - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\rps.tlb - true - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - false - - - - - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\rps.tlb - true - Win32 - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - true - true - true - false - - - - - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\rps.tlb - true - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - true - true - true - false - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps_10.vcxproj.filters b/plugins/RemovePersonalSettings/rps_10.vcxproj.filters deleted file mode 100644 index da4344bb1a..0000000000 --- a/plugins/RemovePersonalSettings/rps_10.vcxproj.filters +++ /dev/null @@ -1,51 +0,0 @@ - - - - - {debf756a-9ff8-4610-b321-7d997392b427} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {a6f79057-283d-4403-9d4d-871cee8a7b5f} - - - {74725d2b-50dc-460f-8a63-a35e47956ce3} - h;hpp;hxx;hm;inl - - - {0bc87fb5-4fcc-420a-a2b4-512b340e65d3} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Docs - - - Docs - - - Docs - - - - - Source Files - - - - - Docs - - - - - Resource Files - - - - - Source Files - - - \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps_12.vcxproj b/plugins/RemovePersonalSettings/rps_12.vcxproj deleted file mode 100644 index f89cd1005e..0000000000 --- a/plugins/RemovePersonalSettings/rps_12.vcxproj +++ /dev/null @@ -1,272 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {0D3EF7C4-B99C-E87E-D0D8-C6E003B7EB65} - RemovePersonalSettings - - - - DynamicLibrary - false - Unicode - true - v120_xp - - - DynamicLibrary - false - Unicode - true - v120_xp - - - DynamicLibrary - false - Unicode - v120_xp - - - DynamicLibrary - false - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - - - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - false - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - false - - - - MultiThreadedDebugDLL - Default - false - Disabled - true - Level3 - true - EditAndContinue - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\rps.tlb - true - Win32 - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - false - false - - - - - MultiThreadedDebugDLL - Default - false - Disabled - true - Level3 - ProgramDatabase - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\rps.tlb - true - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - false - - - - - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\rps.tlb - true - Win32 - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - true - true - true - false - - - - - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\rps.tlb - true - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - true - true - true - false - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps_12.vcxproj.filters b/plugins/RemovePersonalSettings/rps_12.vcxproj.filters deleted file mode 100644 index da4344bb1a..0000000000 --- a/plugins/RemovePersonalSettings/rps_12.vcxproj.filters +++ /dev/null @@ -1,51 +0,0 @@ - - - - - {debf756a-9ff8-4610-b321-7d997392b427} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {a6f79057-283d-4403-9d4d-871cee8a7b5f} - - - {74725d2b-50dc-460f-8a63-a35e47956ce3} - h;hpp;hxx;hm;inl - - - {0bc87fb5-4fcc-420a-a2b4-512b340e65d3} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Docs - - - Docs - - - Docs - - - - - Source Files - - - - - Docs - - - - - Resource Files - - - - - Source Files - - - \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps_14.vcxproj b/plugins/RemovePersonalSettings/rps_14.vcxproj deleted file mode 100644 index 4c2a42e1af..0000000000 --- a/plugins/RemovePersonalSettings/rps_14.vcxproj +++ /dev/null @@ -1,272 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {0D3EF7C4-B99C-E87E-D0D8-C6E003B7EB65} - RemovePersonalSettings - - - - DynamicLibrary - false - Unicode - true - v140_xp - - - DynamicLibrary - false - Unicode - true - v140_xp - - - DynamicLibrary - false - Unicode - v140_xp - - - DynamicLibrary - false - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - - - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - false - - - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - false - - - - MultiThreadedDebugDLL - Default - false - Disabled - true - Level3 - true - EditAndContinue - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\rps.tlb - true - Win32 - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - false - false - - - - - MultiThreadedDebugDLL - Default - false - Disabled - true - Level3 - ProgramDatabase - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - - - true - _DEBUG;%(PreprocessorDefinitions) - .\Debug\rps.tlb - true - - - 0x0809 - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - false - - - - - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\rps.tlb - true - Win32 - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - true - true - true - false - - - - - OnlyExplicitInline - true - true - Full - true - Level3 - ../../include;../ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - - - true - NDEBUG;%(PreprocessorDefinitions) - .\Release\rps.tlb - true - - - 0x0809 - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - - - true - true - Windows - $(IntDir)$(TargetName).lib - odbc32.lib;odbccp32.lib;%(AdditionalDependencies) - $(ProfileDir)..\..\bin10\lib - true - true - true - false - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/rps_14.vcxproj.filters b/plugins/RemovePersonalSettings/rps_14.vcxproj.filters deleted file mode 100644 index da4344bb1a..0000000000 --- a/plugins/RemovePersonalSettings/rps_14.vcxproj.filters +++ /dev/null @@ -1,51 +0,0 @@ - - - - - {debf756a-9ff8-4610-b321-7d997392b427} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {a6f79057-283d-4403-9d4d-871cee8a7b5f} - - - {74725d2b-50dc-460f-8a63-a35e47956ce3} - h;hpp;hxx;hm;inl - - - {0bc87fb5-4fcc-420a-a2b4-512b340e65d3} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Docs - - - Docs - - - Docs - - - - - Source Files - - - - - Docs - - - - - Resource Files - - - - - Source Files - - - \ No newline at end of file diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp index 5cf92686c0..bbd3bcb608 100644 --- a/plugins/RemovePersonalSettings/src/rps.cpp +++ b/plugins/RemovePersonalSettings/src/rps.cpp @@ -25,38 +25,8 @@ Created by Pescuma Based on work by nullbie */ -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_NONSTDC_NO_DEPRECATE -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "version.h" - -#define MIID_REMOVEPERSONALSETTINGS { 0x5eaec989, 0x8ff, 0x4820, { 0xb8, 0x6c, 0x2b, 0x6e, 0xf0, 0x8e, 0x33, 0x73 } } - -#define INI_FILE_NAME "RemovePersonalSettings.ini" - -#define PLUGINDISABLELIST "PluginDisable" - -#define METACONTACTS_PROTOCOL_NAME "MetaContacts" - -#define NOTICE_TEXT LPGEN("All your personal settings will be erased!\n\ -Make sure you are running this from a copy of your profile (and not over the original one).\n\ -Running this will erase files/folders under Miranda main folder.\n\n\ -Are you sure you want to remove all your personal settings?\n\n\ -(You cannot say that I don't told you about the risks :P)") - -#define MSGBOX_TITLE LPGEN("Remove Personal Settings") +#include "stdafx.h" HINSTANCE hInst; char gIniFile[MAX_PATH]; diff --git a/plugins/Restart/Restart.vcxproj b/plugins/Restart/Restart.vcxproj new file mode 100644 index 0000000000..0f7abc5e27 --- /dev/null +++ b/plugins/Restart/Restart.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + Restart + {18195F68-A747-8643-050C-C5101DA658FD} + + + + + \ No newline at end of file diff --git a/plugins/Restart/Restart.vcxproj.filters b/plugins/Restart/Restart.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/Restart/Restart.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/Restart/Restart_10.vcxproj b/plugins/Restart/Restart_10.vcxproj deleted file mode 100644 index 170f3cf02e..0000000000 --- a/plugins/Restart/Restart_10.vcxproj +++ /dev/null @@ -1,204 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Restart - {18195F68-A747-8643-050C-C5101DA658FD} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - false - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - - - - - - - - - - - Create - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Restart/Restart_10.vcxproj.filters b/plugins/Restart/Restart_10.vcxproj.filters deleted file mode 100644 index 5fb1738b7b..0000000000 --- a/plugins/Restart/Restart_10.vcxproj.filters +++ /dev/null @@ -1,41 +0,0 @@ - - - - - {e8aa2230-8568-4173-9e3d-97a356a22822} - - - {f2ac9c4e-4527-4a17-bf1d-41e43b91ec27} - - - {d1b03507-f6e8-450c-b4cd-c9209e4615ec} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Restart/Restart_12.vcxproj b/plugins/Restart/Restart_12.vcxproj deleted file mode 100644 index 0e8530bae2..0000000000 --- a/plugins/Restart/Restart_12.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Restart - {18195F68-A747-8643-050C-C5101DA658FD} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - - - - - - - - - - - Create - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Restart/Restart_12.vcxproj.filters b/plugins/Restart/Restart_12.vcxproj.filters deleted file mode 100644 index 5fb1738b7b..0000000000 --- a/plugins/Restart/Restart_12.vcxproj.filters +++ /dev/null @@ -1,41 +0,0 @@ - - - - - {e8aa2230-8568-4173-9e3d-97a356a22822} - - - {f2ac9c4e-4527-4a17-bf1d-41e43b91ec27} - - - {d1b03507-f6e8-450c-b4cd-c9209e4615ec} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Restart/Restart_14.vcxproj b/plugins/Restart/Restart_14.vcxproj deleted file mode 100644 index 90dfd357bb..0000000000 --- a/plugins/Restart/Restart_14.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Restart - {18195F68-A747-8643-050C-C5101DA658FD} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - false - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - Use - Common.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - - - - - OnlyExplicitInline - true - true - Full - Level3 - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Size - false - Use - Common.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - Windows - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - true - true - true - false - /PDBALTPATH:%_PDB% %(AdditionalOptions) - - - - - - - - - - - Create - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Restart/Restart_14.vcxproj.filters b/plugins/Restart/Restart_14.vcxproj.filters deleted file mode 100644 index 5fb1738b7b..0000000000 --- a/plugins/Restart/Restart_14.vcxproj.filters +++ /dev/null @@ -1,41 +0,0 @@ - - - - - {e8aa2230-8568-4173-9e3d-97a356a22822} - - - {f2ac9c4e-4527-4a17-bf1d-41e43b91ec27} - - - {d1b03507-f6e8-450c-b4cd-c9209e4615ec} - - - - - Header Files - - - Header Files - - - Header Files - - - - - Source Files - - - Source Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Restart/src/Common.h b/plugins/Restart/src/Common.h deleted file mode 100644 index 1f4daccd36..0000000000 --- a/plugins/Restart/src/Common.h +++ /dev/null @@ -1,14 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS -#define WIN32_LEAN_AND_MEAN - -#include - -#include -#include -#include -#include -#include -#include - -#include "resource.h" -#include "Version.h" diff --git a/plugins/Restart/src/restart.cpp b/plugins/Restart/src/restart.cpp index fc858e7a56..104f3835ec 100644 --- a/plugins/Restart/src/restart.cpp +++ b/plugins/Restart/src/restart.cpp @@ -1,4 +1,4 @@ -#include "Common.h" +#include "stdafx.h" HINSTANCE hInst; int hLangpack; diff --git a/plugins/Restart/src/stdafx.cpp b/plugins/Restart/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/Restart/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/Restart/src/stdafx.cxx b/plugins/Restart/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Restart/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/Restart/src/stdafx.h b/plugins/Restart/src/stdafx.h new file mode 100644 index 0000000000..f33d33009f --- /dev/null +++ b/plugins/Restart/src/stdafx.h @@ -0,0 +1,13 @@ +#define WIN32_LEAN_AND_MEAN + +#include + +#include +#include +#include +#include +#include +#include + +#include "resource.h" +#include "Version.h" diff --git a/plugins/Scriver/scriver.vcxproj b/plugins/Scriver/scriver.vcxproj new file mode 100644 index 0000000000..fa80d4adfe --- /dev/null +++ b/plugins/Scriver/scriver.vcxproj @@ -0,0 +1,36 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + Scriver + {B8928210-546C-4AE3-956B-E2B724E6B8E5} + + + + + + + ..\stdafx.h + + + + + + \ No newline at end of file diff --git a/plugins/Scriver/scriver.vcxproj.filters b/plugins/Scriver/scriver.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/Scriver/scriver.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/Scriver/scriver_10.vcxproj b/plugins/Scriver/scriver_10.vcxproj deleted file mode 100644 index c3d9ac9697..0000000000 --- a/plugins/Scriver/scriver_10.vcxproj +++ /dev/null @@ -1,256 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Scriver - {B8928210-546C-4AE3-956B-E2B724E6B8E5} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Use - commonheaders.h - Level3 - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27X86%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Use - commonheaders.h - Level3 - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Use - commonheaders.h - Level3 - EditAndContinue - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27X86%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Use - commonheaders.h - Level3 - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - - - - - - - - - - - - - Create - - - - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Scriver/scriver_10.vcxproj.filters b/plugins/Scriver/scriver_10.vcxproj.filters deleted file mode 100644 index e9eb42ac80..0000000000 --- a/plugins/Scriver/scriver_10.vcxproj.filters +++ /dev/null @@ -1,140 +0,0 @@ - - - - - {d3338c6e-ec8c-412b-ab25-50d97757d1c2} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {56427e3d-d269-438f-b4ea-c170bd920dc3} - - - {c6f77fbc-2b2a-48c9-b9c9-73d4f0f73fb3} - h;hpp;hxx;hm;inl - - - {8b31b6e6-ed45-4468-b82e-965e2154ef0c} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Source Files\chat - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Scriver/scriver_12.vcxproj b/plugins/Scriver/scriver_12.vcxproj deleted file mode 100644 index 0159ca5a74..0000000000 --- a/plugins/Scriver/scriver_12.vcxproj +++ /dev/null @@ -1,259 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Scriver - {B8928210-546C-4AE3-956B-E2B724E6B8E5} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Use - commonheaders.h - Level4 - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27X86%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Use - commonheaders.h - Level4 - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Use - commonheaders.h - Level4 - EditAndContinue - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27X86%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Use - commonheaders.h - Level4 - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - - - - - - - Create - - - - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Scriver/scriver_12.vcxproj.filters b/plugins/Scriver/scriver_12.vcxproj.filters deleted file mode 100644 index e9eb42ac80..0000000000 --- a/plugins/Scriver/scriver_12.vcxproj.filters +++ /dev/null @@ -1,140 +0,0 @@ - - - - - {d3338c6e-ec8c-412b-ab25-50d97757d1c2} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {56427e3d-d269-438f-b4ea-c170bd920dc3} - - - {c6f77fbc-2b2a-48c9-b9c9-73d4f0f73fb3} - h;hpp;hxx;hm;inl - - - {8b31b6e6-ed45-4468-b82e-965e2154ef0c} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Source Files\chat - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Scriver/scriver_14.vcxproj b/plugins/Scriver/scriver_14.vcxproj deleted file mode 100644 index 5106be8bb0..0000000000 --- a/plugins/Scriver/scriver_14.vcxproj +++ /dev/null @@ -1,259 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - Scriver - {B8928210-546C-4AE3-956B-E2B724E6B8E5} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30128.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Use - commonheaders.h - Level4 - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27X86%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Use - commonheaders.h - Level4 - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - true - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Use - commonheaders.h - Level4 - EditAndContinue - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27X86%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Use - commonheaders.h - Level4 - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;shlwapi.lib;UxTheme.lib;%(AdditionalDependencies) - type=%27Win32%27 name=%27Microsoft.Windows.Common-Controls%27 version=%276.0.0.0%27 processorArchitecture=%27*%27 publicKeyToken=%276595b64144ccf1df%27 language=%27*%27;%(AdditionalManifestDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - - - - - - - Create - - - - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - ..\commonheaders.h - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Scriver/scriver_14.vcxproj.filters b/plugins/Scriver/scriver_14.vcxproj.filters deleted file mode 100644 index e9eb42ac80..0000000000 --- a/plugins/Scriver/scriver_14.vcxproj.filters +++ /dev/null @@ -1,140 +0,0 @@ - - - - - {d3338c6e-ec8c-412b-ab25-50d97757d1c2} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {56427e3d-d269-438f-b4ea-c170bd920dc3} - - - {c6f77fbc-2b2a-48c9-b9c9-73d4f0f73fb3} - h;hpp;hxx;hm;inl - - - {8b31b6e6-ed45-4468-b82e-965e2154ef0c} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files\chat - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Source Files\chat - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Scriver/src/chat/log.cpp b/plugins/Scriver/src/chat/log.cpp index e58c506e78..eddb393f97 100644 --- a/plugins/Scriver/src/chat/log.cpp +++ b/plugins/Scriver/src/chat/log.cpp @@ -19,7 +19,7 @@ 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" +#include "../stdafx.h" #ifndef EM_GETSCROLLPOS #define EM_GETSCROLLPOS (WM_USER+221) diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp index f3aba794c7..27644f6e03 100644 --- a/plugins/Scriver/src/chat/main.cpp +++ b/plugins/Scriver/src/chat/main.cpp @@ -19,7 +19,7 @@ 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" +#include "../stdafx.h" // globals CHAT_MANAGER *pci, saveCI; diff --git a/plugins/Scriver/src/chat/manager.cpp b/plugins/Scriver/src/chat/manager.cpp index 7f12c8c9e6..823547751c 100644 --- a/plugins/Scriver/src/chat/manager.cpp +++ b/plugins/Scriver/src/chat/manager.cpp @@ -19,7 +19,7 @@ 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" +#include "../stdafx.h" HWND SM_FindWindowByContact(MCONTACT hContact) { diff --git a/plugins/Scriver/src/chat/options.cpp b/plugins/Scriver/src/chat/options.cpp index 57dccf89b9..446e0d1fa7 100644 --- a/plugins/Scriver/src/chat/options.cpp +++ b/plugins/Scriver/src/chat/options.cpp @@ -19,7 +19,7 @@ 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" +#include "../stdafx.h" #define UM_CHECKSTATECHANGE (WM_USER+100) diff --git a/plugins/Scriver/src/chat/tools.cpp b/plugins/Scriver/src/chat/tools.cpp index 43aa5c669f..1eb9907c3a 100644 --- a/plugins/Scriver/src/chat/tools.cpp +++ b/plugins/Scriver/src/chat/tools.cpp @@ -19,7 +19,7 @@ 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" +#include "../stdafx.h" TCHAR* my_strstri(const TCHAR* s1, const TCHAR* s2) { diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 895f2b7765..ef5dc2eceb 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -19,7 +19,7 @@ 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" +#include "../stdafx.h" static ToolbarButton toolbarButtons[] = { { LPGENT("Bold"), IDC_CHAT_BOLD, 0, 4, 24 }, diff --git a/plugins/Scriver/src/cmdlist.cpp b/plugins/Scriver/src/cmdlist.cpp index 29731070cc..16dbfa3b06 100644 --- a/plugins/Scriver/src/cmdlist.cpp +++ b/plugins/Scriver/src/cmdlist.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" TCmdList* tcmdlist_append(TCmdList *list, char *data, int maxSize, BOOL temporary) { diff --git a/plugins/Scriver/src/commonheaders.h b/plugins/Scriver/src/commonheaders.h deleted file mode 100644 index 390ef07fd0..0000000000 --- a/plugins/Scriver/src/commonheaders.h +++ /dev/null @@ -1,132 +0,0 @@ -/* -Scriver - -Copyright (c) 2000-12 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. -*/ - -#ifndef SRMM_COMMONHEADERS_H -#define SRMM_COMMONHEADERS_H - -#define _CRT_SECURE_NO_WARNINGS - -#define COMPILE_MULTIMON_STUBS - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include "resource.h" -#include "Version.h" -#include "infobar.h" -#include "cmdlist.h" -#include "sendqueue.h" -#include "msgs.h" -#include "globals.h" -#include "msgwindow.h" -#include "utils.h" -#include "input.h" -#include "richutil.h" -#include "statusicon.h" -#include "chat/chat.h" - -#ifndef IMF_AUTOFONTSIZEADJUST -#define IMF_AUTOFONTSIZEADJUST 0x0010 -#endif -#ifndef IMF_AUTOKEYBOARD -#define IMF_AUTOKEYBOARD 0x0001 -#endif -#ifndef SES_EXTENDBACKCOLOR -#define SES_EXTENDBACKCOLOR 4 -#endif -#ifndef ST_NEWCHARS -#define ST_NEWCHARS 4 -#endif -#ifndef CFM_WEIGHT -#define CFM_WEIGHT 0x00400000 -#endif - -extern HWND SM_FindWindowByContact(MCONTACT hContact); -extern HINSTANCE g_hInst; -extern void ChangeStatusIcons(); -extern void LoadInfobarFonts(); -extern HCURSOR hDragCursor; -extern ITaskbarList3 *pTaskbarInterface; -extern GlobalMessageData g_dat; -extern HMENU g_hMenu; -extern HANDLE hHookWinPopup, hHookWinWrite; -extern HCURSOR hCurSplitNS, hCurSplitWE; - -extern CREOleCallback reOleCallback; -extern CREOleCallback2 reOleCallback2; - -#define SPLITTER_HEIGHT 4 -#define TOOLBAR_HEIGHT 24 -#define INFO_BAR_HEIGHT 54 -#define INFO_BAR_INNER_HEIGHT (INFO_BAR_HEIGHT - 3) -#define INFO_BAR_AVATAR_HEIGHT INFO_BAR_INNER_HEIGHT -#define BOTTOM_RIGHT_AVATAR_HEIGHT 64 -#define INFO_BAR_COLOR COLOR_INACTIVEBORDER - -int Chat_Load(); -int Chat_Unload(); -int Chat_ModulesLoaded(WPARAM wParam,LPARAM lParam); -int OptInitialise(WPARAM wParam, LPARAM lParam); -int FontServiceFontsChanged(WPARAM wParam, LPARAM lParam); -int StatusIconPressed(WPARAM wParam, LPARAM lParam); - -#endif diff --git a/plugins/Scriver/src/globals.cpp b/plugins/Scriver/src/globals.cpp index d7ebe89278..20520f937c 100644 --- a/plugins/Scriver/src/globals.cpp +++ b/plugins/Scriver/src/globals.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" GlobalMessageData g_dat; diff --git a/plugins/Scriver/src/infobar.cpp b/plugins/Scriver/src/infobar.cpp index 5ffc65d91c..27056201bd 100644 --- a/plugins/Scriver/src/infobar.cpp +++ b/plugins/Scriver/src/infobar.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" void SetupInfobar(InfobarWindowData* idat) { diff --git a/plugins/Scriver/src/input.cpp b/plugins/Scriver/src/input.cpp index d1ec8952fe..5801cbbdd5 100644 --- a/plugins/Scriver/src/input.cpp +++ b/plugins/Scriver/src/input.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" extern HANDLE hHookWinPopup; diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 5691a9d3c8..3ac1b73d06 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #define VALID_AVATAR(x) (x==PA_FORMAT_PNG||x==PA_FORMAT_JPEG||x==PA_FORMAT_ICON||x==PA_FORMAT_BMP||x==PA_FORMAT_GIF) diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp index 82c42d91de..32e98e5996 100644 --- a/plugins/Scriver/src/msglog.cpp +++ b/plugins/Scriver/src/msglog.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #define LOGICON_MSG_IN 0 #define LOGICON_MSG_OUT 1 diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp index 7b56f8f3d2..39cb044c5a 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); static INT_PTR CALLBACK DlgProcLogOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index c7f27360e0..aefb07949f 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" HCURSOR hCurSplitNS, hCurSplitWE, hCurHyperlinkHand, hDragCursor; HANDLE hHookWinEvt, hHookWinPopup, hHookWinWrite; diff --git a/plugins/Scriver/src/msgtimedout.cpp b/plugins/Scriver/src/msgtimedout.cpp index 0238bc5806..b7e8ae4ebb 100644 --- a/plugins/Scriver/src/msgtimedout.cpp +++ b/plugins/Scriver/src/msgtimedout.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" INT_PTR CALLBACK ErrorDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) { diff --git a/plugins/Scriver/src/msgwindow.cpp b/plugins/Scriver/src/msgwindow.cpp index c95aa5b503..74e66c8331 100644 --- a/plugins/Scriver/src/msgwindow.cpp +++ b/plugins/Scriver/src/msgwindow.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #define SB_CHAR_WIDTH 40 #define SB_SENDING_WIDTH 25 diff --git a/plugins/Scriver/src/richutil.cpp b/plugins/Scriver/src/richutil.cpp index 7a338492ee..702e875320 100644 --- a/plugins/Scriver/src/richutil.cpp +++ b/plugins/Scriver/src/richutil.cpp @@ -18,7 +18,7 @@ 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" +#include "stdafx.h" /* To initialize this library, call: diff --git a/plugins/Scriver/src/sendqueue.cpp b/plugins/Scriver/src/sendqueue.cpp index 49bc01553e..d96cb670e3 100644 --- a/plugins/Scriver/src/sendqueue.cpp +++ b/plugins/Scriver/src/sendqueue.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" static MessageSendQueueItem *global_sendQueue = NULL; static mir_cs queueMutex; diff --git a/plugins/Scriver/src/srmm.cpp b/plugins/Scriver/src/srmm.cpp index 371dccf22e..7a4c33c2a4 100644 --- a/plugins/Scriver/src/srmm.cpp +++ b/plugins/Scriver/src/srmm.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" int OnLoadModule(void); int OnUnloadModule(void); diff --git a/plugins/Scriver/src/statusicon.cpp b/plugins/Scriver/src/statusicon.cpp index 83d8dfeff2..e280fc7165 100644 --- a/plugins/Scriver/src/statusicon.cpp +++ b/plugins/Scriver/src/statusicon.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" HANDLE hHookIconPressedEvt; diff --git a/plugins/Scriver/src/stdafx.cpp b/plugins/Scriver/src/stdafx.cpp deleted file mode 100644 index 048b14e9d2..0000000000 --- a/plugins/Scriver/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "commonheaders.h" \ No newline at end of file diff --git a/plugins/Scriver/src/stdafx.cxx b/plugins/Scriver/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Scriver/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/Scriver/src/stdafx.h b/plugins/Scriver/src/stdafx.h new file mode 100644 index 0000000000..fb97bf8bd3 --- /dev/null +++ b/plugins/Scriver/src/stdafx.h @@ -0,0 +1,130 @@ +/* +Scriver + +Copyright (c) 2000-12 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. +*/ + +#ifndef SRMM_COMMONHEADERS_H +#define SRMM_COMMONHEADERS_H + +#define COMPILE_MULTIMON_STUBS + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "resource.h" +#include "Version.h" +#include "infobar.h" +#include "cmdlist.h" +#include "sendqueue.h" +#include "msgs.h" +#include "globals.h" +#include "msgwindow.h" +#include "utils.h" +#include "input.h" +#include "richutil.h" +#include "statusicon.h" +#include "chat/chat.h" + +#ifndef IMF_AUTOFONTSIZEADJUST +#define IMF_AUTOFONTSIZEADJUST 0x0010 +#endif +#ifndef IMF_AUTOKEYBOARD +#define IMF_AUTOKEYBOARD 0x0001 +#endif +#ifndef SES_EXTENDBACKCOLOR +#define SES_EXTENDBACKCOLOR 4 +#endif +#ifndef ST_NEWCHARS +#define ST_NEWCHARS 4 +#endif +#ifndef CFM_WEIGHT +#define CFM_WEIGHT 0x00400000 +#endif + +extern HWND SM_FindWindowByContact(MCONTACT hContact); +extern HINSTANCE g_hInst; +extern void ChangeStatusIcons(); +extern void LoadInfobarFonts(); +extern HCURSOR hDragCursor; +extern ITaskbarList3 *pTaskbarInterface; +extern GlobalMessageData g_dat; +extern HMENU g_hMenu; +extern HANDLE hHookWinPopup, hHookWinWrite; +extern HCURSOR hCurSplitNS, hCurSplitWE; + +extern CREOleCallback reOleCallback; +extern CREOleCallback2 reOleCallback2; + +#define SPLITTER_HEIGHT 4 +#define TOOLBAR_HEIGHT 24 +#define INFO_BAR_HEIGHT 54 +#define INFO_BAR_INNER_HEIGHT (INFO_BAR_HEIGHT - 3) +#define INFO_BAR_AVATAR_HEIGHT INFO_BAR_INNER_HEIGHT +#define BOTTOM_RIGHT_AVATAR_HEIGHT 64 +#define INFO_BAR_COLOR COLOR_INACTIVEBORDER + +int Chat_Load(); +int Chat_Unload(); +int Chat_ModulesLoaded(WPARAM wParam,LPARAM lParam); +int OptInitialise(WPARAM wParam, LPARAM lParam); +int FontServiceFontsChanged(WPARAM wParam, LPARAM lParam); +int StatusIconPressed(WPARAM wParam, LPARAM lParam); + +#endif diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp index e5ed4b3a45..c064d623c7 100644 --- a/plugins/Scriver/src/utils.cpp +++ b/plugins/Scriver/src/utils.cpp @@ -21,7 +21,7 @@ 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" +#include "stdafx.h" #ifndef TTI_NONE #define TTI_NONE 0 diff --git a/plugins/SeenPlugin/seenplugin.vcxproj b/plugins/SeenPlugin/seenplugin.vcxproj new file mode 100644 index 0000000000..3d67de59b4 --- /dev/null +++ b/plugins/SeenPlugin/seenplugin.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + SeenPlugin + {EFD45F48-63D5-48AE-96CD-8ADB3545A4EE} + + + + + \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin.vcxproj.filters b/plugins/SeenPlugin/seenplugin.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/SeenPlugin/seenplugin.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin_10.vcxproj b/plugins/SeenPlugin/seenplugin_10.vcxproj deleted file mode 100644 index d49dee1e6e..0000000000 --- a/plugins/SeenPlugin/seenplugin_10.vcxproj +++ /dev/null @@ -1,213 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SeenPlugin - {EFD45F48-63D5-48AE-96CD-8ADB3545A4EE} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - true - Unicode - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - seen.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - seen.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - Use - seen.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - Use - seen.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin_10.vcxproj.filters b/plugins/SeenPlugin/seenplugin_10.vcxproj.filters deleted file mode 100644 index 2ed0201869..0000000000 --- a/plugins/SeenPlugin/seenplugin_10.vcxproj.filters +++ /dev/null @@ -1,65 +0,0 @@ - - - - - {89af4e67-032f-4900-b14d-1d956b6c376d} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {1f155b67-4f4e-4b49-a10e-6a0588c62a69} - h;hpp;hxx;hm;inl - - - {a800d3aa-15e0-4d7d-8b9f-99dfd4112d8e} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin_12.vcxproj b/plugins/SeenPlugin/seenplugin_12.vcxproj deleted file mode 100644 index 2acf949330..0000000000 --- a/plugins/SeenPlugin/seenplugin_12.vcxproj +++ /dev/null @@ -1,216 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SeenPlugin - {EFD45F48-63D5-48AE-96CD-8ADB3545A4EE} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - true - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - seen.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - seen.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - Use - seen.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - Use - seen.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin_12.vcxproj.filters b/plugins/SeenPlugin/seenplugin_12.vcxproj.filters deleted file mode 100644 index 2ed0201869..0000000000 --- a/plugins/SeenPlugin/seenplugin_12.vcxproj.filters +++ /dev/null @@ -1,65 +0,0 @@ - - - - - {89af4e67-032f-4900-b14d-1d956b6c376d} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {1f155b67-4f4e-4b49-a10e-6a0588c62a69} - h;hpp;hxx;hm;inl - - - {a800d3aa-15e0-4d7d-8b9f-99dfd4112d8e} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin_14.vcxproj b/plugins/SeenPlugin/seenplugin_14.vcxproj deleted file mode 100644 index 61c45edb86..0000000000 --- a/plugins/SeenPlugin/seenplugin_14.vcxproj +++ /dev/null @@ -1,216 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SeenPlugin - {EFD45F48-63D5-48AE-96CD-8ADB3545A4EE} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - true - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - seen.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Use - seen.h - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - Use - seen.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - Use - seen.h - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - ws2_32.lib;comctl32.lib;winmm.lib;%(AdditionalDependencies) - true - 0x67400000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SeenPlugin/seenplugin_14.vcxproj.filters b/plugins/SeenPlugin/seenplugin_14.vcxproj.filters deleted file mode 100644 index 2ed0201869..0000000000 --- a/plugins/SeenPlugin/seenplugin_14.vcxproj.filters +++ /dev/null @@ -1,65 +0,0 @@ - - - - - {89af4e67-032f-4900-b14d-1d956b6c376d} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {1f155b67-4f4e-4b49-a10e-6a0588c62a69} - h;hpp;hxx;hm;inl - - - {a800d3aa-15e0-4d7d-8b9f-99dfd4112d8e} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SeenPlugin/src/file.cpp b/plugins/SeenPlugin/src/file.cpp index 0721abf96f..fccd0ca9e6 100644 --- a/plugins/SeenPlugin/src/file.cpp +++ b/plugins/SeenPlugin/src/file.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" BOOL g_bFileActive; static TCHAR *g_ptszFileStamp, *g_ptszFileName; diff --git a/plugins/SeenPlugin/src/history.cpp b/plugins/SeenPlugin/src/history.cpp index db02da5045..2c5c60c8d2 100644 --- a/plugins/SeenPlugin/src/history.cpp +++ b/plugins/SeenPlugin/src/history.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" static MWindowList hWindowList; diff --git a/plugins/SeenPlugin/src/main.cpp b/plugins/SeenPlugin/src/main.cpp index 67055107bd..84af665552 100644 --- a/plugins/SeenPlugin/src/main.cpp +++ b/plugins/SeenPlugin/src/main.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE hInstance; diff --git a/plugins/SeenPlugin/src/menu.cpp b/plugins/SeenPlugin/src/menu.cpp index e0ecfe71e7..9bd1c79b98 100644 --- a/plugins/SeenPlugin/src/menu.cpp +++ b/plugins/SeenPlugin/src/menu.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" HANDLE hLSUserDet = NULL; HGENMENU hmenuitem = NULL; diff --git a/plugins/SeenPlugin/src/missed.cpp b/plugins/SeenPlugin/src/missed.cpp index f3f18587c6..d407c5e24d 100644 --- a/plugins/SeenPlugin/src/missed.cpp +++ b/plugins/SeenPlugin/src/missed.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" MISSEDCONTACTS mcs; diff --git a/plugins/SeenPlugin/src/options.cpp b/plugins/SeenPlugin/src/options.cpp index 8bb34912f8..4d1db993c4 100644 --- a/plugins/SeenPlugin/src/options.cpp +++ b/plugins/SeenPlugin/src/options.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" #define VARIABLE_LIST "%s \n%%Y: \t %s \n%%y: \t %s \n%%m: \t %s \n%%E: \t %s \n%%e: \t %s \n%%d: \t %s \n%%W: \t %s \n%%w: \t %s \n\n%s \n%%H: \t %s \n%%h: \t %s \n%%p: \t %s \n%%M: \t %s \n%%S: \t %s \n\n%s \n%%n: \t %s \n%%N: \t %s \n%%u: \t %s \n%%G: \t %s \n%%s: \t %s \n%%T: \t %s \n%%o: \t %s \n%%i: \t %s \n%%r: \t %s \n%%C: \t %s \n%%P: \t %s \n%%A:\t %s\n\n%s \n%%t: \t %s \n%%b: \t %s\n\n%s\t%s \"#\" %s\n\t%s %s", Translate("-- Date --"), Translate("year (4 digits)"), Translate("year (2 digits)"), Translate("month"), Translate("name of month"), Translate("short name of month"), Translate("day"), Translate("weekday (full)"), Translate("weekday (abbreviated)"), Translate("-- Time --"), Translate("hours (24)"), Translate("hours (12)"), Translate("AM/PM"), Translate("minutes"), Translate("seconds"), Translate("-- User --"), Translate("username"), Translate("nick"), Translate("UIN/handle"), Translate("Group"), Translate("Status"), Translate("Status message"), Translate("Old status"), Translate("external IP"), Translate("internal IP"),Translate("Client info"),Translate("Protocol"), Translate("Account"),Translate("-- Format --"), Translate("tabulator"), Translate("line break"), Translate("Note:"),Translate("Use"),Translate("for empty string"),Translate("instead of"),Translate("") diff --git a/plugins/SeenPlugin/src/seen.h b/plugins/SeenPlugin/src/seen.h deleted file mode 100644 index 6808ca7683..0000000000 --- a/plugins/SeenPlugin/src/seen.h +++ /dev/null @@ -1,135 +0,0 @@ -/* -"Last Seen mod" plugin for Miranda IM -Copyright ( C ) 2002-03 micron-x -Copyright ( C ) 2005-07 Y.B. - -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. -*/ - -#define ETDT_ENABLE 0x00000002 -#define ETDT_USETABTEXTURE 0x00000004 -#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE) - -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_NON_CONFORMING_SWPRINTFS - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "resource.h" -#include "version.h" - -WCHAR *any_to_IdleNotidleUnknown(MCONTACT hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen); -WCHAR *any_to_Idle(MCONTACT hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen); - -#define NUM100NANOSEC 116444736000000000 - -#define S_MOD "SeenModule" - -//#define UM_CHECKHOOKS (WM_USER+1) - -#define debug(a) MessageBox(NULL,a,_T("Debug"),MB_OK) - -#define IDI_USERDETAILS 160 -#define IDI_DOWNARROW 264 -#define IDI_RECVMSG 136 - -#define ICON_OFFLINE 13 -#define ICON_ONLINE 14 -#define ICON_AWAY 15 -#define ICON_NA 16 -#define ICON_OCC 17 -#define ICON_DND 18 -#define ICON_FREE 19 -#define ICON_INVIS 20 - -#define WM_REFRESH_UI (WM_USER+10) - -#define DEFAULT_MENUSTAMP _T("%d.%m.%Y - %H:%M [%s]") -#define DEFAULT_POPUPSTAMP TranslateT("%n is %s (%u)") -#define DEFAULT_POPUPSTAMPTEXT TranslateT("%i(%r)%bWas %o") -#define DEFAULT_USERSTAMP TranslateT("Name:%t%N%bStatus:%t%s%bDay:%t%d.%m.%Y%bTime:%t%H:%M:%S%bPrevious Status:%t%o%b%b%P ID:%t%u%bExternal IP:%t%i%bInternal IP:%t%r%bClient ID: %t%C%b%bStatus Message:%t%T") -#define DEFAULT_FILESTAMP _T("%d.%m.%Y %H:%M:%S%t%n%t%s%t%u%t%r | %i%t%N") -#define DEFAULT_FILENAME _T("%miranda_logpath%\\LastSeen\\%P.txt") -#define DEFAULT_HISTORYSTAMP _T("%d.%m.%Y - %H:%M [%s]") -#define DEFAULT_WATCHEDPROTOCOLS "" - -typedef struct{ - int count; - WPARAM wpcontact[1024]; - BYTE times[1024]; -} MISSEDCONTACTS; - -int IsWatchedProtocol(const char* szProto); -TCHAR *ParseString(TCHAR*, MCONTACT, BYTE); -void GetColorsFromDWord(LPCOLORREF First, LPCOLORREF Second, DWORD colDword); -DWORD GetDWordFromColors(COLORREF First, COLORREF Second); -int OptionsInit(WPARAM,LPARAM); -int UserinfoInit(WPARAM,LPARAM); -void InitMenuitem(void); -int UpdateValues(WPARAM, LPARAM); -int ModeChange(WPARAM,LPARAM); -void SetOffline(void); -int ModeChange_mo(WPARAM,LPARAM); -int CheckIfOnline(void); -void ShowHistory(MCONTACT hContact, BYTE isAlert); - -void InitFileOutput(void); -void UninitFileOutput(void); - -struct logthread_info -{ - MCONTACT hContact; - char sProtoName[MAXMODULELABELLENGTH]; - WORD currStatus; -}; - -extern HINSTANCE hInstance; -extern DWORD StatusColors15bits[]; -extern BOOL includeIdle; -extern HANDLE ehmissed, ehuserinfo, ehmissed_proto; -extern MWindowList g_pUserInfo; -extern HGENMENU hmenuitem; -extern DWORD dwmirver; - -extern BOOL g_bFileActive; - -void LoadWatchedProtos(); -void UnloadWatchedProtos(); -extern LIST arWatchedProtos; - -extern LIST arContacts; -extern mir_cs csContacts; diff --git a/plugins/SeenPlugin/src/stdafx.cpp b/plugins/SeenPlugin/src/stdafx.cpp deleted file mode 100644 index 0464d03bfc..0000000000 --- a/plugins/SeenPlugin/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "seen.h" \ No newline at end of file diff --git a/plugins/SeenPlugin/src/stdafx.cxx b/plugins/SeenPlugin/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SeenPlugin/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SeenPlugin/src/stdafx.h b/plugins/SeenPlugin/src/stdafx.h new file mode 100644 index 0000000000..4b703c9eb2 --- /dev/null +++ b/plugins/SeenPlugin/src/stdafx.h @@ -0,0 +1,134 @@ +/* +"Last Seen mod" plugin for Miranda IM +Copyright ( C ) 2002-03 micron-x +Copyright ( C ) 2005-07 Y.B. + +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. +*/ + +#define ETDT_ENABLE 0x00000002 +#define ETDT_USETABTEXTURE 0x00000004 +#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE) + +#define _CRT_NON_CONFORMING_SWPRINTFS + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "resource.h" +#include "version.h" + +WCHAR *any_to_IdleNotidleUnknown(MCONTACT hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen); +WCHAR *any_to_Idle(MCONTACT hContact, const char *module_name, const char *setting_name, WCHAR *buff, int bufflen); + +#define NUM100NANOSEC 116444736000000000 + +#define S_MOD "SeenModule" + +//#define UM_CHECKHOOKS (WM_USER+1) + +#define debug(a) MessageBox(NULL,a,_T("Debug"),MB_OK) + +#define IDI_USERDETAILS 160 +#define IDI_DOWNARROW 264 +#define IDI_RECVMSG 136 + +#define ICON_OFFLINE 13 +#define ICON_ONLINE 14 +#define ICON_AWAY 15 +#define ICON_NA 16 +#define ICON_OCC 17 +#define ICON_DND 18 +#define ICON_FREE 19 +#define ICON_INVIS 20 + +#define WM_REFRESH_UI (WM_USER+10) + +#define DEFAULT_MENUSTAMP _T("%d.%m.%Y - %H:%M [%s]") +#define DEFAULT_POPUPSTAMP TranslateT("%n is %s (%u)") +#define DEFAULT_POPUPSTAMPTEXT TranslateT("%i(%r)%bWas %o") +#define DEFAULT_USERSTAMP TranslateT("Name:%t%N%bStatus:%t%s%bDay:%t%d.%m.%Y%bTime:%t%H:%M:%S%bPrevious Status:%t%o%b%b%P ID:%t%u%bExternal IP:%t%i%bInternal IP:%t%r%bClient ID: %t%C%b%bStatus Message:%t%T") +#define DEFAULT_FILESTAMP _T("%d.%m.%Y %H:%M:%S%t%n%t%s%t%u%t%r | %i%t%N") +#define DEFAULT_FILENAME _T("%miranda_logpath%\\LastSeen\\%P.txt") +#define DEFAULT_HISTORYSTAMP _T("%d.%m.%Y - %H:%M [%s]") +#define DEFAULT_WATCHEDPROTOCOLS "" + +typedef struct{ + int count; + WPARAM wpcontact[1024]; + BYTE times[1024]; +} MISSEDCONTACTS; + +int IsWatchedProtocol(const char* szProto); +TCHAR *ParseString(TCHAR*, MCONTACT, BYTE); +void GetColorsFromDWord(LPCOLORREF First, LPCOLORREF Second, DWORD colDword); +DWORD GetDWordFromColors(COLORREF First, COLORREF Second); +int OptionsInit(WPARAM,LPARAM); +int UserinfoInit(WPARAM,LPARAM); +void InitMenuitem(void); +int UpdateValues(WPARAM, LPARAM); +int ModeChange(WPARAM,LPARAM); +void SetOffline(void); +int ModeChange_mo(WPARAM,LPARAM); +int CheckIfOnline(void); +void ShowHistory(MCONTACT hContact, BYTE isAlert); + +void InitFileOutput(void); +void UninitFileOutput(void); + +struct logthread_info +{ + MCONTACT hContact; + char sProtoName[MAXMODULELABELLENGTH]; + WORD currStatus; +}; + +extern HINSTANCE hInstance; +extern DWORD StatusColors15bits[]; +extern BOOL includeIdle; +extern HANDLE ehmissed, ehuserinfo, ehmissed_proto; +extern MWindowList g_pUserInfo; +extern HGENMENU hmenuitem; +extern DWORD dwmirver; + +extern BOOL g_bFileActive; + +void LoadWatchedProtos(); +void UnloadWatchedProtos(); +extern LIST arWatchedProtos; + +extern LIST arContacts; +extern mir_cs csContacts; diff --git a/plugins/SeenPlugin/src/userinfo.cpp b/plugins/SeenPlugin/src/userinfo.cpp index 197d2d290c..dc94193927 100644 --- a/plugins/SeenPlugin/src/userinfo.cpp +++ b/plugins/SeenPlugin/src/userinfo.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" LRESULT CALLBACK EditProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM lparam) { diff --git a/plugins/SeenPlugin/src/utils.cpp b/plugins/SeenPlugin/src/utils.cpp index 306d133dac..e57c451cd4 100644 --- a/plugins/SeenPlugin/src/utils.cpp +++ b/plugins/SeenPlugin/src/utils.cpp @@ -18,7 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "seen.h" +#include "stdafx.h" void FileWrite(MCONTACT); void HistoryWrite(MCONTACT hcontact); diff --git a/plugins/SendScreenshotPlus/SendSS.vcxproj b/plugins/SendScreenshotPlus/SendSS.vcxproj new file mode 100644 index 0000000000..41c5f28c32 --- /dev/null +++ b/plugins/SendScreenshotPlus/SendSS.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + SendSS + {CEAD8BCF-1F22-4E00-9F6D-E33405B00552} + + + + + \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS.vcxproj.filters b/plugins/SendScreenshotPlus/SendSS.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/SendScreenshotPlus/SendSS.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS_10.vcxproj b/plugins/SendScreenshotPlus/SendSS_10.vcxproj deleted file mode 100644 index 2cad911f11..0000000000 --- a/plugins/SendScreenshotPlus/SendSS_10.vcxproj +++ /dev/null @@ -1,223 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SendSS - {CEAD8BCF-1F22-4E00-9F6D-E33405B00552} - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Full - Size - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - Windows - true - true - /PDBALTPATH:%_PDB% - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - EditAndContinue - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - Windows - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Full - Size - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - Windows - true - true - /PDBALTPATH:%_PDB% - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - Windows - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters b/plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters deleted file mode 100644 index 1dbad42fe0..0000000000 --- a/plugins/SendScreenshotPlus/SendSS_10.vcxproj.filters +++ /dev/null @@ -1,126 +0,0 @@ - - - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {3ce04f12-fd79-4893-ad53-0f2e94ac6d6e} - - - {4fafa889-f721-4d0c-9035-c5e69ee2597a} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS_12.vcxproj b/plugins/SendScreenshotPlus/SendSS_12.vcxproj deleted file mode 100644 index 6fc0f6fc20..0000000000 --- a/plugins/SendScreenshotPlus/SendSS_12.vcxproj +++ /dev/null @@ -1,226 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SendSS - {CEAD8BCF-1F22-4E00-9F6D-E33405B00552} - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Full - Size - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - true - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - EditAndContinue - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Full - Size - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - true - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - Windows - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS_12.vcxproj.filters b/plugins/SendScreenshotPlus/SendSS_12.vcxproj.filters deleted file mode 100644 index 1dbad42fe0..0000000000 --- a/plugins/SendScreenshotPlus/SendSS_12.vcxproj.filters +++ /dev/null @@ -1,126 +0,0 @@ - - - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {3ce04f12-fd79-4893-ad53-0f2e94ac6d6e} - - - {4fafa889-f721-4d0c-9035-c5e69ee2597a} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS_14.vcxproj b/plugins/SendScreenshotPlus/SendSS_14.vcxproj deleted file mode 100644 index 755def17a3..0000000000 --- a/plugins/SendScreenshotPlus/SendSS_14.vcxproj +++ /dev/null @@ -1,226 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SendSS - {CEAD8BCF-1F22-4E00-9F6D-E33405B00552} - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)/Plugins\ - $(SolutionDir)$(Configuration)/Obj/$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Full - Size - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - true - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - EditAndContinue - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Level3 - Full - Size - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - true - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - MultiThreadedDebugDLL - Level3 - global.h - Use - - - gdiplus.lib;msimg32.lib;shlwapi.lib;comctl32.lib;UxTheme.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - Windows - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/SendSS_14.vcxproj.filters b/plugins/SendScreenshotPlus/SendSS_14.vcxproj.filters deleted file mode 100644 index 1dbad42fe0..0000000000 --- a/plugins/SendScreenshotPlus/SendSS_14.vcxproj.filters +++ /dev/null @@ -1,126 +0,0 @@ - - - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - {3ce04f12-fd79-4893-ad53-0f2e94ac6d6e} - - - {4fafa889-f721-4d0c-9035-c5e69ee2597a} - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp index 8ab4a7063d..9386894343 100644 --- a/plugins/SendScreenshotPlus/src/CSend.cpp +++ b/plugins/SendScreenshotPlus/src/CSend.cpp @@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" #define CSEND_DIALOG 8800 //--------------------------------------------------------------------------- diff --git a/plugins/SendScreenshotPlus/src/CSendDropbox.cpp b/plugins/SendScreenshotPlus/src/CSendDropbox.cpp index b0756b8811..b6eaf6764f 100644 --- a/plugins/SendScreenshotPlus/src/CSendDropbox.cpp +++ b/plugins/SendScreenshotPlus/src/CSendDropbox.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //--------------------------------------------------------------------------- -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- CSendDropbox::CSendDropbox(HWND Owner, MCONTACT hContact, bool bAsync) diff --git a/plugins/SendScreenshotPlus/src/CSendEmail.cpp b/plugins/SendScreenshotPlus/src/CSendEmail.cpp index 6083dce157..ee5628e420 100644 --- a/plugins/SendScreenshotPlus/src/CSendEmail.cpp +++ b/plugins/SendScreenshotPlus/src/CSendEmail.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //--------------------------------------------------------------------------- -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- CSendEmail::CSendEmail(HWND Owner, MCONTACT hContact, bool /*bAsync*/) diff --git a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp index 8c7aa8e51b..e1fa16f726 100644 --- a/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp +++ b/plugins/SendScreenshotPlus/src/CSendFTPFile.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //--------------------------------------------------------------------------- -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- diff --git a/plugins/SendScreenshotPlus/src/CSendFile.cpp b/plugins/SendScreenshotPlus/src/CSendFile.cpp index 4928232a13..adaf83e63d 100644 --- a/plugins/SendScreenshotPlus/src/CSendFile.cpp +++ b/plugins/SendScreenshotPlus/src/CSendFile.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //--------------------------------------------------------------------------- -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- CSendFile::CSendFile(HWND Owner, MCONTACT hContact, bool /*bAsync*/) diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp index 4f6f141212..2f50e7a6c5 100644 --- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //--------------------------------------------------------------------------- -#include "global.h" +#include "stdafx.h" INT_PTR (*g_MirCallService)(const char *, WPARAM, LPARAM)=NULL; //INT_PTR (*CallService)(const char *,WPARAM,LPARAM); diff --git a/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp b/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp index 40644e37ba..a0f03d11eb 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_ImageShack.cpp @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ //--------------------------------------------------------------------------- -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- CSendHost_ImageShack::CSendHost_ImageShack(HWND Owner, MCONTACT hContact, bool bAsync) diff --git a/plugins/SendScreenshotPlus/src/CSendHost_imgur.cpp b/plugins/SendScreenshotPlus/src/CSendHost_imgur.cpp index dd19d18176..6b1b638083 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_imgur.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_imgur.cpp @@ -13,7 +13,7 @@ 0. You just DO WHAT THE FUCK YOU WANT TO. */ -#include "global.h" +#include "stdafx.h" CSendHost_Imgur::CSendHost_Imgur(HWND Owner, MCONTACT hContact, bool bAsync) : CSend(Owner,hContact,bAsync) diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp index a19cfa3ced..68aae59b29 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp @@ -13,7 +13,7 @@ 0. You just DO WHAT THE FUCK YOU WANT TO. */ -#include "global.h" +#include "stdafx.h" CSendHost_UploadPie::CSendHost_UploadPie(HWND Owner, MCONTACT hContact, bool bAsync, int expire) : m_expire(expire), CSend(Owner,hContact,bAsync) diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp index e997646d10..4474b47732 100644 --- a/plugins/SendScreenshotPlus/src/Main.cpp +++ b/plugins/SendScreenshotPlus/src/Main.cpp @@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" #include "Main.h" // Prototypes /////////////////////////////////////////////////////////////////////////// diff --git a/plugins/SendScreenshotPlus/src/UAboutForm.cpp b/plugins/SendScreenshotPlus/src/UAboutForm.cpp index 8e0eb9e5ef..f3b50a740d 100644 --- a/plugins/SendScreenshotPlus/src/UAboutForm.cpp +++ b/plugins/SendScreenshotPlus/src/UAboutForm.cpp @@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" #include void TfrmAbout::Unload(){ diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 03fead478e..c887f14c12 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" #include void TfrmMain::Unload(){ diff --git a/plugins/SendScreenshotPlus/src/Utils.cpp b/plugins/SendScreenshotPlus/src/Utils.cpp index fd7ab70eb4..a8d8fe0146 100644 --- a/plugins/SendScreenshotPlus/src/Utils.cpp +++ b/plugins/SendScreenshotPlus/src/Utils.cpp @@ -26,7 +26,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- //Workaround for MS bug ComboBox_SelectItemData diff --git a/plugins/SendScreenshotPlus/src/ctrl_button.cpp b/plugins/SendScreenshotPlus/src/ctrl_button.cpp index 4a217d2430..3211931d70 100644 --- a/plugins/SendScreenshotPlus/src/ctrl_button.cpp +++ b/plugins/SendScreenshotPlus/src/ctrl_button.cpp @@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" // Used for our own cheap TrackMouseEvent #define BUTTON_POLLID 100 diff --git a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp index 82ff842cdb..34d9f65c4f 100644 --- a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp +++ b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp @@ -19,14 +19,9 @@ 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" -#include -#include -#include -*/ + /// SendSS compatibility: -#include "global.h" +#include "stdafx.h" #define ghInst g_hSendSS #define myGlobals g_myGlobals #define MODNAME SZ_SENDSS diff --git a/plugins/SendScreenshotPlus/src/global.h b/plugins/SendScreenshotPlus/src/global.h deleted file mode 100644 index cec50a38c3..0000000000 --- a/plugins/SendScreenshotPlus/src/global.h +++ /dev/null @@ -1,185 +0,0 @@ -/* - -Miranda NG: the free IM client for Microsoft* Windows* - -Copyright (с) 2012-15 Miranda NG project (http://miranda-ng.org), -Copyright (c) 2000-09 Miranda ICQ/IM project, - -This file is part of Send Screenshot Plus, a Miranda IM plugin. -Copyright (c) 2010 Ing.U.Horn - -Parts of this file based on original sorce code -(c) 2004-2006 Sérgio Vieira Rolanski (portet from Borland C++) - -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. -*/ -#ifndef _GLOBAL_H_ -#define _GLOBAL_H_ - -#define _CRT_SECURE_NO_WARNINGS -#define OEMRESOURCE - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -using namespace std; - -#ifdef ComboBox_SelectItemData - // use Workaround for MS bug ComboBox_SelectItemData; - #undef ComboBox_SelectItemData -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include - -#include "mir_string.h" -#include "ctrl_button.h" -#include "dlg_msgbox.h" -#include "resource.h" -#include "version.h" -#include "CSend.h" -#include "CSendEmail.h" -#include "CSendFile.h" -#include "CSendFTPFile.h" -#include "CSendHTTPServer.h" -#include "CSendDropbox.h" -#include "CSendHost_ImageShack.h" -#include "CSendHost_uploadpie.h" -#include "CSendHost_imgur.h" -#include "DevKey.h" -#include "UMainForm.h" -#include "UAboutForm.h" -#include "Utils.h" - -#define UM_CLOSING WM_USER+1 -#define UM_EVENT WM_USER+2 - -// Generic Message Box for Errors -#define MSGERROR(text) MessageBox(NULL, text, _T("SendSS"), MB_OK | MB_ICONERROR) -#define MSGINFO (text) MessageBox(NULL, text, _T("SendSS"), MB_OK | MB_ICONINFORMATION) - -typedef struct _MGLOBAL { - DWORD mirandaVersion; // mirandaVersion - BOOLEAN PopupExist : 1; // Popup or MS_POPUP_ADDPOPUP exist - BOOLEAN PopupActionsExist : 1; // Popup++ or MS_POPUP_REGISTERACTIONS exist - BOOLEAN PluginHTTPExist : 1; // HTTPServer or MS_HTTP_ACCEPT_CONNECTIONS exist - BOOLEAN PluginFTPExist : 1; // FTPFile or MS_FTPFILE_SHAREFILE exist - BOOLEAN PluginDropboxExist : 1; // Dropbox or MS_DROPBOX_SEND_FILE exists - -} MGLOBAL, *LPMGLOBAL; - -//--------------------------------------------------------------------------- -#define ERROR_TITLE TranslateT("SendScreenshot - Error") - -// Miranda Database Key -#define SZ_SENDSS "SendSS" - -extern ATOM g_clsTargetHighlighter; -extern HINSTANCE g_hSendSS; -extern MGLOBAL g_myGlobals; -extern HANDLE g_hNetlibUser; - - -enum{ - ICO_MAIN=0, - ICO_MAINXS, - ICO_TARGET, - ICO_MONITOR, - ICO_END_, - ICO_BTN_HELP=0, - ICO_BTN_FOLDER, - ICO_BTN_DESC, - ICO_BTN_DESCON, - ICO_BTN_DEL, - ICO_BTN_DELON, - ICO_BTN_ARROWL, - ICO_BTN_ARROWR, - ICO_BTN_UPDATE, - ICO_BTN_OK, - ICO_BTN_CANCEL, -// ICO_BTN_APPLY, - ICO_BTN_EDIT, - ICO_BTN_EDITON, - ICO_BTN_COPY, - ICO_BTN_BBC, - ICO_BTN_BBCLNK, - ICO_BTN_DOWNARROW, - ICO_BTN_END_, -}; -#define GetIconHandle(ico) ICONS[ico].hIcolib -#define GetIcon(ico) IcoLib_GetIconByHandle(GetIconHandle(ico)) -extern IconItem ICONS[ICO_END_]; -#define GetIconBtnHandle(ico) ICONS_BTN[ico].hIcolib -#define GetIconBtn(ico) IcoLib_GetIconByHandle(GetIconBtnHandle(ico)) -extern IconItem ICONS_BTN[ICO_BTN_END_]; - -#define PtrIsValid(p) (((p)!=0)&&(((HANDLE)(p))!=INVALID_HANDLE_VALUE)) -#define MIR_FREE(p) {if (PtrIsValid(p)){mir_free((void*)p);(p)=NULL;}} -#ifdef _DEBUG -# define DBGMSG(str,...) do{char tmp[1024];sprintf(tmp,str,##__VA_ARGS__);OutputDebugStringA(tmp);}while(0) -#else -# define DBGMSG(str,...) -#endif - -template -std::basic_string<_Elem> replace(const std::basic_string<_Elem> & Origninal, const std::basic_string<_Elem> & What, const std::basic_string<_Elem> & With) -{ - std::basic_string<_Elem> res; - size_t l = 0; - for (size_t p = Origninal.find(What.c_str(), 0); p != std::basic_string<_Elem>::npos; p = Origninal.find(What.c_str(), l)) - { - if (l != p) - res.append(Origninal.c_str() + l, p - l); - res.append(With); - l = p + What.length(); - } - if (l < Origninal.length()) - res.append(Origninal.c_str() + l); - - return res; -} - -#endif diff --git a/plugins/SendScreenshotPlus/src/mir_string.cpp b/plugins/SendScreenshotPlus/src/mir_string.cpp index 0a11dfa287..a363f21415 100644 --- a/plugins/SendScreenshotPlus/src/mir_string.cpp +++ b/plugins/SendScreenshotPlus/src/mir_string.cpp @@ -25,7 +25,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "global.h" +#include "stdafx.h" //--------------------------------------------------------------------------- void mir_stradd(char* &pszDest, const char* pszSrc) diff --git a/plugins/SendScreenshotPlus/src/stdafx.cpp b/plugins/SendScreenshotPlus/src/stdafx.cpp deleted file mode 100644 index 93691c05e8..0000000000 --- a/plugins/SendScreenshotPlus/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "global.h" \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/src/stdafx.cxx b/plugins/SendScreenshotPlus/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SendScreenshotPlus/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/src/stdafx.h b/plugins/SendScreenshotPlus/src/stdafx.h new file mode 100644 index 0000000000..cec50a38c3 --- /dev/null +++ b/plugins/SendScreenshotPlus/src/stdafx.h @@ -0,0 +1,185 @@ +/* + +Miranda NG: the free IM client for Microsoft* Windows* + +Copyright (с) 2012-15 Miranda NG project (http://miranda-ng.org), +Copyright (c) 2000-09 Miranda ICQ/IM project, + +This file is part of Send Screenshot Plus, a Miranda IM plugin. +Copyright (c) 2010 Ing.U.Horn + +Parts of this file based on original sorce code +(c) 2004-2006 Sérgio Vieira Rolanski (portet from Borland C++) + +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. +*/ +#ifndef _GLOBAL_H_ +#define _GLOBAL_H_ + +#define _CRT_SECURE_NO_WARNINGS +#define OEMRESOURCE + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +using namespace std; + +#ifdef ComboBox_SelectItemData + // use Workaround for MS bug ComboBox_SelectItemData; + #undef ComboBox_SelectItemData +#endif + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#include "mir_string.h" +#include "ctrl_button.h" +#include "dlg_msgbox.h" +#include "resource.h" +#include "version.h" +#include "CSend.h" +#include "CSendEmail.h" +#include "CSendFile.h" +#include "CSendFTPFile.h" +#include "CSendHTTPServer.h" +#include "CSendDropbox.h" +#include "CSendHost_ImageShack.h" +#include "CSendHost_uploadpie.h" +#include "CSendHost_imgur.h" +#include "DevKey.h" +#include "UMainForm.h" +#include "UAboutForm.h" +#include "Utils.h" + +#define UM_CLOSING WM_USER+1 +#define UM_EVENT WM_USER+2 + +// Generic Message Box for Errors +#define MSGERROR(text) MessageBox(NULL, text, _T("SendSS"), MB_OK | MB_ICONERROR) +#define MSGINFO (text) MessageBox(NULL, text, _T("SendSS"), MB_OK | MB_ICONINFORMATION) + +typedef struct _MGLOBAL { + DWORD mirandaVersion; // mirandaVersion + BOOLEAN PopupExist : 1; // Popup or MS_POPUP_ADDPOPUP exist + BOOLEAN PopupActionsExist : 1; // Popup++ or MS_POPUP_REGISTERACTIONS exist + BOOLEAN PluginHTTPExist : 1; // HTTPServer or MS_HTTP_ACCEPT_CONNECTIONS exist + BOOLEAN PluginFTPExist : 1; // FTPFile or MS_FTPFILE_SHAREFILE exist + BOOLEAN PluginDropboxExist : 1; // Dropbox or MS_DROPBOX_SEND_FILE exists + +} MGLOBAL, *LPMGLOBAL; + +//--------------------------------------------------------------------------- +#define ERROR_TITLE TranslateT("SendScreenshot - Error") + +// Miranda Database Key +#define SZ_SENDSS "SendSS" + +extern ATOM g_clsTargetHighlighter; +extern HINSTANCE g_hSendSS; +extern MGLOBAL g_myGlobals; +extern HANDLE g_hNetlibUser; + + +enum{ + ICO_MAIN=0, + ICO_MAINXS, + ICO_TARGET, + ICO_MONITOR, + ICO_END_, + ICO_BTN_HELP=0, + ICO_BTN_FOLDER, + ICO_BTN_DESC, + ICO_BTN_DESCON, + ICO_BTN_DEL, + ICO_BTN_DELON, + ICO_BTN_ARROWL, + ICO_BTN_ARROWR, + ICO_BTN_UPDATE, + ICO_BTN_OK, + ICO_BTN_CANCEL, +// ICO_BTN_APPLY, + ICO_BTN_EDIT, + ICO_BTN_EDITON, + ICO_BTN_COPY, + ICO_BTN_BBC, + ICO_BTN_BBCLNK, + ICO_BTN_DOWNARROW, + ICO_BTN_END_, +}; +#define GetIconHandle(ico) ICONS[ico].hIcolib +#define GetIcon(ico) IcoLib_GetIconByHandle(GetIconHandle(ico)) +extern IconItem ICONS[ICO_END_]; +#define GetIconBtnHandle(ico) ICONS_BTN[ico].hIcolib +#define GetIconBtn(ico) IcoLib_GetIconByHandle(GetIconBtnHandle(ico)) +extern IconItem ICONS_BTN[ICO_BTN_END_]; + +#define PtrIsValid(p) (((p)!=0)&&(((HANDLE)(p))!=INVALID_HANDLE_VALUE)) +#define MIR_FREE(p) {if (PtrIsValid(p)){mir_free((void*)p);(p)=NULL;}} +#ifdef _DEBUG +# define DBGMSG(str,...) do{char tmp[1024];sprintf(tmp,str,##__VA_ARGS__);OutputDebugStringA(tmp);}while(0) +#else +# define DBGMSG(str,...) +#endif + +template +std::basic_string<_Elem> replace(const std::basic_string<_Elem> & Origninal, const std::basic_string<_Elem> & What, const std::basic_string<_Elem> & With) +{ + std::basic_string<_Elem> res; + size_t l = 0; + for (size_t p = Origninal.find(What.c_str(), 0); p != std::basic_string<_Elem>::npos; p = Origninal.find(What.c_str(), l)) + { + if (l != p) + res.append(Origninal.c_str() + l, p - l); + res.append(With); + l = p + What.length(); + } + if (l < Origninal.length()) + res.append(Origninal.c_str() + l); + + return res; +} + +#endif diff --git a/plugins/Sessions/Sessions.vcxproj b/plugins/Sessions/Sessions.vcxproj new file mode 100644 index 0000000000..a4592706ac --- /dev/null +++ b/plugins/Sessions/Sessions.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {37C2B9A4-63EF-49E8-BF23-677B5EBD73E9} + Sessions + + + + + \ No newline at end of file diff --git a/plugins/Sessions/Sessions.vcxproj.filters b/plugins/Sessions/Sessions.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/Sessions/Sessions.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/Sessions/Sessions_10.vcxproj b/plugins/Sessions/Sessions_10.vcxproj deleted file mode 100644 index 2724c03cb4..0000000000 --- a/plugins/Sessions/Sessions_10.vcxproj +++ /dev/null @@ -1,204 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {37C2B9A4-63EF-49E8-BF23-677B5EBD73E9} - Sessions - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - AnySuitable - true - true - Use - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - sessions.h - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - false - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - AnySuitable - true - true - Use - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - sessions.h - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - false - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - %(AdditionalOptions) - MultiThreadedDebugDLL - Use - Level3 - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Disabled - sessions.h - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - false - Windows - $(ProfileDir)..\..\bin10\lib - - - - - %(AdditionalOptions) - Disabled - MultiThreadedDebugDLL - Use - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - sessions.h - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - false - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Create - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Sessions/Sessions_10.vcxproj.filters b/plugins/Sessions/Sessions_10.vcxproj.filters deleted file mode 100644 index 8119802ffc..0000000000 --- a/plugins/Sessions/Sessions_10.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {7924bb78-e0e0-41a9-bef3-21ee81d65e4e} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {69bb5ab9-e440-4eb0-87c5-ab15198f3f7d} - h;hpp;hxx;hm;inl - - - {b6a581e7-b460-4f40-b782-acff3afc0a00} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Sessions/Sessions_12.vcxproj b/plugins/Sessions/Sessions_12.vcxproj deleted file mode 100644 index b064929579..0000000000 --- a/plugins/Sessions/Sessions_12.vcxproj +++ /dev/null @@ -1,207 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {37C2B9A4-63EF-49E8-BF23-677B5EBD73E9} - Sessions - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - AnySuitable - true - true - Use - Level4 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - sessions.h - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - false - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - AnySuitable - true - true - Use - Level4 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - sessions.h - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - false - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - %(AdditionalOptions) - MultiThreadedDebugDLL - Use - Level4 - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Disabled - sessions.h - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - false - Windows - $(ProfileDir)..\..\bin12\lib - false - - - - - %(AdditionalOptions) - Disabled - MultiThreadedDebugDLL - Use - Level4 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - sessions.h - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - false - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Create - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Sessions/Sessions_12.vcxproj.filters b/plugins/Sessions/Sessions_12.vcxproj.filters deleted file mode 100644 index 8119802ffc..0000000000 --- a/plugins/Sessions/Sessions_12.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {7924bb78-e0e0-41a9-bef3-21ee81d65e4e} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {69bb5ab9-e440-4eb0-87c5-ab15198f3f7d} - h;hpp;hxx;hm;inl - - - {b6a581e7-b460-4f40-b782-acff3afc0a00} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Sessions/Sessions_14.vcxproj b/plugins/Sessions/Sessions_14.vcxproj deleted file mode 100644 index 7be6b4ddb5..0000000000 --- a/plugins/Sessions/Sessions_14.vcxproj +++ /dev/null @@ -1,207 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {37C2B9A4-63EF-49E8-BF23-677B5EBD73E9} - Sessions - - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - AnySuitable - true - true - Use - Level4 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - sessions.h - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - false - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - AnySuitable - true - true - Use - Level4 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Size - sessions.h - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - 0x67100000 - $(IntDir)$(TargetName).lib - true - true - false - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - %(AdditionalOptions) - MultiThreadedDebugDLL - Use - Level4 - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - Disabled - sessions.h - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - false - Windows - $(ProfileDir)..\..\bin14\lib - false - - - - - %(AdditionalOptions) - Disabled - MultiThreadedDebugDLL - Use - Level4 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - sessions.h - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - 0x67100000 - $(IntDir)$(TargetName).lib - false - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Create - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/Sessions/Sessions_14.vcxproj.filters b/plugins/Sessions/Sessions_14.vcxproj.filters deleted file mode 100644 index 8119802ffc..0000000000 --- a/plugins/Sessions/Sessions_14.vcxproj.filters +++ /dev/null @@ -1,53 +0,0 @@ - - - - - {7924bb78-e0e0-41a9-bef3-21ee81d65e4e} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {69bb5ab9-e440-4eb0-87c5-ab15198f3f7d} - h;hpp;hxx;hm;inl - - - {b6a581e7-b460-4f40-b782-acff3afc0a00} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/Sessions/Src/Main.cpp b/plugins/Sessions/Src/Main.cpp index 403ff76dd1..73afb9408d 100644 --- a/plugins/Sessions/Src/Main.cpp +++ b/plugins/Sessions/Src/Main.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sessions.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE g_hInst = NULL; diff --git a/plugins/Sessions/Src/Options.cpp b/plugins/Sessions/Src/Options.cpp index 0828c6928a..4618c1661d 100644 --- a/plugins/Sessions/Src/Options.cpp +++ b/plugins/Sessions/Src/Options.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sessions.h" +#include "stdafx.h" HICON hIcon; HICON hMarked, hNotMarked; diff --git a/plugins/Sessions/Src/Sessions.h b/plugins/Sessions/Src/Sessions.h deleted file mode 100644 index f76831d72e..0000000000 --- a/plugins/Sessions/Src/Sessions.h +++ /dev/null @@ -1,75 +0,0 @@ -/* -Sessions Management plugin for Miranda IM - -Copyright (C) 2007-2008 Danil Mozhar - -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 3 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, see . -*/ - -#define _CRT_SECURE_NO_DEPRECATE - -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "Utils.h" -#include "Version.h" -#include "Resource.h" - -#define MODNAME "Sessions" - -#define MS_SESSIONS_LAUNCHME "Sessions/Service/LaunchMe" - -extern IconItem iconList[]; - -#define MIIM_STRING 0x00000040 - -int DelUserDefSession(int ses_count); -int DeleteAutoSession(int ses_count); -int LoadSession(WPARAM, LPARAM); -int SaveSessionHandles(WPARAM, LPARAM); -INT_PTR SaveUserSessionHandles(WPARAM, LPARAM); -int SaveUserSessionName(TCHAR*); -INT_PTR CloseCurrentSession(WPARAM, LPARAM); -int SaveSessionDate(); - -extern HINSTANCE g_hInst; -extern MCONTACT session_list_recovered[255]; -extern MCONTACT session_list[255]; -extern int g_ses_limit; -extern int g_ses_count; -extern bool g_bExclHidden; -extern bool g_bWarnOnHidden; -extern bool g_bOtherWarnings; -extern bool g_bCrashRecovery; -extern bool g_bIncompletedSave; - -#define TIMERID_LOAD 12 -#define TIMERID_SHOW 11 -#define TIMERID_REBUILDAFTER 14 diff --git a/plugins/Sessions/Src/Utils.cpp b/plugins/Sessions/Src/Utils.cpp index 039c508fb7..a79a3baebc 100644 --- a/plugins/Sessions/Src/Utils.cpp +++ b/plugins/Sessions/Src/Utils.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "sessions.h" +#include "stdafx.h" void AddSessionMark(MCONTACT hContact, int mode, char bit) { diff --git a/plugins/Sessions/Src/stdafx.cpp b/plugins/Sessions/Src/stdafx.cpp deleted file mode 100644 index 1e74afcbe3..0000000000 --- a/plugins/Sessions/Src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "Sessions.h" \ No newline at end of file diff --git a/plugins/Sessions/Src/stdafx.cxx b/plugins/Sessions/Src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/Sessions/Src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/Sessions/Src/stdafx.h b/plugins/Sessions/Src/stdafx.h new file mode 100644 index 0000000000..f76831d72e --- /dev/null +++ b/plugins/Sessions/Src/stdafx.h @@ -0,0 +1,75 @@ +/* +Sessions Management plugin for Miranda IM + +Copyright (C) 2007-2008 Danil Mozhar + +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 3 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, see . +*/ + +#define _CRT_SECURE_NO_DEPRECATE + +#include +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "Utils.h" +#include "Version.h" +#include "Resource.h" + +#define MODNAME "Sessions" + +#define MS_SESSIONS_LAUNCHME "Sessions/Service/LaunchMe" + +extern IconItem iconList[]; + +#define MIIM_STRING 0x00000040 + +int DelUserDefSession(int ses_count); +int DeleteAutoSession(int ses_count); +int LoadSession(WPARAM, LPARAM); +int SaveSessionHandles(WPARAM, LPARAM); +INT_PTR SaveUserSessionHandles(WPARAM, LPARAM); +int SaveUserSessionName(TCHAR*); +INT_PTR CloseCurrentSession(WPARAM, LPARAM); +int SaveSessionDate(); + +extern HINSTANCE g_hInst; +extern MCONTACT session_list_recovered[255]; +extern MCONTACT session_list[255]; +extern int g_ses_limit; +extern int g_ses_count; +extern bool g_bExclHidden; +extern bool g_bWarnOnHidden; +extern bool g_bOtherWarnings; +extern bool g_bCrashRecovery; +extern bool g_bIncompletedSave; + +#define TIMERID_LOAD 12 +#define TIMERID_SHOW 11 +#define TIMERID_REBUILDAFTER 14 diff --git a/plugins/SimpleAR/SimpleAR.vcxproj b/plugins/SimpleAR/SimpleAR.vcxproj new file mode 100644 index 0000000000..a0975fbfe9 --- /dev/null +++ b/plugins/SimpleAR/SimpleAR.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {06C44834-7B7A-4074-A6D8-7F163B3FF707} + SimpleAR + + + + + \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR.vcxproj.filters b/plugins/SimpleAR/SimpleAR.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/SimpleAR/SimpleAR.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR_10.vcxproj b/plugins/SimpleAR/SimpleAR_10.vcxproj deleted file mode 100644 index c517421f5b..0000000000 --- a/plugins/SimpleAR/SimpleAR_10.vcxproj +++ /dev/null @@ -1,190 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {06C44834-7B7A-4074-A6D8-7F163B3FF707} - SimpleAR - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - Common.h - Level3 - EditAndContinue - MultiThreadedDebugDLL - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - AnySuitable - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - Use - Common.h - Level3 - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - Common.h - Level3 - MultiThreadedDebugDLL - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - AnySuitable - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - Use - Common.h - Level3 - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR_10.vcxproj.filters b/plugins/SimpleAR/SimpleAR_10.vcxproj.filters deleted file mode 100644 index 59b6032bc6..0000000000 --- a/plugins/SimpleAR/SimpleAR_10.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR_12.vcxproj b/plugins/SimpleAR/SimpleAR_12.vcxproj deleted file mode 100644 index c87ef65a85..0000000000 --- a/plugins/SimpleAR/SimpleAR_12.vcxproj +++ /dev/null @@ -1,193 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {06C44834-7B7A-4074-A6D8-7F163B3FF707} - SimpleAR - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - Common.h - Level3 - EditAndContinue - MultiThreadedDebugDLL - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - AnySuitable - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - Use - Common.h - Level3 - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin12\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - Common.h - Level3 - MultiThreadedDebugDLL - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - AnySuitable - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - Use - Common.h - Level3 - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin12\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR_12.vcxproj.filters b/plugins/SimpleAR/SimpleAR_12.vcxproj.filters deleted file mode 100644 index 59b6032bc6..0000000000 --- a/plugins/SimpleAR/SimpleAR_12.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR_14.vcxproj b/plugins/SimpleAR/SimpleAR_14.vcxproj deleted file mode 100644 index 55cb123822..0000000000 --- a/plugins/SimpleAR/SimpleAR_14.vcxproj +++ /dev/null @@ -1,193 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {06C44834-7B7A-4074-A6D8-7F163B3FF707} - SimpleAR - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - Common.h - Level3 - EditAndContinue - MultiThreadedDebugDLL - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - AnySuitable - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - Use - Common.h - Level3 - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin14\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Use - Common.h - Level3 - MultiThreadedDebugDLL - - - true - Windows - false - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Full - AnySuitable - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - Use - Common.h - Level3 - - - Windows - true - true - false - $(IntDir)$(TargetName).lib - true - $(ProfileDir)..\..\bin14\lib - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SimpleAR/SimpleAR_14.vcxproj.filters b/plugins/SimpleAR/SimpleAR_14.vcxproj.filters deleted file mode 100644 index 59b6032bc6..0000000000 --- a/plugins/SimpleAR/SimpleAR_14.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SimpleAR/src/Common.h b/plugins/SimpleAR/src/Common.h deleted file mode 100644 index 3e92e6867d..0000000000 --- a/plugins/SimpleAR/src/Common.h +++ /dev/null @@ -1,32 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include - -#include "Resource.h" -#include "Version.h" - -#define protocolname "SimpleAutoReplier" //no spaces here :) - -#define KEY_ENABLED "Enabled" -#define KEY_HEADING "Heading" -#define KEY_REPEATINTERVAL "RepeatInterval" - -//General -extern HINSTANCE hinstance; -extern INT interval; -extern TCHAR *ptszDefaultMsg[6]; -extern HGENMENU hEnableMenu; -extern IconItemT iconList[]; - -extern INT OptInit(WPARAM wParam, LPARAM lParam); diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index 196fc1b722..569eff1d9f 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -14,7 +14,7 @@ Miranda ICQ: the free icq client for MS Windows Copyright (C) 2000-2 Richard Hughes, Roland Rabien & Tristan Van de Vreede */ -#include "Common.h" +#include "stdafx.h" CLIST_INTERFACE *pcli; HINSTANCE hinstance; diff --git a/plugins/SimpleAR/src/Options.cpp b/plugins/SimpleAR/src/Options.cpp index 81e896d3d9..23c41e10ca 100644 --- a/plugins/SimpleAR/src/Options.cpp +++ b/plugins/SimpleAR/src/Options.cpp @@ -1,4 +1,4 @@ -#include "Common.h" +#include "stdafx.h" TCHAR* ptszMessage[6]={0}; INT lastIndex=-1; diff --git a/plugins/SimpleAR/src/stdafx.cpp b/plugins/SimpleAR/src/stdafx.cpp deleted file mode 100644 index c5fe5abaad..0000000000 --- a/plugins/SimpleAR/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "common.h" \ No newline at end of file diff --git a/plugins/SimpleAR/src/stdafx.cxx b/plugins/SimpleAR/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SimpleAR/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SimpleAR/src/stdafx.h b/plugins/SimpleAR/src/stdafx.h new file mode 100644 index 0000000000..99e944ebe6 --- /dev/null +++ b/plugins/SimpleAR/src/stdafx.h @@ -0,0 +1,30 @@ +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include + +#include "Resource.h" +#include "Version.h" + +#define protocolname "SimpleAutoReplier" //no spaces here :) + +#define KEY_ENABLED "Enabled" +#define KEY_HEADING "Heading" +#define KEY_REPEATINTERVAL "RepeatInterval" + +//General +extern HINSTANCE hinstance; +extern INT interval; +extern TCHAR *ptszDefaultMsg[6]; +extern HGENMENU hEnableMenu; +extern IconItemT iconList[]; + +extern INT OptInit(WPARAM wParam, LPARAM lParam); diff --git a/plugins/SimpleStatusMsg/simplestatusmsg.vcxproj b/plugins/SimpleStatusMsg/simplestatusmsg.vcxproj new file mode 100644 index 0000000000..845f92102f --- /dev/null +++ b/plugins/SimpleStatusMsg/simplestatusmsg.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + SimpleStatusMsg + {D3D80E27-D099-41EC-AFB2-A891A33F1608} + + + + + \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg.vcxproj.filters b/plugins/SimpleStatusMsg/simplestatusmsg.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/SimpleStatusMsg/simplestatusmsg.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj b/plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj deleted file mode 100644 index a24214fac8..0000000000 --- a/plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj +++ /dev/null @@ -1,218 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SimpleStatusMsg - {D3D80E27-D099-41EC-AFB2-A891A33F1608} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - EditAndContinue - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - 0x3ab00000 - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - 0x3ab00000 - $(ProfileDir)..\..\bin10\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - true - true - 0x3ab00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - true - true - 0x3ab00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj.filters b/plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj.filters deleted file mode 100644 index c9e41148e2..0000000000 --- a/plugins/SimpleStatusMsg/simplestatusmsg_10.vcxproj.filters +++ /dev/null @@ -1,59 +0,0 @@ - - - - - {f92a9951-1818-4755-9280-646f9e75ed9e} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {eb57c612-24d9-49f3-bc59-ddcb10eea749} - h;hpp;hxx;hm;inl - - - {0dbf023c-69ee-4bc3-b830-47b713155501} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj b/plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj deleted file mode 100644 index 4a33f9e968..0000000000 --- a/plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj +++ /dev/null @@ -1,221 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SimpleStatusMsg - {D3D80E27-D099-41EC-AFB2-A891A33F1608} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - EditAndContinue - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - 0x3ab00000 - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - 0x3ab00000 - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - true - true - 0x3ab00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - true - true - 0x3ab00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj.filters b/plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj.filters deleted file mode 100644 index c9e41148e2..0000000000 --- a/plugins/SimpleStatusMsg/simplestatusmsg_12.vcxproj.filters +++ /dev/null @@ -1,59 +0,0 @@ - - - - - {f92a9951-1818-4755-9280-646f9e75ed9e} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {eb57c612-24d9-49f3-bc59-ddcb10eea749} - h;hpp;hxx;hm;inl - - - {0dbf023c-69ee-4bc3-b830-47b713155501} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj b/plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj deleted file mode 100644 index e8018c37ff..0000000000 --- a/plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj +++ /dev/null @@ -1,221 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SimpleStatusMsg - {D3D80E27-D099-41EC-AFB2-A891A33F1608} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - EditAndContinue - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - 0x3ab00000 - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - Level3 - false - Use - commonheaders.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - false - $(IntDir)$(TargetName).lib - Windows - 0x3ab00000 - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - true - true - 0x3ab00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - true - Fast - Level3 - false - Use - commonheaders.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;%(AdditionalDependencies) - true - true - true - 0x3ab00000 - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - Create - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj.filters b/plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj.filters deleted file mode 100644 index c9e41148e2..0000000000 --- a/plugins/SimpleStatusMsg/simplestatusmsg_14.vcxproj.filters +++ /dev/null @@ -1,59 +0,0 @@ - - - - - {f92a9951-1818-4755-9280-646f9e75ed9e} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {eb57c612-24d9-49f3-bc59-ddcb10eea749} - h;hpp;hxx;hm;inl - - - {0dbf023c-69ee-4bc3-b830-47b713155501} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/src/awaymsg.cpp b/plugins/SimpleStatusMsg/src/awaymsg.cpp index b3c12e4415..3d227992f2 100644 --- a/plugins/SimpleStatusMsg/src/awaymsg.cpp +++ b/plugins/SimpleStatusMsg/src/awaymsg.cpp @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "commonheaders.h" +#include "stdafx.h" static HGENMENU hAwayMsgMenuItem, hCopyMsgMenuItem, hGoToURLMenuItem; static MWindowList hWindowList, hWindowList2; diff --git a/plugins/SimpleStatusMsg/src/commonheaders.h b/plugins/SimpleStatusMsg/src/commonheaders.h deleted file mode 100644 index 43f26c7e74..0000000000 --- a/plugins/SimpleStatusMsg/src/commonheaders.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - -Simple Status Message plugin for Miranda IM -Copyright (C) 2006-2011 Bartosz 'Dezeath' Biaek, (C) 2005 Harven - -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., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#define _CRT_SECURE_NO_WARNINGS - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -#include "simplestatusmsg.h" -#include "resource.h" -#include "Version.h" - -#define MTYPE_AUTOONLINE 0xE7 // Auto online message (internal only) -#define MTYPE_AUTOAWAY 0xE8 // Auto away message -#define MTYPE_AUTOBUSY 0xE9 // Auto occupied message -#define MTYPE_AUTONA 0xEA // Auto not available message -#define MTYPE_AUTODND 0xEB // Auto do not disturb message -#define MTYPE_AUTOFFC 0xEC // Auto free for chat message - -extern UINT_PTR g_uUpdateMsgTimer; -extern VOID CALLBACK UpdateMsgTimerProc(HWND, UINT, UINT_PTR, DWORD); -extern VOID APIENTRY HandlePopupMenu(HWND hwnd, POINT pt, HWND edit_control); diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index da01353b12..dc14c22ee8 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "commonheaders.h" +#include "stdafx.h" HINSTANCE g_hInst; diff --git a/plugins/SimpleStatusMsg/src/msgbox.cpp b/plugins/SimpleStatusMsg/src/msgbox.cpp index 62fae706de..b767cd4a9d 100644 --- a/plugins/SimpleStatusMsg/src/msgbox.cpp +++ b/plugins/SimpleStatusMsg/src/msgbox.cpp @@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "commonheaders.h" +#include "stdafx.h" #define I_ICON_DEL 0 #define I_ICON_HIST 1 diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp index 8710df7052..ab3133f1b3 100644 --- a/plugins/SimpleStatusMsg/src/options.cpp +++ b/plugins/SimpleStatusMsg/src/options.cpp @@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "commonheaders.h" +#include "stdafx.h" static void RebuildStatusMenu(void) { diff --git a/plugins/SimpleStatusMsg/src/stdafx.cpp b/plugins/SimpleStatusMsg/src/stdafx.cpp deleted file mode 100644 index 048b14e9d2..0000000000 --- a/plugins/SimpleStatusMsg/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "commonheaders.h" \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/src/stdafx.cxx b/plugins/SimpleStatusMsg/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SimpleStatusMsg/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SimpleStatusMsg/src/stdafx.h b/plugins/SimpleStatusMsg/src/stdafx.h new file mode 100644 index 0000000000..f793424d18 --- /dev/null +++ b/plugins/SimpleStatusMsg/src/stdafx.h @@ -0,0 +1,58 @@ +/* + +Simple Status Message plugin for Miranda IM +Copyright (C) 2006-2011 Bartosz 'Dezeath' Biaek, (C) 2005 Harven + +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., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include + +#include "simplestatusmsg.h" +#include "resource.h" +#include "Version.h" + +#define MTYPE_AUTOONLINE 0xE7 // Auto online message (internal only) +#define MTYPE_AUTOAWAY 0xE8 // Auto away message +#define MTYPE_AUTOBUSY 0xE9 // Auto occupied message +#define MTYPE_AUTONA 0xEA // Auto not available message +#define MTYPE_AUTODND 0xEB // Auto do not disturb message +#define MTYPE_AUTOFFC 0xEC // Auto free for chat message + +extern UINT_PTR g_uUpdateMsgTimer; +extern VOID CALLBACK UpdateMsgTimerProc(HWND, UINT, UINT_PTR, DWORD); +extern VOID APIENTRY HandlePopupMenu(HWND hwnd, POINT pt, HWND edit_control); diff --git a/plugins/SimpleStatusMsg/src/utils.cpp b/plugins/SimpleStatusMsg/src/utils.cpp index 4a32d2ffbc..81770581a9 100644 --- a/plugins/SimpleStatusMsg/src/utils.cpp +++ b/plugins/SimpleStatusMsg/src/utils.cpp @@ -18,7 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "commonheaders.h" +#include "stdafx.h" static LIST arProtoHooks(5); diff --git a/plugins/SkypeStatusChange/SkypeStatusChange.vcxproj b/plugins/SkypeStatusChange/SkypeStatusChange.vcxproj new file mode 100644 index 0000000000..29db046c5f --- /dev/null +++ b/plugins/SkypeStatusChange/SkypeStatusChange.vcxproj @@ -0,0 +1,28 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + SkypeStatusChange + {10F78F26-2B20-4158-869F-CB29533B4C2C} + + + + + \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange.vcxproj.filters b/plugins/SkypeStatusChange/SkypeStatusChange.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/SkypeStatusChange/SkypeStatusChange.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj b/plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj deleted file mode 100644 index 7041dc6bd8..0000000000 --- a/plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj +++ /dev/null @@ -1,209 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SkypeStatusChange - {10F78F26-2B20-4158-869F-CB29533B4C2C} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - false - Full - Level3 - true - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - OnlyExplicitInline - false - Size - false - stdafx.h - Use - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - stdafx.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - - - false - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Default - OnlyExplicitInline - Size - false - stdafx.h - Use - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - false - stdafx.h - Use - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin10\lib - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj.filters b/plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj.filters deleted file mode 100644 index 674c2e0d8e..0000000000 --- a/plugins/SkypeStatusChange/SkypeStatusChange_10.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {08a21636-368d-4feb-8d0d-0a27f237e1a2} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {9e6f20dc-3391-4299-9f74-e91d4f984ad3} - h;hpp;hxx;hm;inl - - - {18fd6180-ebb2-4558-b945-c4dac823f11b} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj b/plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj deleted file mode 100644 index bda58f3b36..0000000000 --- a/plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj +++ /dev/null @@ -1,212 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SkypeStatusChange - {10F78F26-2B20-4158-869F-CB29533B4C2C} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - false - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - OnlyExplicitInline - false - Size - stdafx.h - Use - false - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin12\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - stdafx.h - Use - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - false - - - - - false - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Default - OnlyExplicitInline - Size - stdafx.h - Use - false - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - stdafx.h - Use - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj.filters b/plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj.filters deleted file mode 100644 index 674c2e0d8e..0000000000 --- a/plugins/SkypeStatusChange/SkypeStatusChange_12.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {08a21636-368d-4feb-8d0d-0a27f237e1a2} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {9e6f20dc-3391-4299-9f74-e91d4f984ad3} - h;hpp;hxx;hm;inl - - - {18fd6180-ebb2-4558-b945-c4dac823f11b} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj b/plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj deleted file mode 100644 index b205e8a064..0000000000 --- a/plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj +++ /dev/null @@ -1,212 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SkypeStatusChange - {10F78F26-2B20-4158-869F-CB29533B4C2C} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - false - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - OnlyExplicitInline - false - Size - stdafx.h - Use - false - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - true - true - false - $(ProfileDir)..\..\bin14\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - true - EditAndContinue - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - stdafx.h - Use - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - false - - - - - false - Full - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - Default - OnlyExplicitInline - Size - stdafx.h - Use - false - true - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - - - MultiThreadedDebugDLL - false - Disabled - Level3 - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - stdafx.h - Use - false - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - true - true - Windows - 0x30040000 - $(IntDir)$(TargetName).lib - false - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - - - - - - Create - - - - - - \ No newline at end of file diff --git a/plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj.filters b/plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj.filters deleted file mode 100644 index 674c2e0d8e..0000000000 --- a/plugins/SkypeStatusChange/SkypeStatusChange_14.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {08a21636-368d-4feb-8d0d-0a27f237e1a2} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {9e6f20dc-3391-4299-9f74-e91d4f984ad3} - h;hpp;hxx;hm;inl - - - {18fd6180-ebb2-4558-b945-c4dac823f11b} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - - - Source Files - - - Source Files - - - Source Files - - - \ No newline at end of file diff --git a/plugins/SkypeStatusChange/src/stdafx.cpp b/plugins/SkypeStatusChange/src/stdafx.cpp deleted file mode 100644 index 6fb37564b7..0000000000 --- a/plugins/SkypeStatusChange/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SkypeStatusChange/src/stdafx.cxx b/plugins/SkypeStatusChange/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SkypeStatusChange/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SkypeStatusChange/src/stdafx.h b/plugins/SkypeStatusChange/src/stdafx.h index 5a2c296f1e..934eccdbb4 100644 --- a/plugins/SkypeStatusChange/src/stdafx.h +++ b/plugins/SkypeStatusChange/src/stdafx.h @@ -1,5 +1,3 @@ -#define _CRT_SECURE_NO_WARNINGS - #include #include #include diff --git a/plugins/SmileyAdd/SmileyAdd.vcxproj b/plugins/SmileyAdd/SmileyAdd.vcxproj new file mode 100644 index 0000000000..49fdc3d353 --- /dev/null +++ b/plugins/SmileyAdd/SmileyAdd.vcxproj @@ -0,0 +1,33 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + SmileyAdd + {5BBA7E51-B494-4462-BC4F-1AE5F57F9857} + + + + + + + ..\stdafx.h + + + \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd.vcxproj.filters b/plugins/SmileyAdd/SmileyAdd.vcxproj.filters new file mode 100644 index 0000000000..de5ad9f66c --- /dev/null +++ b/plugins/SmileyAdd/SmileyAdd.vcxproj.filters @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd_10.vcxproj b/plugins/SmileyAdd/SmileyAdd_10.vcxproj deleted file mode 100644 index f54d141214..0000000000 --- a/plugins/SmileyAdd/SmileyAdd_10.vcxproj +++ /dev/null @@ -1,250 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SmileyAdd - {5BBA7E51-B494-4462-BC4F-1AE5F57F9857} - - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Fast - Level3 - EditAndContinue - false - Use - general.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - Windows - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin10\lib - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Fast - Level3 - false - Use - general.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - - - Full - OnlyExplicitInline - Size - false - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Level3 - Cdecl - false - Use - general.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Level3 - Cdecl - false - Use - general.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - - - - - - - - - - - - ..\general.h - - - ..\general.h - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd_10.vcxproj.filters b/plugins/SmileyAdd/SmileyAdd_10.vcxproj.filters deleted file mode 100644 index 91917aaa92..0000000000 --- a/plugins/SmileyAdd/SmileyAdd_10.vcxproj.filters +++ /dev/null @@ -1,128 +0,0 @@ - - - - - {293a7f44-7469-4a9f-8f6e-5615ff66771a} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {bf1493ea-a6cc-4923-befa-2586a750c0fd} - h;hpp;hxx;hm;inl - - - {f30ee13d-9b85-424d-bdb9-c991748ed97c} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd_12.vcxproj b/plugins/SmileyAdd/SmileyAdd_12.vcxproj deleted file mode 100644 index c9f20021af..0000000000 --- a/plugins/SmileyAdd/SmileyAdd_12.vcxproj +++ /dev/null @@ -1,253 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SmileyAdd - {5BBA7E51-B494-4462-BC4F-1AE5F57F9857} - - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Fast - Level3 - EditAndContinue - false - Use - general.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - Windows - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin12\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Fast - Level3 - false - Use - general.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - Size - false - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Level3 - Cdecl - false - Use - general.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Level3 - Cdecl - false - Use - general.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - - - - - - - - - - - - ..\general.h - - - ..\general.h - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd_12.vcxproj.filters b/plugins/SmileyAdd/SmileyAdd_12.vcxproj.filters deleted file mode 100644 index 91917aaa92..0000000000 --- a/plugins/SmileyAdd/SmileyAdd_12.vcxproj.filters +++ /dev/null @@ -1,128 +0,0 @@ - - - - - {293a7f44-7469-4a9f-8f6e-5615ff66771a} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {bf1493ea-a6cc-4923-befa-2586a750c0fd} - h;hpp;hxx;hm;inl - - - {f30ee13d-9b85-424d-bdb9-c991748ed97c} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd_14.vcxproj b/plugins/SmileyAdd/SmileyAdd_14.vcxproj deleted file mode 100644 index c38e47df6f..0000000000 --- a/plugins/SmileyAdd/SmileyAdd_14.vcxproj +++ /dev/null @@ -1,253 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - SmileyAdd - {5BBA7E51-B494-4462-BC4F-1AE5F57F9857} - - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - DynamicLibrary - Unicode - true - v140_xp - - - DynamicLibrary - Unicode - v140_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Fast - Level3 - EditAndContinue - false - Use - general.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - Windows - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - $(ProfileDir)..\..\bin14\lib - false - - - - - Disabled - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Fast - Level3 - false - Use - general.h - - - _DEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - Size - false - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Level3 - Cdecl - false - Use - general.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - Full - OnlyExplicitInline - Size - ..\..\include;..\ExternalAPI;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - false - false - Fast - Level3 - Cdecl - false - Use - general.h - - - NDEBUG;%(PreprocessorDefinitions) - ..\..\include\msapi - - - comctl32.lib;gdiplus.lib;%(AdditionalDependencies) - true - true - 0x28110000 - false - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin14\lib - - - - - - - - - - - - - - ..\general.h - - - ..\general.h - - - - - - - - - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/SmileyAdd/SmileyAdd_14.vcxproj.filters b/plugins/SmileyAdd/SmileyAdd_14.vcxproj.filters deleted file mode 100644 index 91917aaa92..0000000000 --- a/plugins/SmileyAdd/SmileyAdd_14.vcxproj.filters +++ /dev/null @@ -1,128 +0,0 @@ - - - - - {293a7f44-7469-4a9f-8f6e-5615ff66771a} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {bf1493ea-a6cc-4923-befa-2586a750c0fd} - h;hpp;hxx;hm;inl - - - {f30ee13d-9b85-424d-bdb9-c991748ed97c} - ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - - - Resource Files - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/SmileyAdd/src/AniSmileyObject.cpp b/plugins/SmileyAdd/src/AniSmileyObject.cpp index 0e7d0e9594..9411da6b6b 100644 --- a/plugins/SmileyAdd/src/AniSmileyObject.cpp +++ b/plugins/SmileyAdd/src/AniSmileyObject.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" class CAniSmileyObject; diff --git a/plugins/SmileyAdd/src/SmileyBase.cpp b/plugins/SmileyAdd/src/SmileyBase.cpp index b2d496c347..69af533942 100644 --- a/plugins/SmileyAdd/src/SmileyBase.cpp +++ b/plugins/SmileyAdd/src/SmileyBase.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" static void HiMetricToPixel(const SIZEL * lpSizeInHiMetric, LPSIZEL lpSizeInPix) { diff --git a/plugins/SmileyAdd/src/anim.cpp b/plugins/SmileyAdd/src/anim.cpp index 46b66000aa..9ad5f9b7eb 100644 --- a/plugins/SmileyAdd/src/anim.cpp +++ b/plugins/SmileyAdd/src/anim.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" Animate::Animate(SmileyType *sml, RECT& rect, HDC hdcMem, HBRUSH hbr, bool clip) : m_sml(sml), diff --git a/plugins/SmileyAdd/src/customsmiley.cpp b/plugins/SmileyAdd/src/customsmiley.cpp index 894545ed74..0b725d6a9f 100644 --- a/plugins/SmileyAdd/src/customsmiley.cpp +++ b/plugins/SmileyAdd/src/customsmiley.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" SmileyPackCListType g_SmileyPackCStore; diff --git a/plugins/SmileyAdd/src/dlgboxsubclass.cpp b/plugins/SmileyAdd/src/dlgboxsubclass.cpp index 06fe5e161e..05cdc7343e 100644 --- a/plugins/SmileyAdd/src/dlgboxsubclass.cpp +++ b/plugins/SmileyAdd/src/dlgboxsubclass.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" //***************************************************// // DISCLAIMER!!! diff --git a/plugins/SmileyAdd/src/download.cpp b/plugins/SmileyAdd/src/download.cpp index 338b84d279..47ec9317b9 100644 --- a/plugins/SmileyAdd/src/download.cpp +++ b/plugins/SmileyAdd/src/download.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" HANDLE hNetlibUser; static HANDLE hFolder; diff --git a/plugins/SmileyAdd/src/general.cpp b/plugins/SmileyAdd/src/general.cpp index fd4bca89cc..1416db2f6b 100644 --- a/plugins/SmileyAdd/src/general.cpp +++ b/plugins/SmileyAdd/src/general.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" static ULONG_PTR g_gdiplusToken = 0; static bool gdiPlusFail = false; diff --git a/plugins/SmileyAdd/src/general.h b/plugins/SmileyAdd/src/general.h deleted file mode 100644 index 964eea0f8b..0000000000 --- a/plugins/SmileyAdd/src/general.h +++ /dev/null @@ -1,192 +0,0 @@ -/* -Miranda SmileyAdd Plugin -Copyright (C) 2005 - 2011 Boris Krasnovskiy -Copyright (C) 2003 - 2004 Rein-Peter de Boer - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#ifndef _GENERAL_ -#define _GENERAL_ - -#define _CRT_SECURE_NO_WARNINGS -#define _SCL_SECURE_NO_WARNINGS - -#define _HAS_EXCEPTIONS 0 -#define _SECURE_SCL 0 -#define _SECURE_SCL_THROWS 0 -#define _STRALIGN_USE_SECURE_CRT 0 -#define _NO_EXCEPTIONS -#define _CRTDBG_MAP_ALLOC - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#define NETLIB_NOLOGGING - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include "regexp\wcpattern.h" -#include "regexp\wcmatcher.h" - -typedef WCPattern _TPattern; -typedef WCMatcher _TMatcher; -#define createTMatcher createWCMatcher - -#include "resource.h" -#include "version.h" -#include "imagecache.h" -#include "smileys.h" -#include "customsmiley.h" -#include "services.h" -#include "options.h" -#include "download.h" -#include "anim.h" -#include "SmileyBase.h" -#include "smileyroutines.h" -#include "smltool.h" - -extern HINSTANCE g_hInst; -extern HANDLE hNetlibUser; -extern HANDLE hEvent1; -extern HGENMENU hContactMenuItem; -extern SmileyCategoryListType g_SmileyCategories; -extern SmileyPackListType g_SmileyPacks; -extern LIST menuHandleArray; - -#define IDC_SMLBUTTON (WM_USER + 33) - -/////////////////////////////////////////////////// -// -//defines from miranda im sources (undocumented!) -// -#define MI_IDC_LOG 1001 //rich edit -#define MI_IDC_MESSAGE 1002 //edit control -#define MI_IDC_QUOTE 1034 //button control -#define MI_IDC_NAME 1009 //text control -#define MI_IDC_ADD 1070 //Add button. - -#define DM_REMAKELOG (WM_USER + 11) -#define DM_OPTIONSAPPLIED (WM_USER + 14) -#define DM_APPENDTOLOG (WM_USER + 17) - -#define WM_REMAKERICH (WM_USER + 0x3457) - -///////////////////////////////////////////////////// - -#define MAX_SMILEY_LENGTH 96 - -class A2W_SM -{ -public: - wchar_t* m_psz; - - A2W_SM(const char* psz, unsigned nCodePage = CP_ACP) - { - const int nLength = MultiByteToWideChar(nCodePage, 0, psz, -1, NULL, 0); - m_psz = new wchar_t[nLength]; - MultiByteToWideChar(nCodePage, 0, psz, -1, m_psz, nLength); - } - ~A2W_SM() { delete [] m_psz; } - operator wchar_t*() const { return m_psz; } -}; - - -class W2A_SM -{ -public: - char* m_psz; - - W2A_SM(const wchar_t* psz, unsigned nCodePage = CP_ACP) - { - const int nLength = WideCharToMultiByte(nCodePage, 0, psz, -1, NULL, 0, NULL, NULL); - m_psz = new char[nLength]; - WideCharToMultiByte(nCodePage, 0, psz, -1, m_psz, nLength, NULL, NULL); - } - ~W2A_SM() { delete [] m_psz; } - operator char*() const { return m_psz; } -}; - -#define T2A_SM (char*)W2A_SM -#define T2W_SM(p1) (wchar_t*)p1 -#define A2T_SM (wchar_t*)A2W_SM -#define W2T_SM(p1) (TCHAR*)p1 - -// init functions -void InstallDialogBoxHook(void); -void RemoveDialogBoxHook(void); -int UpdateSrmmDlg(WPARAM wParam, LPARAM lParam); -bool IsOldSrmm(void); - -//functions for general use (defined in general.cpp) -int CalculateTextHeight(HDC hdc, CHARFORMAT2* chf); -const TCHAR* GetImageExt(CMString &fname); - -MCONTACT DecodeMetaContact(MCONTACT hContact); -bool IsSmileyProto(char* proto); - -HICON ImageList_GetIconFixed (HIMAGELIST himl, INT i, UINT fStyle); - -void pathToRelative(const CMString& pSrc, CMString& pOut); -void pathToAbsolute(const CMString& pSrc, CMString& pOut); - -bool InitGdiPlus(void); -void DestroyGdiPlus(void); - -void ReportError(const TCHAR* errmsg); -HICON GetDefaultIcon(bool copy = true); - -void CloseRichCallback(HWND hwnd); -void CloseRichOwnerCallback(HWND hwnd); -bool SetRichCallback(HWND hwnd, MCONTACT hContact, bool subany, bool subnew); -void SetRichOwnerCallback(HWND hwnd, HWND hwndInput, HWND hwndLog); -void ProcessAllInputAreas(bool restoreText); -void RichEditData_Destroy(void); - -void CloseSmileys(void); -void DestroyAniSmileys(void); - -void UrlDecode(char* str); - -#endif diff --git a/plugins/SmileyAdd/src/imagecache.cpp b/plugins/SmileyAdd/src/imagecache.cpp index e9cd07afa6..9ad9aaa8a0 100644 --- a/plugins/SmileyAdd/src/imagecache.cpp +++ b/plugins/SmileyAdd/src/imagecache.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" static FI_INTERFACE *fei; diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp index b375da5499..a162557236 100644 --- a/plugins/SmileyAdd/src/main.cpp +++ b/plugins/SmileyAdd/src/main.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" //globals HINSTANCE g_hInst; diff --git a/plugins/SmileyAdd/src/options.cpp b/plugins/SmileyAdd/src/options.cpp index 0d219b0dbe..c57af0a88a 100644 --- a/plugins/SmileyAdd/src/options.cpp +++ b/plugins/SmileyAdd/src/options.cpp @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" OptionsType opt; diff --git a/plugins/SmileyAdd/src/regexp/WCMatcher.cpp b/plugins/SmileyAdd/src/regexp/WCMatcher.cpp index 8311c039ef..3cd0808373 100644 --- a/plugins/SmileyAdd/src/regexp/WCMatcher.cpp +++ b/plugins/SmileyAdd/src/regexp/WCMatcher.cpp @@ -1,4 +1,4 @@ -#include "..\general.h" +#include "..\stdafx.h" const int WCMatcher::MATCH_ENTIRE_STRING = 0x01; diff --git a/plugins/SmileyAdd/src/regexp/WCPattern.cpp b/plugins/SmileyAdd/src/regexp/WCPattern.cpp index 3081143e75..f2b128c980 100644 --- a/plugins/SmileyAdd/src/regexp/WCPattern.cpp +++ b/plugins/SmileyAdd/src/regexp/WCPattern.cpp @@ -23,7 +23,7 @@ @version 1.07.00 */ -#include "..\general.h" +#include "..\stdafx.h" std::map WCPattern::compiledWCPatterns; std::map > WCPattern::registeredWCPatterns; diff --git a/plugins/SmileyAdd/src/richcall.cpp b/plugins/SmileyAdd/src/richcall.cpp index 9257a6c796..e38a3eeec0 100644 --- a/plugins/SmileyAdd/src/richcall.cpp +++ b/plugins/SmileyAdd/src/richcall.cpp @@ -16,7 +16,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" struct RichEditData { diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index 0822108f9b..41d34a9775 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" LIST menuHandleArray(5); diff --git a/plugins/SmileyAdd/src/smileyroutines.cpp b/plugins/SmileyAdd/src/smileyroutines.cpp index 20b7dcc85d..0f337b892a 100644 --- a/plugins/SmileyAdd/src/smileyroutines.cpp +++ b/plugins/SmileyAdd/src/smileyroutines.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" ISmileyBase* CreateSmileyObject(SmileyType* sml); ISmileyBase* CreateAniSmileyObject(SmileyType* sml, COLORREF clr, bool ishpp); diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp index c2a688ae97..6de0bb0b2e 100644 --- a/plugins/SmileyAdd/src/smileys.cpp +++ b/plugins/SmileyAdd/src/smileys.cpp @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" SmileyPackListType g_SmileyPacks; SmileyCategoryListType g_SmileyCategories; diff --git a/plugins/SmileyAdd/src/smltool.cpp b/plugins/SmileyAdd/src/smltool.cpp index e8adc50c89..f4b6c9ba5d 100644 --- a/plugins/SmileyAdd/src/smltool.cpp +++ b/plugins/SmileyAdd/src/smltool.cpp @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "general.h" +#include "stdafx.h" #define SB_MYMOVE 20 diff --git a/plugins/SmileyAdd/src/stdafx.cpp b/plugins/SmileyAdd/src/stdafx.cpp deleted file mode 100644 index 340d477dc9..0000000000 --- a/plugins/SmileyAdd/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "general.h" \ No newline at end of file diff --git a/plugins/SmileyAdd/src/stdafx.cxx b/plugins/SmileyAdd/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/SmileyAdd/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/SmileyAdd/src/stdafx.h b/plugins/SmileyAdd/src/stdafx.h new file mode 100644 index 0000000000..287a1ccf17 --- /dev/null +++ b/plugins/SmileyAdd/src/stdafx.h @@ -0,0 +1,191 @@ +/* +Miranda SmileyAdd Plugin +Copyright (C) 2005 - 2011 Boris Krasnovskiy +Copyright (C) 2003 - 2004 Rein-Peter de Boer + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#ifndef _GENERAL_ +#define _GENERAL_ + +#define _SCL_SECURE_NO_WARNINGS + +#define _HAS_EXCEPTIONS 0 +#define _SECURE_SCL 0 +#define _SECURE_SCL_THROWS 0 +#define _STRALIGN_USE_SECURE_CRT 0 +#define _NO_EXCEPTIONS +#define _CRTDBG_MAP_ALLOC + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#define NETLIB_NOLOGGING + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "regexp\wcpattern.h" +#include "regexp\wcmatcher.h" + +typedef WCPattern _TPattern; +typedef WCMatcher _TMatcher; +#define createTMatcher createWCMatcher + +#include "resource.h" +#include "version.h" +#include "imagecache.h" +#include "smileys.h" +#include "customsmiley.h" +#include "services.h" +#include "options.h" +#include "download.h" +#include "anim.h" +#include "SmileyBase.h" +#include "smileyroutines.h" +#include "smltool.h" + +extern HINSTANCE g_hInst; +extern HANDLE hNetlibUser; +extern HANDLE hEvent1; +extern HGENMENU hContactMenuItem; +extern SmileyCategoryListType g_SmileyCategories; +extern SmileyPackListType g_SmileyPacks; +extern LIST menuHandleArray; + +#define IDC_SMLBUTTON (WM_USER + 33) + +/////////////////////////////////////////////////// +// +//defines from miranda im sources (undocumented!) +// +#define MI_IDC_LOG 1001 //rich edit +#define MI_IDC_MESSAGE 1002 //edit control +#define MI_IDC_QUOTE 1034 //button control +#define MI_IDC_NAME 1009 //text control +#define MI_IDC_ADD 1070 //Add button. + +#define DM_REMAKELOG (WM_USER + 11) +#define DM_OPTIONSAPPLIED (WM_USER + 14) +#define DM_APPENDTOLOG (WM_USER + 17) + +#define WM_REMAKERICH (WM_USER + 0x3457) + +///////////////////////////////////////////////////// + +#define MAX_SMILEY_LENGTH 96 + +class A2W_SM +{ +public: + wchar_t* m_psz; + + A2W_SM(const char* psz, unsigned nCodePage = CP_ACP) + { + const int nLength = MultiByteToWideChar(nCodePage, 0, psz, -1, NULL, 0); + m_psz = new wchar_t[nLength]; + MultiByteToWideChar(nCodePage, 0, psz, -1, m_psz, nLength); + } + ~A2W_SM() { delete [] m_psz; } + operator wchar_t*() const { return m_psz; } +}; + + +class W2A_SM +{ +public: + char* m_psz; + + W2A_SM(const wchar_t* psz, unsigned nCodePage = CP_ACP) + { + const int nLength = WideCharToMultiByte(nCodePage, 0, psz, -1, NULL, 0, NULL, NULL); + m_psz = new char[nLength]; + WideCharToMultiByte(nCodePage, 0, psz, -1, m_psz, nLength, NULL, NULL); + } + ~W2A_SM() { delete [] m_psz; } + operator char*() const { return m_psz; } +}; + +#define T2A_SM (char*)W2A_SM +#define T2W_SM(p1) (wchar_t*)p1 +#define A2T_SM (wchar_t*)A2W_SM +#define W2T_SM(p1) (TCHAR*)p1 + +// init functions +void InstallDialogBoxHook(void); +void RemoveDialogBoxHook(void); +int UpdateSrmmDlg(WPARAM wParam, LPARAM lParam); +bool IsOldSrmm(void); + +//functions for general use (defined in general.cpp) +int CalculateTextHeight(HDC hdc, CHARFORMAT2* chf); +const TCHAR* GetImageExt(CMString &fname); + +MCONTACT DecodeMetaContact(MCONTACT hContact); +bool IsSmileyProto(char* proto); + +HICON ImageList_GetIconFixed (HIMAGELIST himl, INT i, UINT fStyle); + +void pathToRelative(const CMString& pSrc, CMString& pOut); +void pathToAbsolute(const CMString& pSrc, CMString& pOut); + +bool InitGdiPlus(void); +void DestroyGdiPlus(void); + +void ReportError(const TCHAR* errmsg); +HICON GetDefaultIcon(bool copy = true); + +void CloseRichCallback(HWND hwnd); +void CloseRichOwnerCallback(HWND hwnd); +bool SetRichCallback(HWND hwnd, MCONTACT hContact, bool subany, bool subnew); +void SetRichOwnerCallback(HWND hwnd, HWND hwndInput, HWND hwndLog); +void ProcessAllInputAreas(bool restoreText); +void RichEditData_Destroy(void); + +void CloseSmileys(void); +void DestroyAniSmileys(void); + +void UrlDecode(char* str); + +#endif -- cgit v1.2.3