#pragma once #include class CContact : public Contact { public: typedef DRef Ref; typedef DRefs Refs; CContact(unsigned int oid, SERootObject* root); protected: void OnChange(int prop); }; class CContactGroup : public ContactGroup { public: typedef DRef Ref; typedef DRefs Refs; CContactGroup(unsigned int oid, SERootObject* root); CContact::Refs ContactList; protected: void OnChange(const ContactRef& contact); }; class CAccount : public Account { public: typedef DRef Ref; typedef DRefs Refs; bool isLoggedOut; CAccount(unsigned int oid, SERootObject* root); void BlockWhileLoggingIn(); void BlockWhileLoggingOut(); protected: void OnChange(int prop); }; class CSkype : public Skype { public: CAccount* newAccount(int oid); };