Contact.h 642 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright 2009-2011, Andrea Anzani. All rights reserved.
  3. * Copyright 2012, Dario Casalinuovo. All rights reserved.
  4. * Distributed under the terms of the MIT License.
  5. */
  6. #ifndef _CONTACT_LINKER_H_
  7. #define _CONTACT_LINKER_H_
  8. #include <String.h>
  9. #include <Message.h>
  10. #include <Messenger.h>
  11. #include <Path.h>
  12. #include "AppConstants.h"
  13. #include "User.h"
  14. class BBitmap;
  15. class ProtocolLooper;
  16. class RosterItem;
  17. class Contact : public User {
  18. public:
  19. Contact(BString id, BMessenger msgn);
  20. RosterItem* GetRosterItem() const;
  21. private:
  22. virtual void _EnsureCachePath();
  23. RosterItem* fRosterItem;
  24. };
  25. #endif // _CONTACT_LINKER_H_