summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/oauth.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-03 12:31:44 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-03 12:32:36 +0200
commit48cb59cb5687303a608903259bb10eb9e6a9ee36 (patch)
treee7ef1bda96cac9fb9ed59ce7a29477a3d262c50e /plugins/CloudFile/src/oauth.h
parent89a1dbcab6947a68d81dd048e5d91cebdb0c2510 (diff)
CloudFile: thread functions rewritten using PROTO::ForkThread
Diffstat (limited to 'plugins/CloudFile/src/oauth.h')
-rw-r--r--plugins/CloudFile/src/oauth.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/oauth.h b/plugins/CloudFile/src/oauth.h
index 5107047749..7c71cf005c 100644
--- a/plugins/CloudFile/src/oauth.h
+++ b/plugins/CloudFile/src/oauth.h
@@ -3,9 +3,8 @@
class COAuthDlg : public CDlgBase
{
-private:
CCloudService *m_service;
- pThreadFuncOwner m_requestAccessTokenThread;
+ CCloudService::MyThreadFunc m_requestAccessTokenThread;
CCtrlHyperlink m_authorize;
CCtrlEdit m_code;
@@ -18,7 +17,7 @@ protected:
void Ok_OnClick(CCtrlButton*);
public:
- COAuthDlg(CCloudService *service, const char *authUrl, pThreadFuncOwner requestAccessTokenThread);
+ COAuthDlg(CCloudService *service, const char *authUrl, CCloudService::MyThreadFunc requestAccessTokenThread);
};
#endif //_OAUTH_H_ \ No newline at end of file