From a2184eb00d2b02d48ec14e72615736281b9d5f81 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 23 Apr 2013 19:47:32 +0000 Subject: - changed project file structure - skype runtime initialization moved to plugin load func - fixed password encription - disabled message sync git-svn-id: http://svn.miranda-ng.org/main/trunk@4518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skypekit/contact.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 protocols/Skype/src/skypekit/contact.h (limited to 'protocols/Skype/src/skypekit/contact.h') diff --git a/protocols/Skype/src/skypekit/contact.h b/protocols/Skype/src/skypekit/contact.h new file mode 100644 index 0000000000..ee36764c50 --- /dev/null +++ b/protocols/Skype/src/skypekit/contact.h @@ -0,0 +1,26 @@ +#pragma once + +#include "common.h" + +class CContact : public Contact +{ +public: + typedef void (CSkypeProto::* OnContactChanged)(CContact::Ref contact, int); + + typedef DRef Ref; + typedef DRefs Refs; + + CContact(unsigned int oid, SERootObject* root); + + SEString GetSid(); + SEString GetNick(); + bool GetFullname(SEString &firstName, SEString &lastName); + + void SetOnContactChangedCallback(OnContactChanged callback, CSkypeProto* proto); + +private: + CSkypeProto* proto; + OnContactChanged callback; + + void OnChange(int prop); +}; \ No newline at end of file -- cgit v1.2.3