diff options
Diffstat (limited to 'protocols/CloudFile/src/cloud_file.h')
-rw-r--r-- | protocols/CloudFile/src/cloud_file.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/protocols/CloudFile/src/cloud_file.h b/protocols/CloudFile/src/cloud_file.h index 4a5b91da72..ca08335b02 100644 --- a/protocols/CloudFile/src/cloud_file.h +++ b/protocols/CloudFile/src/cloud_file.h @@ -8,11 +8,12 @@ enum OnConflict REPLACE, }; +#define PS_UPLOAD "/Upload" + class CCloudService : public PROTO<CCloudService> { protected: HPLUGIN m_pPlugin; - HNETLIBUSER m_hConnection; // utils std::string PreparePath(const std::string &path) const; @@ -28,6 +29,8 @@ protected: JSONNode GetJsonResponse(MHttpResponse *response); + INT_PTR __cdecl UploadMenuCommand(WPARAM, LPARAM); + virtual void Upload(FileTransferParam *ftp) = 0; public: @@ -43,8 +46,6 @@ public: HPLUGIN GetId() const; virtual const char* GetModuleName() const = 0; - const char* GetAccountName() const; - const wchar_t* GetUserName() const; virtual int GetIconId() const = 0; @@ -54,7 +55,8 @@ public: void OpenUploadDialog(MCONTACT hContact); + static int UnInit(PROTO_INTERFACE *); static UINT Upload(CCloudService *service, FileTransferParam *ftp); }; -#endif //_CLOUD_SERVICE_H_
\ No newline at end of file +#endif //_CLOUD_SERVICE_H_ |