From 43ab22c6b58eccb328b1c738e6d7aa8e171e9d3f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 14 Feb 2017 15:34:13 +0300 Subject: - fixes #712 (chaos in file name processing) - massive code cleaning --- plugins/SendScreenshotPlus/src/CSendHTTPServer.h | 36 +++++++++++------------- 1 file changed, 16 insertions(+), 20 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/CSendHTTPServer.h') diff --git a/plugins/SendScreenshotPlus/src/CSendHTTPServer.h b/plugins/SendScreenshotPlus/src/CSendHTTPServer.h index 258e17df27..3df6d84a36 100644 --- a/plugins/SendScreenshotPlus/src/CSendHTTPServer.h +++ b/plugins/SendScreenshotPlus/src/CSendHTTPServer.h @@ -29,31 +29,27 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #ifndef _CSEND_HTTP_SERVER_H #define _CSEND_HTTP_SERVER_H -//--------------------------------------------------------------------------- -class CSendHTTPServer : public CSend { - public: - // Deklaration Standardkonstruktor/Standarddestructor - CSendHTTPServer(HWND Owner, MCONTACT hContact, bool bAsync); - ~CSendHTTPServer(); +class CSendHTTPServer : public CSend +{ +public: + // Deklaration Standardkonstruktor/Standarddestructor + CSendHTTPServer(HWND Owner, MCONTACT hContact, bool bAsync); + ~CSendHTTPServer(); - int Send(); + int Send(); - protected: - char* m_pszFileName; - char* m_fsi_pszSrvPath; - char* m_fsi_pszRealPath; +protected: + char* m_pszFileName; + char* m_fsi_pszSrvPath; + char* m_fsi_pszRealPath; - STFileShareInfo m_fsi; + STFileShareInfo m_fsi; - void SendThread(); - static void SendThreadWrapper(void * Obj); + void SendThread(); + static void SendThreadWrapper(void * Obj); - typedef std::map CContactMapping; - static CContactMapping _CContactMapping; - -// static INT_PTR MyCallService(const char *name, WPARAM wParam, LPARAM lParam); + typedef std::map CContactMapping; + static CContactMapping _CContactMapping; }; -//--------------------------------------------------------------------------- - #endif -- cgit v1.2.3