2014-11-07 20:23:05 +00:00
|
|
|
/*
|
|
|
|
* 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_INFO_EXECUTOR_H
|
|
|
|
#define LATINIME_DICT_TOOLKIT_INFO_EXECUTOR_H
|
|
|
|
|
|
|
|
#include "dict_toolkit_defines.h"
|
2014-11-08 00:52:40 +00:00
|
|
|
#include "utils/arguments_parser.h"
|
2014-11-07 20:23:05 +00:00
|
|
|
|
|
|
|
namespace latinime {
|
|
|
|
namespace dicttoolkit {
|
|
|
|
|
|
|
|
class InfoExecutor final {
|
|
|
|
public:
|
|
|
|
static const char *const COMMAND_NAME;
|
|
|
|
|
|
|
|
static int run(const int argc, char **argv);
|
2014-11-07 21:24:03 +00:00
|
|
|
static void printUsage();
|
2014-11-08 00:52:40 +00:00
|
|
|
static const ArgumentsParser getArgumentsParser();
|
2014-11-07 20:23:05 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DISALLOW_IMPLICIT_CONSTRUCTORS(InfoExecutor);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namepsace dicttoolkit
|
|
|
|
} // namespace latinime
|
|
|
|
#endif // LATINIME_DICT_TOOLKIT_INFO_EXECUTOR_H
|