You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.6 KiB
57 lines
1.6 KiB
/***************************************************************************
|
|
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 <tqvaluelist.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 TQString& );
|
|
|
|
protected slots:
|
|
void releaseBuffer( void );
|
|
|
|
private:
|
|
TQString engineName;
|
|
TQString engineAuthor;
|
|
TQString difficulty;
|
|
TQString FEN;
|
|
|
|
CommandList *CMDList;
|
|
bool hintMode;
|
|
bool initMode;
|
|
bool JustMoved;
|
|
bool myArmy;
|
|
bool Turn;
|
|
};
|
|
|
|
#endif
|