ConversationAccountItem.h 566 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
  3. * All rights reserved. Distributed under the terms of the MIT license.
  4. */
  5. #ifndef CONVERSATIONACCITEM_H
  6. #define CONVERSATIONACCITEM_H
  7. #include <StringItem.h>
  8. class Conversation;
  9. class ProtocolLooper;
  10. class ConversationAccountItem : public BStringItem {
  11. public:
  12. ConversationAccountItem(const char* name, int64 instance,
  13. ProtocolLooper* looper);
  14. int64 GetInstance();
  15. ProtocolLooper* GetLooper();
  16. private:
  17. int64 fInstance;
  18. ProtocolLooper* fProtocolLooper;
  19. };
  20. #endif // CONVERSATIONACCITEM_H