From a883462e2275d8cc02b77a630706880b2ce1eb9a Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Sun, 29 Sep 2002 13:58:39 +0000 Subject: [PATCH] Added some new functions to commandline class Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@309 --- include/setup.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/setup.h b/include/setup.h index 95fa2f03..0925b1de 100644 --- a/include/setup.h +++ b/include/setup.h @@ -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::iterator cmd_it; std::list cmds;