Chat-O-Matic/application/views/ConversationListView.h
Jaidyn Ann 13ea8fecdf Write conversation list, put it in main window
Now all active conversations will be listed in the main window, in a
ConversationListView. Clicking one of the items will open its
conversation window as you'd expect, etc.
2021-05-27 11:15:30 -05:00

28 lines
523 B
C++

/*
* 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;
class ConversationListView : public BOutlineListView {
public:
ConversationListView(const char* name);
void MessageReceived(BMessage* msg);
void MouseDown(BPoint where);
private:
BPopUpMenu* _ConversationPopUp();
BPopUpMenu* _BlankPopUp();
};
#endif // CONVERSATIONLIST_H