summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/Services/yandex_service.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-02-19 00:00:03 +0300
committeraunsane <aunsane@gmail.com>2018-02-19 00:00:20 +0300
commit46e398c0d295f3d33fe4c0450c36e1fc45a95616 (patch)
tree727617421cce4e6cc7f0863b4c4fcf367e135a10 /plugins/CloudFile/src/Services/yandex_service.h
parent66c4ae72a70a6e155c4a2a6d14c91c532cdb3974 (diff)
CloudFile: added support for the usual accounts system(#1144)
Diffstat (limited to 'plugins/CloudFile/src/Services/yandex_service.h')
-rw-r--r--plugins/CloudFile/src/Services/yandex_service.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/Services/yandex_service.h b/plugins/CloudFile/src/Services/yandex_service.h
index 85c0ad12de..09c06d9a24 100644
--- a/plugins/CloudFile/src/Services/yandex_service.h
+++ b/plugins/CloudFile/src/Services/yandex_service.h
@@ -16,10 +16,13 @@ private:
void CreateSharedLink(const char *path, char *url);
public:
- CYandexService(HNETLIBUSER hConnection);
+ CYandexService(const char *protoName, const wchar_t *userName);
+
+ static CYandexService* Init(const char *szModuleName, const wchar_t *szUserName);
+ static int UnInit(CYandexService*);
+
+ const char* GetModuleName() const override;
- const char* GetModule() const;
- const wchar_t* GetText() const;
int GetIconId() const;
bool IsLoggedIn();