Ferenc Szontágh
2024-06-27 920507bff803647c79dfce27c4c265b2caee7f8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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