blob: dd434f6479d9caa7e02457e617ed2eb282521344 [file] [log] [blame]
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;
};