From ab4ac1ba8910c3974b4cfb2af3434e5263cdc8bd Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 28 Aug 2016 14:24:23 +0000 Subject: SendScreenshot: - Fixed FTPFile support git-svn-id: http://svn.miranda-ng.org/main/trunk@17215 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_ftpfile.h | 6 ------ plugins/SendScreenshotPlus/src/Main.cpp | 2 +- plugins/SendScreenshotPlus/src/stdafx.h | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/plugins/ExternalAPI/m_ftpfile.h b/plugins/ExternalAPI/m_ftpfile.h index a51e1cd037..691cd5f384 100644 --- a/plugins/ExternalAPI/m_ftpfile.h +++ b/plugins/ExternalAPI/m_ftpfile.h @@ -110,10 +110,4 @@ __inline static INT_PTR FTPFileShowManager() return CallService(MS_FTPFILE_SHOWMANAGER, 0, 0); } -// -// OBSOLOTE SERVICE (used by Send Screenshot plugin) -// Do NOT use it! -// -#define MS_FTPFILE_SHAREFILE "FTPFile/ShareFiles" - #endif \ No newline at end of file diff --git a/plugins/SendScreenshotPlus/src/Main.cpp b/plugins/SendScreenshotPlus/src/Main.cpp index 045bcbff2c..2b5804e009 100644 --- a/plugins/SendScreenshotPlus/src/Main.cpp +++ b/plugins/SendScreenshotPlus/src/Main.cpp @@ -228,7 +228,7 @@ int hook_ModulesLoaded(WPARAM, LPARAM) g_myGlobals.PopupExist = ServiceExists(MS_POPUP_ADDPOPUPT); g_myGlobals.PopupActionsExist = ServiceExists(MS_POPUP_REGISTERACTIONS); g_myGlobals.PluginHTTPExist = ServiceExists(MS_HTTP_ACCEPT_CONNECTIONS); - g_myGlobals.PluginFTPExist = ServiceExists(MS_FTPFILE_SHAREFILE); + g_myGlobals.PluginFTPExist = ServiceExists(MS_FTPFILE_UPLOAD); g_myGlobals.PluginDropboxExist = ServiceExists(MS_DROPBOX_UPLOAD); // Netlib register NETLIBUSER nlu = { sizeof(nlu) }; diff --git a/plugins/SendScreenshotPlus/src/stdafx.h b/plugins/SendScreenshotPlus/src/stdafx.h index 2b003979e8..5a079657bf 100644 --- a/plugins/SendScreenshotPlus/src/stdafx.h +++ b/plugins/SendScreenshotPlus/src/stdafx.h @@ -105,7 +105,7 @@ typedef struct _MGLOBAL { 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 PluginFTPExist : 1; // FTPFile or MS_FTPFILE_UPLOAD exist BOOLEAN PluginDropboxExist : 1; // Dropbox or MS_DROPBOX_SEND_FILE exists } MGLOBAL, *LPMGLOBAL; -- cgit v1.2.3