summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/cloud_file.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-11 21:32:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-11 21:33:11 +0300
commitf719c8b921c7a46b76453476204224d40c682914 (patch)
treec6d92dc450893e7f5abe60c2046ec9c2d1e3db36 /plugins/CloudFile/src/cloud_file.h
parent16ad355c8bdc438c3107ee3ba3ad0bf0b8c395fa (diff)
int hLangpack/m_hLang removed and replaced with HPLUGIN
Diffstat (limited to 'plugins/CloudFile/src/cloud_file.h')
-rw-r--r--plugins/CloudFile/src/cloud_file.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/cloud_file.h b/plugins/CloudFile/src/cloud_file.h
index f16d5affe4..1e70671054 100644
--- a/plugins/CloudFile/src/cloud_file.h
+++ b/plugins/CloudFile/src/cloud_file.h
@@ -11,7 +11,7 @@ enum OnConflict
class CCloudService : public PROTO<CCloudService>
{
protected:
- int m_hLangpack;
+ HPLUGIN m_pPlugin;
HNETLIBUSER m_hConnection;
INT_PTR __cdecl OnAccountManagerInit(WPARAM, LPARAM);
@@ -34,7 +34,7 @@ protected:
public:
std::map<MCONTACT, HWND> InterceptedContacts;
- CCloudService(const char *protoName, const wchar_t *userName);
+ CCloudService(const char *protoName, const wchar_t *userName, HPLUGIN);
virtual ~CCloudService();
INT_PTR GetCaps(int type, MCONTACT) override;
@@ -42,7 +42,7 @@ public:
int FileCancel(MCONTACT hContact, HANDLE hTransfer) override;
HANDLE SendFile(MCONTACT hContact, const wchar_t *msg, wchar_t **ppszFiles) override;
- int GetId() const;
+ HPLUGIN GetId() const;
virtual const char* GetModuleName() const = 0;
const char* GetAccountName() const;
const wchar_t* GetUserName() const;