diff options
author | aunsane <aunsane@gmail.com> | 2018-02-24 15:19:44 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-02-24 15:19:44 +0300 |
commit | 1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (patch) | |
tree | d7e1520cb74d662afe839f54eb7b54d2c01c7d3e /plugins/SendScreenshotPlus/src/CSendCloduFile.h | |
parent | b2eb0ef7a0f7f2b2bae0a48966038a673701df21 (diff) |
SendSS: Reworking settings (#1144)
CloudFile: fix upload service
Db_autobackups: fix build
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendCloduFile.h')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendCloduFile.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendCloduFile.h b/plugins/SendScreenshotPlus/src/CSendCloduFile.h new file mode 100644 index 0000000000..d638823789 --- /dev/null +++ b/plugins/SendScreenshotPlus/src/CSendCloduFile.h @@ -0,0 +1,51 @@ +/* + +Miranda NG: the free IM client for Microsoft* Windows* + +Copyright (c) 2012-18 Miranda NG team (https://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 _CSEND_DROPBOX_FILE_H +#define _CSEND_DROPBOX_FILE_H + +#include "Utils.h" + +class CSendCloudFile : public CSend +{ + +public: + CSendCloudFile(HWND Owner, MCONTACT hContact, bool bAsync, const char *service); + ~CSendCloudFile(); + + int Send() override; + +protected: + const char *m_service; + + void SendThread(); + static void SendThreadWrapper(void *Obj); + static int OnDropAck(void*, WPARAM, LPARAM); +}; + +#endif |