rathena/src/common/cli.hpp
Aleos 2ab298076c
Cleaned up header guard names (#3395)
* Fixes #3385.
* Updated the header guard names to C++ standards.
Thanks to @elfring's suggestion!
2018-08-10 15:57:50 -04:00

38 lines
1.1 KiB
C++

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef CLI_HPP
#define CLI_HPP
#include "cbasetypes.hpp"
#include "timer.hpp"
#define MAX_CONSOLE_IN 200 //max is map...
#define MIN_CONSOLE_IN 4 //min is help
//map
extern const char* MAP_CONF_NAME;
extern const char* INTER_CONF_NAME;
extern const char* LOG_CONF_NAME;
extern const char* BATTLE_CONF_FILENAME;
extern const char* ATCOMMAND_CONF_FILENAME;
extern const char* SCRIPT_CONF_NAME;
extern const char* GRF_PATH_FILENAME;
//char
extern const char* CHAR_CONF_NAME;
extern const char* SQL_CONF_NAME;
//login
extern const char* LOGIN_CONF_NAME;
//common
extern const char* LAN_CONF_NAME; //char-login
extern const char* MSG_CONF_NAME_EN; //all
extern void display_helpscreen(bool exit);
bool cli_hasevent();
void display_versionscreen(bool do_exit);
bool opt_has_next_value(const char* option, int i, int argc);
int cli_get_options(int argc, char ** argv);
TIMER_FUNC(parse_console_timer);
extern int parse_console(const char* buf); //particular for each serv
#endif /* CLI_HPP */