|
rllib
1
|
00001 /*************************************************************************** 00002 rlinterpreter.h - description 00003 ------------------- 00004 begin : Tue Jan 02 2001 00005 copyright : (C) 2001 by Rainer Lehrig 00006 email : lehrig@t-online.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This library is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as * 00013 * published by the Free Software Foundation * 00014 * * 00015 ***************************************************************************/ 00016 #ifndef _RL_INTERPRETER_H_ 00017 #define _RL_INTERPRETER_H_ 00018 00019 #include "rldefine.h" 00020 00024 class rlInterpreter 00025 { 00026 public: 00027 rlInterpreter(int Maxline=rl_PRINTF_LENGTH); 00028 virtual ~rlInterpreter(); 00029 00030 char *line; 00031 int isCommand(const char *command); 00032 void copyStringParam(char *destination, int index); 00033 int maxchar(); 00034 00035 private: 00036 int maxline; 00037 }; 00038 00039 #endif
1.7.5.1