#pragma once #include "common.h" class CAccount : public Account { public: typedef void (CSkypeProto::* OnAccountChanged)(int); typedef DRef Ref; typedef DRefs Refs; CAccount(CSkypeProto*, unsigned int oid, SERootObject* root); bool IsOnline(); bool SetAvatar(SEBinary avatar, Skype::VALIDATERESULT &result); private: CSkypeProto* ppro; void OnChange(int prop); };