From bd48963bdf20aa58b2f4d0cca762aba0f2917858 Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Sat, 8 Nov 2014 05:23:05 +0900 Subject: Add CommandExecutor for dicttoolkit. Bug: 10059681 Change-Id: I90334caaf37c84ce7d1b93d12efbfb5f244a9420 --- .../src/command_executors/diff_executor.cpp | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 native/dicttoolkit/src/command_executors/diff_executor.cpp (limited to 'native/dicttoolkit/src/command_executors/diff_executor.cpp') diff --git a/native/dicttoolkit/src/command_executors/diff_executor.cpp b/native/dicttoolkit/src/command_executors/diff_executor.cpp new file mode 100644 index 000000000..1fe90a9f6 --- /dev/null +++ b/native/dicttoolkit/src/command_executors/diff_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/diff_executor.h" + +#include + +namespace latinime { +namespace dicttoolkit { + +const char *const DiffExecutor::COMMAND_NAME = "diff"; + +/* static */ int DiffExecutor::run(const int argc, char **argv) { + fprintf(stderr, "Command '%s' has not been implemented yet.\n", COMMAND_NAME); + return 0; +} + +} // namespace dicttoolkit +} // namespace latinime -- cgit v1.2.3-83-g751a