aboutsummaryrefslogtreecommitdiff
path: root/clangd/ProtocolHandlers.h
diff options
context:
space:
mode:
Diffstat (limited to 'clangd/ProtocolHandlers.h')
-rw-r--r--clangd/ProtocolHandlers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clangd/ProtocolHandlers.h b/clangd/ProtocolHandlers.h
index bf307c84..f82bd291 100644
--- a/clangd/ProtocolHandlers.h
+++ b/clangd/ProtocolHandlers.h
@@ -52,6 +52,7 @@ public:
virtual void onGoToDefinition(Ctx C, TextDocumentPositionParams &Params) = 0;
virtual void onSwitchSourceHeader(Ctx C, TextDocumentIdentifier &Params) = 0;
virtual void onFileEvent(Ctx C, DidChangeWatchedFilesParams &Params) = 0;
+ virtual void onCommand(Ctx C, ExecuteCommandParams &Params) = 0;
};
void registerCallbackHandlers(JSONRPCDispatcher &Dispatcher, JSONOutput &Out,