summaryrefslogtreecommitdiffstats
path: root/knights/proto_uci.h
blob: 23a27b3a287900f42baf67d7b77946d6bb256fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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