Debian Codegraph @

src/game_interfaces/qgoboardlocalinterface.h

raw symbols SCIP
1 /***************************************************************************
2 * Copyright (C) 2009-2014 by The qGo Project *
3 * *
4 * This file is part of qGo. *
5 * *
6 * qGo is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, see <http://www.gnu.org/licenses/> *
18 * or write to the Free Software Foundation, Inc., *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20 ***************************************************************************/
21
22 #ifndef QGOBOARDLOCALINTERFACE_H
23 #define QGOBOARDLOCALINTERFACE_Hcxx . . $ `src/game_interfaces/qgoboardlocalinterface.h:23:9`!
24
25 #include "defines.h"cxx . . $ `<file>/src/defines.h`/
26 #include "qgoboard.h"cxx . . $ `<file>/src/game_interfaces/qgoboard.h`/
27
28 class BoardWindowcxx . . $ BoardWindow#;
29 class Treecxx . . $ Tree#;
30 class GameDatacxx . . $ GameData#;
31 class Movecxx . . $ Move#;
32 class QGtpcxx . . $ QGtp#;
33 class Soundcxx . . $ Sound#;
34
35 class qGoBoardLocalInterfacecxx . . $ qGoBoardLocalInterface# : public qGoBoardcxx . . $ qGoBoard#
36 {
37 Q_OBJECTcxx . . $ qGoBoardLocalInterface#tr(75d9f1c324b4579d).
38 public:
39 qGoBoardLocalInterfacecxx . . $ qGoBoardLocalInterface#qGoBoardLocalInterface(29a441517101e16e).(BoardWindowcxx . . $ BoardWindow# *boardWindow, Treecxx . . $ Tree# * tree, GameDatacxx . . $ GameData# *gameData);
40 ~cxx . . $ qGoBoardLocalInterface#`~qGoBoardLocalInterface`(ced63f7c635d850d).qGoBoardLocalInterfacecxx . . $ qGoBoardLocalInterface#();
41
42 void checkComputersTurncxx . . $ qGoBoardLocalInterface#checkComputersTurn(b45ddcbc8423892c).(bool force = false);
43 void feedPositionThroughGtpcxx . . $ qGoBoardLocalInterface#feedPositionThroughGtp(49f6e7a06ebc5aa8).();
44
45 virtual void localMoveRequestcxx . . $ qGoBoardLocalInterface#localMoveRequest(e6b2860cd25699f2).(StoneColorcxx . . $ StoneColor# c, int x, int y);
46 void slot_playComputercxx . . $ qGoBoardLocalInterface#slot_playComputer(3e454b8ccf442868).(int x, int y);
47 void slot_resignComputercxx . . $ qGoBoardLocalInterface#slot_resignComputer(49f6e7a06ebc5aa8).();
48 void slot_passComputercxx . . $ qGoBoardLocalInterface#slot_passComputer(49f6e7a06ebc5aa8).();
49 virtual void slotDonePressedcxx . . $ qGoBoardLocalInterface#slotDonePressed(49f6e7a06ebc5aa8).();
50 virtual void slotUndoPressedcxx . . $ qGoBoardLocalInterface#slotUndoPressed(49f6e7a06ebc5aa8).();
51 void slotToggleInsertStonescxx . . $ qGoBoardLocalInterface#slotToggleInsertStones(b45ddcbc8423892c).(bool val);
52 virtual void passRequestcxx . . $ qGoBoardLocalInterface#passRequest(49f6e7a06ebc5aa8).();
53
54 private:
55 virtual void sendMoveToInterfacecxx . . $ qGoBoardLocalInterface#sendMoveToInterface(e6b2860cd25699f2).(StoneColorcxx . . $ StoneColor# c,int x, int y);
56
57 void startGamecxx . . $ qGoBoardLocalInterface#startGame(49f6e7a06ebc5aa8).() {}
58 // void enterScoreMode() {}
59 void leaveScoreModecxx . . $ qGoBoardLocalInterface#leaveScoreMode(49f6e7a06ebc5aa8).() {}
60
61 QGtpcxx . . $ QGtp# *gtpcxx . . $ qGoBoardLocalInterface#gtp.;
62 Movecxx . . $ Move# *currentEnginecxx . . $ qGoBoardLocalInterface#currentEngine.;
63 bool insertStoneFlagcxx . . $ qGoBoardLocalInterface#insertStoneFlag.;
64 };
65
66 #endif // QGOBOARDLOCALINTERFACE_H