summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendHost_imgur.h
blob: e8e790b785ae4bd418a96705be467527d529219c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                    Version 2, December 2004

 Copyright (C) 2014-18 Miranda NG team (https://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() override;

	protected:
		NETLIBHTTPREQUEST m_nlhr;
		static void SendThread(void* obj);
};
#endif