2010-05-07 04:47:10 -05:00
|
|
|
/*
|
2011-12-03 16:38:03 -06:00
|
|
|
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
|
2012-05-01 16:09:56 -05:00
|
|
|
* Copyright 2012, Dario Casalinuovo. All rights reserved.
|
2010-05-07 04:47:10 -05:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _CONTACT_LINKER_H_
|
|
|
|
#define _CONTACT_LINKER_H_
|
|
|
|
|
|
|
|
#include <String.h>
|
|
|
|
#include <Message.h>
|
|
|
|
#include <Messenger.h>
|
2021-06-13 17:34:30 -05:00
|
|
|
#include <Path.h>
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
#include "CayaConstants.h"
|
2021-05-23 15:10:14 -05:00
|
|
|
#include "User.h"
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
class BBitmap;
|
|
|
|
|
2010-05-16 16:02:50 -05:00
|
|
|
class ProtocolLooper;
|
2010-05-07 04:47:10 -05:00
|
|
|
class RosterItem;
|
|
|
|
|
2021-05-23 15:10:14 -05:00
|
|
|
|
|
|
|
class Contact : public User {
|
2010-05-07 04:47:10 -05:00
|
|
|
public:
|
2021-05-23 14:39:07 -05:00
|
|
|
Contact(BString id, BMessenger msgn);
|
2010-05-07 04:47:10 -05:00
|
|
|
|
2012-03-07 13:22:09 -06:00
|
|
|
RosterItem* GetRosterItem() const;
|
2010-05-07 04:47:10 -05:00
|
|
|
|
|
|
|
void SetNotifyAvatarBitmap(BBitmap* bitmap);
|
|
|
|
|
|
|
|
private:
|
2021-06-13 17:34:30 -05:00
|
|
|
virtual void _EnsureCachePath();
|
|
|
|
|
2010-05-07 04:47:10 -05:00
|
|
|
RosterItem* fRosterItem;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CONTACT_LINKER_H_
|