summaryrefslogtreecommitdiffstats
path: root/xbmc/input/InputCodingTableBasePY.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/input/InputCodingTableBasePY.h')
-rw-r--r--xbmc/input/InputCodingTableBasePY.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/xbmc/input/InputCodingTableBasePY.h b/xbmc/input/InputCodingTableBasePY.h
new file mode 100644
index 0000000..243b4de
--- /dev/null
+++ b/xbmc/input/InputCodingTableBasePY.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2005-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include "InputCodingTable.h"
+
+#include <map>
+#include <string>
+#include <vector>
+
+class CInputCodingTableBasePY : public IInputCodingTable
+{
+public:
+ CInputCodingTableBasePY();
+ ~CInputCodingTableBasePY() override = default;
+
+ bool GetWordListPage(const std::string& strCode, bool isFirstPage) override;
+ std::vector<std::wstring> GetResponse(int) override;
+
+private:
+ std::vector<std::wstring> m_words;
+};