diff options
Diffstat (limited to 'knights/proto_uci.h')
-rw-r--r-- | knights/proto_uci.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/knights/proto_uci.h b/knights/proto_uci.h new file mode 100644 index 0000000..23a27b3 --- /dev/null +++ b/knights/proto_uci.h @@ -0,0 +1,55 @@ +/*************************************************************************** + proto_uci.h - description + ------------------- + begin : Sat Oct 26 2002 + copyright : (C) 2003 by Troy Corbin Jr. + email : tcorbin@users.sf.net + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef PROTO_UCI_H +#define PROTO_UCI_H + +#include <qvaluelist.h> +#include "proto_base.h" + +/** + *@author Troy Corbin Jr. + */ + +class proto_uci : public proto_base +{ + Q_OBJECT + public: + proto_uci( const int ID ); + ~proto_uci(); + + virtual void parse( const Command& ); + virtual void parse( const QString& ); + + protected slots: + void releaseBuffer( void ); + + private: + QString engineName; + QString engineAuthor; + QString difficulty; + QString FEN; + + CommandList *CMDList; + bool hintMode; + bool initMode; + bool JustMoved; + bool myArmy; + bool Turn; +}; + +#endif |