2021-06-11 17:24:04 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ConversationAccountItem.h"
|
|
|
|
|
2021-08-12 15:43:52 -05:00
|
|
|
#include "ProtocolLooper.h"
|
2021-06-11 17:24:04 -05:00
|
|
|
|
2021-08-12 15:43:52 -05:00
|
|
|
|
|
|
|
ConversationAccountItem::ConversationAccountItem(const char* name,
|
|
|
|
int64 instance, ProtocolLooper* looper)
|
2021-06-11 17:24:04 -05:00
|
|
|
:
|
|
|
|
BStringItem(name),
|
2021-08-12 15:43:52 -05:00
|
|
|
fInstance(instance),
|
|
|
|
fProtocolLooper(looper)
|
2021-06-11 17:24:04 -05:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
int64
|
|
|
|
ConversationAccountItem::GetInstance()
|
|
|
|
{
|
|
|
|
return fInstance;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-08-12 15:43:52 -05:00
|
|
|
ProtocolLooper*
|
|
|
|
ConversationAccountItem::GetLooper()
|
|
|
|
{
|
|
|
|
return fProtocolLooper;
|
|
|
|
}
|