From 46ceba4a74c107aa085ce199857b9fe1d9cf3f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Fri, 11 Apr 2014 19:25:34 +0000 Subject: SendSS: + new host "Upload Pie" with support to expiring uploads: 30 minutes, 1 day or 1 week might not be perfect because this was a quick edit... * updated CSend's HTTP post stuff to support integer values (CSend,CSendImageShack) git-svn-id: http://svn.miranda-ng.org/main/trunk@8959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../SendScreenshotPlus/src/CSendHost_uploadpie.h | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/SendScreenshotPlus/src/CSendHost_uploadpie.h (limited to 'plugins/SendScreenshotPlus/src/CSendHost_uploadpie.h') diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.h b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.h new file mode 100644 index 0000000000..24ebd2d882 --- /dev/null +++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.h @@ -0,0 +1,28 @@ +/* + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2014 Miranda NG project (http://miranda-ng.org) + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. +*/ +#ifndef _CSEND_HOST_UPLOADPIE_H +#define _CSEND_HOST_UPLOADPIE_H +class CSendHost_UploadPie : public CSend { + public: + CSendHost_UploadPie(HWND Owner, MCONTACT hContact, bool bAsync, int expire); + ~CSendHost_UploadPie(); + int Send(); + protected: + int m_expire; + NETLIBHTTPREQUEST m_nlhr; + static void SendThread(void* obj); +}; +#endif -- cgit v1.2.3