diff -r 0796c5592f00 -r c58b3973337c parser.h --- a/parser.h Mon Apr 09 15:42:21 2007 +0000 +++ b/parser.h Thu May 17 20:19:03 2007 +0000 @@ -10,9 +10,10 @@ { public: Parser(); - void parseAtom (const QString &input); - QString command(); - QStringList parameters(); + void parseAtom (QString input); + QString getAtom(); + QString getCommand(); + QStringList getParameters(); int paramCount(); QString errorMessage(); QString errorDescription(); @@ -30,15 +31,18 @@ void setScript (const QString &); QString getScript(); void runScript(); - bool scriptNextAtom(); + bool next(); private: - void initCommand(); + void initParser(); + void initAtom(); QString input; + QString atom; QString com; QStringList paramList; + int current; QString script; QString errMessage;