#ifndef SAMPLE_PLUGIN_H
|
#define SAMPLE_PLUGIN_H
|
|
#include "PluginInterface.h"
|
#include "IPC.h"
|
#include <iostream>
|
#include <glog/logging.h>
|
|
class SamplePlugin : public IPlugin
|
{
|
private:
|
IPC *ipc;
|
|
public:
|
SamplePlugin(IPC *ipc);
|
void handleMessage(const Command &cmd) override;
|
void updateConfig(const nlohmann::json &config) override;
|
const std::string getPluginName() override;
|
const std::string plugin_name = "SamplePlugin";
|
};
|
|
#endif // SAMPLE_PLUGIN_H
|