diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2012-12-28 14:27:17 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2012-12-28 14:27:17 +0000 |
commit | f1000598cfdd80dc4dc0eb9bb1a0e3e142137856 (patch) | |
tree | 807d47b213577381d36dd0bc608a4ab7b9c9426c /protocols/Skype/src/skype_subclassing.h | |
parent | 564aadb3ff4757c2d5af86dc00f606e96b2c7ae4 (diff) |
- code refactoring
- added account registration
- temporary disabled chatrooms
git-svn-id: http://svn.miranda-ng.org/main/trunk@2869 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.h')
-rw-r--r-- | protocols/Skype/src/skype_subclassing.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_subclassing.h b/protocols/Skype/src/skype_subclassing.h index 0993cde7d9..694fce2c56 100644 --- a/protocols/Skype/src/skype_subclassing.h +++ b/protocols/Skype/src/skype_subclassing.h @@ -26,6 +26,8 @@ public: typedef DRefs<CParticipant, Participant> Refs;
CParticipant(unsigned int oid, SERootObject* root);
+
+ static SEString GetRankName(CParticipant::RANK rank);
};
class CConversation : public Conversation
@@ -58,7 +60,9 @@ public: typedef DRefs<CContact, Contact> Refs;
CContact(unsigned int oid, SERootObject* root);
-
+
+ /*bool SentAuthRequest(SEString message);*/
+
void SetOnContactChangedCallback(OnContactChanged callback, CSkypeProto* proto);
private:
@@ -152,6 +156,8 @@ public: void SetOnMessageCallback(OnMessaged callback, CSkypeProto* proto);
+ static CSkype *GetInstance(HINSTANCE hInstance, const wchar_t *profileName, const wchar_t *dbPath);
+
private:
CSkypeProto* proto;
OnMessaged onMessagedCallback;
@@ -161,4 +167,8 @@ private: const bool & changesInboxTimestamp,
const MessageRef & supersedesHistoryMessage,
const ConversationRef & conversation);
+
+ static BOOL IsRunAsAdmin();
+ static char *LoadKeyPair(HINSTANCE hInstance);
+ static int StartSkypeRuntime(HINSTANCE hInstance, const wchar_t *profileName, int &port, const wchar_t *dbPath);
};
\ No newline at end of file |