From 920507bff803647c79dfce27c4c265b2caee7f8d Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Thu, 27 Jun 2024 21:04:53 +0000
Subject: [PATCH] some refactor, addedd google loggin', corrected plugin handling

---
 src/PluginInterface.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/PluginInterface.h b/src/PluginInterface.h
index d2453ea..8f23b89 100644
--- a/src/PluginInterface.h
+++ b/src/PluginInterface.h
@@ -9,8 +9,7 @@
     virtual ~IPlugin() = default;
     virtual void handleMessage(const Command& cmd) = 0;
     virtual void updateConfig(const nlohmann::json& config) = 0;
+    virtual const std::string getPluginName() = 0;
 };
-
-extern "C" IPlugin* create();
 
 #endif // PLUGIN_INTERFACE_H

--
Gitblit v1.9.3