Files
clice/include/LSP/Server.h
2024-07-04 22:42:29 +08:00

23 lines
360 B
C++

#include <uv.h>
#include <string_view>
namespace clice {
// global server instance
extern class Server server;
/// core class responsible for starting the server
class Server {
uv_loop_t* loop;
uv_pipe_t stdin_pipe;
public:
int initialize();
int exit();
public:
void handle_message(std::string_view message);
};
} // namespace clice