summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/cloud_file.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-02-28 23:31:19 +0300
committeraunsane <aunsane@gmail.com>2018-02-28 23:34:28 +0300
commit98be8c0a0db8d4866535028e21a5d958c3d893ab (patch)
treef4de203d8fa1af0023621ede8316c7641499510c /plugins/CloudFile/src/cloud_file.h
parent107bbe53ce937334d8a47ca96e632f5a1f965725 (diff)
CloudFile: cannot see cloud accounts after setup (fixed #1169)
Diffstat (limited to 'plugins/CloudFile/src/cloud_file.h')
-rw-r--r--plugins/CloudFile/src/cloud_file.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/CloudFile/src/cloud_file.h b/plugins/CloudFile/src/cloud_file.h
index 678aabc86f..ebf6a6c6fe 100644
--- a/plugins/CloudFile/src/cloud_file.h
+++ b/plugins/CloudFile/src/cloud_file.h
@@ -11,8 +11,8 @@ enum OnConflict
class CCloudService : public PROTO<CCloudService>
{
protected:
- int id;
- HNETLIBUSER hConnection;
+ int m_hLangpack;
+ HNETLIBUSER m_hConnection;
// utils
char* PreparePath(const char *oldPath, char *newPath);
@@ -31,11 +31,14 @@ public:
virtual ~CCloudService();
DWORD_PTR __cdecl GetCaps(int type, MCONTACT) override;
+ int __cdecl OnEvent(PROTOEVENTTYPE iEventType, WPARAM, LPARAM) override;
+
int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer) override;
HANDLE __cdecl SendFile(MCONTACT hContact, const wchar_t *msg, wchar_t **ppszFiles) override;
static INT_PTR SendFileInterceptor(WPARAM wParam, LPARAM lParam);
+ int GetId() const;
virtual const char* GetModuleName() const = 0;
const char* GetAccountName() const;
const wchar_t* GetUserName() const;