summaryrefslogtreecommitdiffstats
path: root/src/PYPSuggestionEditor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PYPSuggestionEditor.cc')
-rw-r--r--src/PYPSuggestionEditor.cc33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/PYPSuggestionEditor.cc b/src/PYPSuggestionEditor.cc
new file mode 100644
index 0000000..d8dffd3
--- /dev/null
+++ b/src/PYPSuggestionEditor.cc
@@ -0,0 +1,33 @@
+/* vim:set et ts=4 sts=4:
+ *
+ * ibus-libpinyin - Intelligent Pinyin engine based on libpinyin for IBus
+ *
+ * Copyright (c) 2018 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include "PYPSuggestionEditor.h"
+
+using namespace PY;
+
+SuggestionEditor::SuggestionEditor (PinyinProperties &props,
+ Config & config)
+ : Editor (props, config)
+{
+ /* use m_text to store the prefix string. */
+ m_text = "prefix";
+}
+