Upload Source/Plugin/McpServer.h
Browse files
Source/Plugin/McpServer.h
CHANGED
|
@@ -6,12 +6,12 @@
|
|
| 6 |
#include <memory>
|
| 7 |
|
| 8 |
namespace httplib { class Server; }
|
| 9 |
-
class
|
| 10 |
|
| 11 |
class McpServer
|
| 12 |
{
|
| 13 |
public:
|
| 14 |
-
McpServer(int port,
|
| 15 |
~McpServer();
|
| 16 |
|
| 17 |
void start();
|
|
@@ -33,5 +33,5 @@ private:
|
|
| 33 |
std::string sessionId;
|
| 34 |
bool initialized = false;
|
| 35 |
|
| 36 |
-
|
| 37 |
};
|
|
|
|
| 6 |
#include <memory>
|
| 7 |
|
| 8 |
namespace httplib { class Server; }
|
| 9 |
+
class HelperConnection;
|
| 10 |
|
| 11 |
class McpServer
|
| 12 |
{
|
| 13 |
public:
|
| 14 |
+
McpServer(int port, HelperConnection& helper);
|
| 15 |
~McpServer();
|
| 16 |
|
| 17 |
void start();
|
|
|
|
| 33 |
std::string sessionId;
|
| 34 |
bool initialized = false;
|
| 35 |
|
| 36 |
+
HelperConnection& helper;
|
| 37 |
};
|