diff options
author | 2014-11-08 21:36:24 +0000 | |
---|---|---|
committer | 2014-11-08 21:36:25 +0000 | |
commit | 61280c0b7fc87cf901272f38b75d12c5193b33ff (patch) | |
tree | cec830641a141be7cc461b85607174da9ed71884 /native/dicttoolkit/src/command_executors/info_executor.cpp | |
parent | d2a47cceb290769e2c1c38ee3b77c9413ff0af3e (diff) | |
parent | bd48963bdf20aa58b2f4d0cca762aba0f2917858 (diff) | |
download | latinime-61280c0b7fc87cf901272f38b75d12c5193b33ff.tar.gz latinime-61280c0b7fc87cf901272f38b75d12c5193b33ff.tar.xz latinime-61280c0b7fc87cf901272f38b75d12c5193b33ff.zip |
Merge "Add CommandExecutor for dicttoolkit."
Diffstat (limited to 'native/dicttoolkit/src/command_executors/info_executor.cpp')
-rw-r--r-- | native/dicttoolkit/src/command_executors/info_executor.cpp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/native/dicttoolkit/src/command_executors/info_executor.cpp b/native/dicttoolkit/src/command_executors/info_executor.cpp new file mode 100644 index 000000000..5c9a6366a --- /dev/null +++ b/native/dicttoolkit/src/command_executors/info_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/info_executor.h" + +#include <cstdio> + +namespace latinime { +namespace dicttoolkit { + +const char *const InfoExecutor::COMMAND_NAME = "info"; + +/* static */ int InfoExecutor::run(const int argc, char **argv) { + fprintf(stderr, "Command '%s' has not been implemented yet.\n", COMMAND_NAME); + return 0; +} + +} // namespace dicttoolkit +} // namespace latinime |