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/UMainForm.h | |
parent | b2eb0ef7a0f7f2b2bae0a48966038a673701df21 (diff) |
SendSS: Reworking settings (#1144)
CloudFile: fix upload service
Db_autobackups: fix build
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.h')
-rw-r--r-- | plugins/SendScreenshotPlus/src/UMainForm.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.h b/plugins/SendScreenshotPlus/src/UMainForm.h index cc43ed7da5..3a0a7435bd 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.h +++ b/plugins/SendScreenshotPlus/src/UMainForm.h @@ -34,12 +34,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define SS_EMAIL 2 #define SS_HTTPSERVER 3 #define SS_FTPFILE 4 -#define SS_DROPBOX 5 +#define SS_CLOUDFILE 5 #define SS_IMAGESHACK 6 -#define SS_UPLOADPIE_30M 7 -#define SS_UPLOADPIE_1D 8 -#define SS_UPLOADPIE_1W 9 -#define SS_IMGUR 10 +#define SS_UPLOADPIE 7 +#define SS_IMGUR 8 + +struct UPLOAD_INFO +{ + BYTE sendBy; //SS_* + void *param; + + UPLOAD_INFO(BYTE sb) : sendBy(sb), param(nullptr) { } + UPLOAD_INFO(BYTE sb, void *p) : sendBy(sb), param(p) { } +}; // Used for our own cheap TrackMouseEvent #define BUTTON_POLLDELAY 50 @@ -82,7 +89,7 @@ public: void Hide(){ ShowWindow(m_hWnd, SW_HIDE); } void SetTargetWindow(HWND hwnd = NULL); void btnCaptureClick(); - void cboxSendByChange(); + void cboxSendByChange(void *param); private: HWND m_hWnd; |