2012-03-11 10:11:29 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2012, Casalinuovo Dario. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Casalinuovo Dario
|
|
|
|
*/
|
|
|
|
#ifndef _CONTACT_INFO_WINDOW_H
|
|
|
|
#define _CONTACT_INFO_WINDOW_H
|
|
|
|
|
|
|
|
#include <Window.h>
|
|
|
|
#include <TextView.h>
|
|
|
|
#include <StringView.h>
|
|
|
|
#include "Observer.h"
|
|
|
|
|
|
|
|
#include "CayaConstants.h"
|
|
|
|
|
|
|
|
class BitmapView;
|
2021-05-23 14:39:07 -05:00
|
|
|
class Contact;
|
2012-03-11 10:11:29 -05:00
|
|
|
|
|
|
|
class ContactInfoWindow: public BWindow, public Observer {
|
|
|
|
public:
|
2021-05-23 14:39:07 -05:00
|
|
|
ContactInfoWindow(Contact* linker);
|
2012-03-11 10:11:29 -05:00
|
|
|
|
|
|
|
virtual void MessageReceived(BMessage* message);
|
|
|
|
private:
|
|
|
|
BTextView* fStatus;
|
2021-05-23 14:39:07 -05:00
|
|
|
Contact* fContact;
|
2012-03-11 10:11:29 -05:00
|
|
|
BTextView* fPersonalMessage;
|
|
|
|
BitmapView* fAvatar;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|