Upload Source/Plugin/McpServer.h
Browse files
Source/Plugin/McpServer.h
CHANGED
|
@@ -4,6 +4,7 @@
|
|
| 4 |
#include <atomic>
|
| 5 |
#include <string>
|
| 6 |
#include <memory>
|
|
|
|
| 7 |
|
| 8 |
namespace httplib { class Server; }
|
| 9 |
class HelperConnection;
|
|
@@ -19,6 +20,9 @@ public:
|
|
| 19 |
bool isRunning() const;
|
| 20 |
int getPort() const { return port; }
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
private:
|
| 23 |
void setupRoutes();
|
| 24 |
|
|
|
|
| 4 |
#include <atomic>
|
| 5 |
#include <string>
|
| 6 |
#include <memory>
|
| 7 |
+
#include <functional>
|
| 8 |
|
| 9 |
namespace httplib { class Server; }
|
| 10 |
class HelperConnection;
|
|
|
|
| 20 |
bool isRunning() const;
|
| 21 |
int getPort() const { return port; }
|
| 22 |
|
| 23 |
+
// Set by Processor so get_analysis can call back
|
| 24 |
+
std::function<std::string()> getAnalysisCallback;
|
| 25 |
+
|
| 26 |
private:
|
| 27 |
void setupRoutes();
|
| 28 |
|