00001
#ifndef _CMDLINE_H
00002
#define _CMDLINE_H
00003
00004
#include <selforg/configurable.h>
00005
#include <vector>
00006
00007 typedef vector<Configurable*>
ConfigList;
00008
00009 std::vector<string>
splitString(
const std::string& str,
char seperator);
00010
00011
00012
00013
00014
void showParams(
const ConfigList& configs, FILE* file = 0,
const char* lineprefix = 0);
00015
00016
00017
00018
void changeParams(ConfigList& configs,
void (*onTerminate)()=0);
00019
00020
bool control_c_pressed();
00021
void cmd_begin_input();
00022
void cmd_handler_init();
00023
void cmd_end_input();
00024
00025
#endif