aboutsummaryrefslogtreecommitdiffstats
path: root/native/dicttoolkit/src/command_executors/makedict_executor.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-11-08 05:23:05 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-11-09 06:22:28 +0900
commitbd48963bdf20aa58b2f4d0cca762aba0f2917858 (patch)
tree8e2b0fc52981ebd6993d62588200ccdc0cda85f1 /native/dicttoolkit/src/command_executors/makedict_executor.h
parent4bfa3b273ea9d23fa642b5b87b1113429f5f539b (diff)
downloadlatinime-bd48963bdf20aa58b2f4d0cca762aba0f2917858.tar.gz
latinime-bd48963bdf20aa58b2f4d0cca762aba0f2917858.tar.xz
latinime-bd48963bdf20aa58b2f4d0cca762aba0f2917858.zip
Add CommandExecutor for dicttoolkit.
Bug: 10059681 Change-Id: I90334caaf37c84ce7d1b93d12efbfb5f244a9420
Diffstat (limited to 'native/dicttoolkit/src/command_executors/makedict_executor.h')
-rw-r--r--native/dicttoolkit/src/command_executors/makedict_executor.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/native/dicttoolkit/src/command_executors/makedict_executor.h b/native/dicttoolkit/src/command_executors/makedict_executor.h
new file mode 100644
index 000000000..466d1f7e2
--- /dev/null
+++ b/native/dicttoolkit/src/command_executors/makedict_executor.h
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef LATINIME_DICT_TOOLKIT_MAKEDICT_EXECUTOR_H
+#define LATINIME_DICT_TOOLKIT_MAKEDICT_EXECUTOR_H
+
+#include "dict_toolkit_defines.h"
+
+namespace latinime {
+namespace dicttoolkit {
+
+class MakedictExecutor final {
+ public:
+ static const char *const COMMAND_NAME;
+
+ static int run(const int argc, char **argv);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(MakedictExecutor);
+};
+
+} // namespace dicttoolkit
+} // namepsace latinime
+#endif // LATINIME_DICT_TOOLKIT_MAKEDICT_EXECUTOR_H