1
0
Fork 0

Added some new functions to commandline class

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@309
This commit is contained in:
Sjoerd van der Berg 2002-09-29 13:58:39 +00:00
parent 3df0c719f2
commit a883462e22

View file

@ -35,8 +35,9 @@ public:
bool FindHex(char * name,int & value,bool remove=false);
bool FindInt(char * name,int & value,bool remove=false);
bool FindString(char * name,std::string & value,bool remove=false);
bool FindFirst(std::string & value);
bool FindCommand(int which,std::string & value);
bool FindStringBegin(char * begin,std::string & value, bool remove=false);
int GetCount(void);
private:
typedef std::list<std::string>::iterator cmd_it;
std::list<std::string> cmds;