2021-05-27 11:15:30 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
|
|
*/
|
|
|
|
#ifndef CONVERSATIONLIST_H
|
|
|
|
#define CONVERSATIONLIST_H
|
|
|
|
|
|
|
|
#include <OutlineListView.h>
|
|
|
|
|
|
|
|
class BPopUpMenu;
|
|
|
|
|
|
|
|
|
2021-05-30 12:30:26 -05:00
|
|
|
class ConversationListView : public BListView {
|
2021-05-27 11:15:30 -05:00
|
|
|
public:
|
|
|
|
ConversationListView(const char* name);
|
|
|
|
|
|
|
|
void MessageReceived(BMessage* msg);
|
|
|
|
void MouseDown(BPoint where);
|
|
|
|
|
|
|
|
private:
|
|
|
|
BPopUpMenu* _ConversationPopUp();
|
|
|
|
BPopUpMenu* _BlankPopUp();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CONVERSATIONLIST_H
|
|
|
|
|