From 9e08cfbb36b20832ce3c248b36030d64123cfc4d Mon Sep 17 00:00:00 2001 From: Qijia Liu Date: Sat, 6 Jul 2024 23:31:55 -0400 Subject: [PATCH] remove unused API --- include/candidate_window.hpp | 1 - include/webview_candidate_window.hpp | 1 - 2 files changed, 2 deletions(-) diff --git a/include/candidate_window.hpp b/include/candidate_window.hpp index e64fe98..c3d0080 100644 --- a/include/candidate_window.hpp +++ b/include/candidate_window.hpp @@ -63,7 +63,6 @@ class CandidateWindow { public: virtual ~CandidateWindow() = default; virtual void set_layout(layout_t layout) = 0; - virtual void set_preedit_mode(bool enabled) = 0; virtual void update_input_panel(const formatted &preedit, int preedit_cursor, const formatted &auxUp, diff --git a/include/webview_candidate_window.hpp b/include/webview_candidate_window.hpp index 0b01aa8..04643ab 100644 --- a/include/webview_candidate_window.hpp +++ b/include/webview_candidate_window.hpp @@ -14,7 +14,6 @@ class WebviewCandidateWindow : public CandidateWindow { WebviewCandidateWindow(); ~WebviewCandidateWindow(); void set_layout(layout_t layout) override; - void set_preedit_mode(bool enabled) override {} void update_input_panel(const formatted &preedit, int preedit_cursor, const formatted &auxUp,