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.
|
|
|
|
*/
|
|
|
|
#ifndef CONVERSATIONACCITEM_H
|
|
|
|
#define CONVERSATIONACCITEM_H
|
|
|
|
|
|
|
|
#include <StringItem.h>
|
|
|
|
|
|
|
|
class Conversation;
|
2021-08-12 15:43:52 -05:00
|
|
|
class ProtocolLooper;
|
2021-06-11 17:24:04 -05:00
|
|
|
|
|
|
|
|
|
|
|
class ConversationAccountItem : public BStringItem {
|
|
|
|
public:
|
2021-08-12 15:43:52 -05:00
|
|
|
ConversationAccountItem(const char* name, int64 instance,
|
|
|
|
ProtocolLooper* looper);
|
2021-06-11 17:24:04 -05:00
|
|
|
|
|
|
|
int64 GetInstance();
|
2021-08-12 15:43:52 -05:00
|
|
|
ProtocolLooper* GetLooper();
|
2021-06-11 17:24:04 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
int64 fInstance;
|
2021-08-12 15:43:52 -05:00
|
|
|
ProtocolLooper* fProtocolLooper;
|
2021-06-11 17:24:04 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CONVERSATIONACCITEM_H
|
|
|
|
|