aboutsummaryrefslogtreecommitdiffstats
path: root/native/dicttoolkit/src/command_executors/makedict_executor.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-11-08 21:39:57 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-08 21:39:57 +0000
commit5ac16f6c9736e1ebff6c8a26d47a75b5c0f2360e (patch)
tree3f6596477a6d00c718a8d2c4334787e3caf9b1d7 /native/dicttoolkit/src/command_executors/makedict_executor.cpp
parent7f19c201a72783c239e4acf0db1c1dc77639a7d7 (diff)
parent61280c0b7fc87cf901272f38b75d12c5193b33ff (diff)
downloadlatinime-5ac16f6c9736e1ebff6c8a26d47a75b5c0f2360e.tar.gz
latinime-5ac16f6c9736e1ebff6c8a26d47a75b5c0f2360e.tar.xz
latinime-5ac16f6c9736e1ebff6c8a26d47a75b5c0f2360e.zip
am 61280c0b: Merge "Add CommandExecutor for dicttoolkit."
* commit '61280c0b7fc87cf901272f38b75d12c5193b33ff': Add CommandExecutor for dicttoolkit.
Diffstat (limited to 'native/dicttoolkit/src/command_executors/makedict_executor.cpp')
-rw-r--r--native/dicttoolkit/src/command_executors/makedict_executor.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/native/dicttoolkit/src/command_executors/makedict_executor.cpp b/native/dicttoolkit/src/command_executors/makedict_executor.cpp
new file mode 100644
index 000000000..5466a5917
--- /dev/null
+++ b/native/dicttoolkit/src/command_executors/makedict_executor.cpp
@@ -0,0 +1,32 @@
+/*
+ * 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.
+ */
+
+#include "command_executors/makedict_executor.h"
+
+#include <cstdio>
+
+namespace latinime {
+namespace dicttoolkit {
+
+const char *const MakedictExecutor::COMMAND_NAME = "makedict";
+
+/* static */ int MakedictExecutor::run(const int argc, char **argv) {
+ fprintf(stderr, "Command '%s' has not been implemented yet.\n", COMMAND_NAME);
+ return 0;
+}
+
+} // namespace dicttoolkit
+} // namespace latinime