From 46e398c0d295f3d33fe4c0450c36e1fc45a95616 Mon Sep 17 00:00:00 2001 From: aunsane Date: Mon, 19 Feb 2018 00:00:03 +0300 Subject: CloudFile: added support for the usual accounts system(#1144) --- plugins/CloudFile/src/Services/google_service.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/CloudFile/src/Services/google_service.h') diff --git a/plugins/CloudFile/src/Services/google_service.h b/plugins/CloudFile/src/Services/google_service.h index 878fa8f442..3fb4634c4b 100644 --- a/plugins/CloudFile/src/Services/google_service.h +++ b/plugins/CloudFile/src/Services/google_service.h @@ -16,10 +16,13 @@ private: void CreateSharedLink(const char *itemId, char *url); public: - CGDriveService(HNETLIBUSER hConnection); + CGDriveService(const char *protoName, const wchar_t *userName); + + static CGDriveService* Init(const char *szModuleName, const wchar_t *szUserName); + static int UnInit(CGDriveService*); + + const char* GetModuleName() const override; - const char* GetModule() const; - const wchar_t* GetText() const; int GetIconId() const; bool IsLoggedIn(); -- cgit v1.2.3