summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-07-24 13:35:19 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-07-24 13:35:19 +0000
commit05b9e876bcbda86441b52d528b6875a7d211e734 (patch)
tree8a3bcd9d664b523589576c1cf1204753f8af4ee3 /protocols/SkypeWeb/src/skype_proto.h
parent9ea1fabf1643f117b46ee44d359084fe77bfd4f2 (diff)
SkypeWeb: More fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h41
1 files changed, 15 insertions, 26 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index d88b54c102..1540ac4c8c 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -21,23 +21,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
typedef void(CSkypeProto::*SkypeResponseCallback)(const NETLIBHTTPREQUEST *response);
typedef void(CSkypeProto::*SkypeResponseWithArgCallback)(const NETLIBHTTPREQUEST *response, void *arg);
-struct TRInfo
-{
- std::string socketIo,
- connId,
- st,
- se,
- instance,
- ccid,
- sessId,
- sig,
- url;
-};
-
struct CSkypeProto : public PROTO < CSkypeProto >
{
- friend CSkypePasswordEditor;
-
public:
//////////////////////////////////////////////////////////////////////////////////////
@@ -97,29 +82,33 @@ public:
static mir_cs accountsLock;
private:
- char *password;
RequestQueue *requestQueue;
- bool isTerminated;
+
+ bool isTerminated,
+ HistorySynced;
std::map<std::string, std::string> cookies;
- HANDLE m_pollingConnection, m_hPollingThread, m_hTrouterThread, m_TrouterConnection, m_hTrouterEvent, m_hCallHook;
static std::map<std::tstring, std::tstring> languages;
- static INT_PTR CALLBACK PasswordEditorProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
-
- bool HistorySynced;
+ HANDLE m_pollingConnection,
+ m_hPollingThread,
+ m_hTrouterThread,
+ m_TrouterConnection,
+ m_hTrouterEvent,
+ m_hCallHook;
TRInfo TRouter;
- HANDLE
- m_hPopupClassCall,
- m_hPopupClassNotify;
+ LIST <void> m_PopupClasses;
// accounts
- ptrA m_szServer, m_szRegToken, m_szTokenSecret, m_szEndpointId, m_szSelfSkypeName;
+ ptrA m_szServer,
+ m_szRegToken,
+ m_szTokenSecret,
+ m_szEndpointId,
+ m_szSelfSkypeName;
static CSkypeProto* GetContactAccount(MCONTACT hContact);
-
int __cdecl OnAccountLoaded(WPARAM, LPARAM);
INT_PTR __cdecl OnAccountManagerInit(WPARAM, LPARAM);