2021-08-27 10:57:20 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
|
|
*/
|
|
|
|
#ifndef _ROOM_LIST_ROW_H
|
|
|
|
#define _ROOM_LIST_ROW_H
|
|
|
|
|
|
|
|
#include <ColumnListView.h>
|
|
|
|
|
|
|
|
|
|
|
|
enum {
|
|
|
|
kNameColumn,
|
|
|
|
kDescColumn,
|
2021-08-31 20:31:39 -05:00
|
|
|
kCatColumn,
|
2021-08-27 10:57:20 -05:00
|
|
|
kUserColumn
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
class RoomListRow : public BRow {
|
|
|
|
public:
|
|
|
|
RoomListRow(BMessage* msg);
|
2021-08-31 20:31:39 -05:00
|
|
|
~RoomListRow();
|
2021-08-27 10:57:20 -05:00
|
|
|
|
|
|
|
BMessage* Message() { return fMessage; }
|
|
|
|
int64 Instance() { return fInstance; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
int64 fInstance;
|
|
|
|
BMessage* fMessage;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _ROOM_LIST_ROW_H
|