The ConversationListView is now an BOutlineListView, and rooms are added as subitems to the item of their associated account. Right now, account items aren't selectable or useful.
24 lines
379 B
C++
24 lines
379 B
C++
/*
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
*/
|
|
|
|
#include "ConversationAccountItem.h"
|
|
|
|
|
|
ConversationAccountItem::ConversationAccountItem(const char* name, int64 instance)
|
|
:
|
|
BStringItem(name),
|
|
fInstance(instance)
|
|
{
|
|
}
|
|
|
|
|
|
int64
|
|
ConversationAccountItem::GetInstance()
|
|
{
|
|
return fInstance;
|
|
}
|
|
|
|
|