From 814ff2e2b838bdefb42f2af358f358446025c8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Sat, 28 Jun 2014 23:29:27 +0000 Subject: SendSS v0.8.6.0: + imgur.com support by user requests (anonymous upload only) (CSendHost_imgur,CSend,global.h,UMainForm) this also include basic functions for JSON parsing (currently only JSON without spaces and arrays) (CSend) SSL/HTTPS support for HTTPFormCreate (CSend) support for custom headers in HTTPFormCreate (CSend) * updated ImageShack related filenames. * very minor misc code changes and improvements (comments, error messages) git-svn-id: http://svn.miranda-ng.org/main/trunk@9606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/CSendHost_imgur.h | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/SendScreenshotPlus/src/CSendHost_imgur.h (limited to 'plugins/SendScreenshotPlus/src/CSendHost_imgur.h') diff --git a/plugins/SendScreenshotPlus/src/CSendHost_imgur.h b/plugins/SendScreenshotPlus/src/CSendHost_imgur.h new file mode 100644 index 0000000000..84223ec9f4 --- /dev/null +++ b/plugins/SendScreenshotPlus/src/CSendHost_imgur.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_IMGUR_H +#define _CSEND_HOST_IMGUR_H +class CSendHost_Imgur : public CSend { +// API: http://api.imgur.com/endpoints/image + public: + CSendHost_Imgur(HWND Owner, MCONTACT hContact, bool bAsync); + ~CSendHost_Imgur(); + int Send(); + protected: + NETLIBHTTPREQUEST m_nlhr; + static void SendThread(void* obj); +}; +#endif -- cgit v1.2.3