32 lines
520 B
C
32 lines
520 B
C
|
/*
|
||
|
* 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,
|
||
|
kIdColumn,
|
||
|
kUserColumn
|
||
|
};
|
||
|
|
||
|
|
||
|
class RoomListRow : public BRow {
|
||
|
public:
|
||
|
RoomListRow(BMessage* msg);
|
||
|
|
||
|
BMessage* Message() { return fMessage; }
|
||
|
int64 Instance() { return fInstance; }
|
||
|
|
||
|
private:
|
||
|
int64 fInstance;
|
||
|
BMessage* fMessage;
|
||
|
};
|
||
|
|
||
|
#endif // _ROOM_LIST_ROW_H
|