HEADER | |
#pragma once | |
// Project | |
#include "chatsubscriber.h" | |
// Jami plugin | |
#include "plugin/jamiplugin.h" | |
#include "plugin/chathandler.h" | |
class GENERICChatHandler : public jami::ChatHandler | |
{ | |
public: | |
GENERICChatHandler(const JAMI_PluginAPI* api, std::string&& dataPath); | |
~GENERICChatHandler(); | |
void detach(); | |
virtual void notifyStrMapSubject(const bool direction, jami::strMapSubjectPtr subject) override; | |
private: | |
std::string dataPath_; | |
std::shared_ptr<ChatSubscriber> css; | |
}; |