| 1 | #cxx . . $ `<file>/src/game_interfaces/qgoboard_net.h`/ifndef QGOBOARD_NET_H |
| 2 | #define QGOBOARD_NET_Hcxx . . $ `src/game_interfaces/qgoboard_net.h:2:9`! |
| 3 | |
| 4 | #include "defines.h"cxx . . $ `<file>/src/defines.h`/ |
| 5 | #include "qgoboard.h"cxx . . $ `<file>/src/game_interfaces/qgoboard.h`/ |
| 6 | |
| 7 | class NetworkConnectioncxx . . $ NetworkConnection#; |
| 8 | class BoardDispatchcxx . . $ BoardDispatch#; |
| 9 | |
| 10 | class qGoBoardNetworkInterfacecxx . . $ qGoBoardNetworkInterface# : public qGoBoardcxx . . $ qGoBoard# |
| 11 | { |
| 12 | Q_OBJECTcxx . . $ qGoBoardNetworkInterface#tr(75d9f1c324b4579d). |
| 13 | public: |
| 14 | virtual ~cxx . . $ qGoBoardNetworkInterface#`~qGoBoardNetworkInterface`(ced63f7c635d850d).qGoBoardNetworkInterfacecxx . . $ qGoBoardNetworkInterface#() {} |
| 15 | virtual void slotUndoPressedcxx . . $ qGoBoardNetworkInterface#slotUndoPressed(49f6e7a06ebc5aa8).(); |
| 16 | virtual void slotDonePressedcxx . . $ qGoBoardNetworkInterface#slotDonePressed(49f6e7a06ebc5aa8).(); |
| 17 | virtual void slotResignPressedcxx . . $ qGoBoardNetworkInterface#slotResignPressed(49f6e7a06ebc5aa8).(); |
| 18 | virtual void slotReviewPressedcxx . . $ qGoBoardNetworkInterface#slotReviewPressed(49f6e7a06ebc5aa8).() {} //should FIXME these two |
| 19 | virtual void slotAdjournPressedcxx . . $ qGoBoardNetworkInterface#slotAdjournPressed(49f6e7a06ebc5aa8).() {} |
| 20 | virtual void passRequestcxx . . $ qGoBoardNetworkInterface#passRequest(49f6e7a06ebc5aa8).(); |
| 21 | protected: |
| 22 | qGoBoardNetworkInterfacecxx . . $ qGoBoardNetworkInterface#qGoBoardNetworkInterface(29a441517101e16e).(BoardWindowcxx . . $ BoardWindow# *boardWindow, Treecxx . . $ Tree# * tree, GameDatacxx . . $ GameData# *gameData); |
| 23 | virtual void sendMoveToInterfacecxx . . $ qGoBoardNetworkInterface#sendMoveToInterface(e6b2860cd25699f2).(StoneColorcxx . . $ StoneColor# c,int x, int y); |
| 24 | virtual void handleMovecxx . . $ qGoBoardNetworkInterface#handleMove(d174a3d9cfb0dd75).(MoveRecordcxx . . $ MoveRecord# * m); |
| 25 | virtual void moveControlcxx . . $ qGoBoardNetworkInterface#moveControl(4c89b026053e4d32).(QStringcxx . . $ QString# & player) { controlling_playercxx . . $ qGoBoardNetworkInterface#controlling_player. =cxx . . $ QString#`operator=`(b79fde0b0ce9b948). player; } |
| 26 | virtual void adjournGamecxx . . $ qGoBoardNetworkInterface#adjournGame(49f6e7a06ebc5aa8).(void); |
| 27 | virtual void startGamecxx . . $ qGoBoardNetworkInterface#startGame(49f6e7a06ebc5aa8).(void) {} |
| 28 | virtual void stopTimecxx . . $ qGoBoardNetworkInterface#stopTime(49f6e7a06ebc5aa8).(void); |
| 29 | virtual void onFirstMovecxx . . $ qGoBoardNetworkInterface#onFirstMove(49f6e7a06ebc5aa8).(void) {} |
| 30 | |
| 31 | QStringcxx . . $ QString# game_Idcxx . . $ qGoBoardNetworkInterface#game_Id.; |
| 32 | bool dontsendcxx . . $ qGoBoardNetworkInterface#dontsend.; |
| 33 | QStringcxx . . $ QString# controlling_playercxx . . $ qGoBoardNetworkInterface#controlling_player.; |
| 34 | Movecxx . . $ Move# * reviewCurrentcxx . . $ qGoBoardNetworkInterface#reviewCurrent.; |
| 35 | virtual Movecxx . . $ Move# *doMovecxx . . $ qGoBoardNetworkInterface#doMove(1b9ccd6dde28afc7).(StoneColorcxx . . $ StoneColor# c, int x, int y); |
| 36 | BoardDispatchcxx . . $ BoardDispatch# *dispatchcxx . . $ qGoBoardNetworkInterface#dispatch.; |
| 37 | NetworkConnectioncxx . . $ NetworkConnection# *connectioncxx . . $ qGoBoardNetworkInterface#connection.; |
| 38 | }; |
| 39 | |
| 40 | class qGoBoardObserveInterfacecxx . . $ qGoBoardObserveInterface# : public qGoBoardNetworkInterfacecxx . . $ qGoBoardNetworkInterface# |
| 41 | { |
| 42 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 43 | |
| 44 | public: |
| 45 | qGoBoardObserveInterfacecxx . . $ qGoBoardObserveInterface#qGoBoardObserveInterface(29a441517101e16e).(BoardWindowcxx . . $ BoardWindow# *boardWindow, Treecxx . . $ Tree# * tree, GameDatacxx . . $ GameData# *gameData); |
| 46 | ~cxx . . $ qGoBoardObserveInterface#`~qGoBoardObserveInterface`(ced63f7c635d850d).qGoBoardObserveInterfacecxx . . $ qGoBoardObserveInterface#() {} |
| 47 | |
| 48 | void setModifiedcxx . . $ qGoBoardObserveInterface#setModified(b45ddcbc8423892c).(bool) {} //we don't modify an observed game |
| 49 | void slotUpdateCommentcxx . . $ qGoBoardObserveInterface#slotUpdateComment(49f6e7a06ebc5aa8).() {} //what is this ?!?!? |
| 50 | virtual void slotUndoPressedcxx . . $ qGoBoardObserveInterface#slotUndoPressed(49f6e7a06ebc5aa8).(void){} |
| 51 | virtual void slotDonePressedcxx . . $ qGoBoardObserveInterface#slotDonePressed(49f6e7a06ebc5aa8).(void){} |
| 52 | virtual void slotResignPressedcxx . . $ qGoBoardObserveInterface#slotResignPressed(49f6e7a06ebc5aa8).(void){} |
| 53 | virtual void slotAdjournPressedcxx . . $ qGoBoardObserveInterface#slotAdjournPressed(49f6e7a06ebc5aa8).(void){} |
| 54 | |
| 55 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 56 | void signal_sendCommandFromBoardcxx . . $ qGoBoardObserveInterface#signal_sendCommandFromBoard(37c160c81b6367f7).(const QStringcxx . . $ QString#&, bool); |
| 57 | |
| 58 | private: |
| 59 | // bool doMove(StoneColor c, int x, int y); |
| 60 | virtual void onFirstMovecxx . . $ qGoBoardObserveInterface#onFirstMove(49f6e7a06ebc5aa8).(void); |
| 61 | |
| 62 | |
| 63 | |
| 64 | }; |
| 65 | |
| 66 | class qGoBoardMatchInterfacecxx . . $ qGoBoardMatchInterface# : public qGoBoardNetworkInterfacecxx . . $ qGoBoardNetworkInterface# |
| 67 | { |
| 68 | Q_OBJECTcxx . . $ qGoBoardMatchInterface#tr(75d9f1c324b4579d). |
| 69 | |
| 70 | public: |
| 71 | qGoBoardMatchInterfacecxx . . $ qGoBoardMatchInterface#qGoBoardMatchInterface(29a441517101e16e).(BoardWindowcxx . . $ BoardWindow# *boardWindow, Treecxx . . $ Tree# * tree, GameDatacxx . . $ GameData# *gameData); |
| 72 | ~cxx . . $ qGoBoardMatchInterface#`~qGoBoardMatchInterface`(ced63f7c635d850d).qGoBoardMatchInterfacecxx . . $ qGoBoardMatchInterface#() {} |
| 73 | |
| 74 | void setModifiedcxx . . $ qGoBoardMatchInterface#setModified(b45ddcbc8423892c).(bool) {} //we don't modify a match game |
| 75 | void setTimerInfocxx . . $ qGoBoardMatchInterface#setTimerInfo(6d8ce341bc76c5ea).(const QStringcxx . . $ QString#&, const QStringcxx . . $ QString#&, const QStringcxx . . $ QString#&, const QStringcxx . . $ QString#&); |
| 76 | void enterScoreModecxx . . $ qGoBoardMatchInterface#enterScoreMode(49f6e7a06ebc5aa8).(); |
| 77 | void leaveScoreModecxx . . $ qGoBoardMatchInterface#leaveScoreMode(49f6e7a06ebc5aa8).(); |
| 78 | void timerEventcxx . . $ qGoBoardMatchInterface#timerEvent(b9e57d1150f23bf5).(QTimerEventcxx . . $ QTimerEvent#*); |
| 79 | virtual void requestAdjournDialogcxx . . $ qGoBoardMatchInterface#requestAdjournDialog(49f6e7a06ebc5aa8).(void); |
| 80 | virtual void requestCountDialogcxx . . $ qGoBoardMatchInterface#requestCountDialog(49f6e7a06ebc5aa8).(void); |
| 81 | virtual void requestMatchModeDialogcxx . . $ qGoBoardMatchInterface#requestMatchModeDialog(49f6e7a06ebc5aa8).(void); |
| 82 | virtual void requestDrawDialogcxx . . $ qGoBoardMatchInterface#requestDrawDialog(49f6e7a06ebc5aa8).(void); |
| 83 | virtual void recvRefuseAdjourncxx . . $ qGoBoardMatchInterface#recvRefuseAdjourn(49f6e7a06ebc5aa8).(void); |
| 84 | virtual void recvRefuseCountcxx . . $ qGoBoardMatchInterface#recvRefuseCount(49f6e7a06ebc5aa8).(void); |
| 85 | virtual void recvRefuseMatchModecxx . . $ qGoBoardMatchInterface#recvRefuseMatchMode(49f6e7a06ebc5aa8).(void); |
| 86 | virtual void recvRefuseDrawcxx . . $ qGoBoardMatchInterface#recvRefuseDraw(49f6e7a06ebc5aa8).(void); |
| 87 | void slotUpdateCommentcxx . . $ qGoBoardMatchInterface#slotUpdateComment(49f6e7a06ebc5aa8).() {} |
| 88 | virtual void slotReviewPressedcxx . . $ qGoBoardMatchInterface#slotReviewPressed(49f6e7a06ebc5aa8).(); |
| 89 | virtual void slotDrawPressedcxx . . $ qGoBoardMatchInterface#slotDrawPressed(49f6e7a06ebc5aa8).(); |
| 90 | virtual void slotCountPressedcxx . . $ qGoBoardMatchInterface#slotCountPressed(49f6e7a06ebc5aa8).(); |
| 91 | virtual void slotAdjournPressedcxx . . $ qGoBoardMatchInterface#slotAdjournPressed(49f6e7a06ebc5aa8).(); |
| 92 | |
| 93 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 94 | void signal_sendCommandFromBoardcxx . . $ qGoBoardMatchInterface#signal_sendCommandFromBoard(37c160c81b6367f7).(const QStringcxx . . $ QString#&, bool); |
| 95 | |
| 96 | private: |
| 97 | void localMoveRequestcxx . . $ qGoBoardMatchInterface#localMoveRequest(e6b2860cd25699f2).(StoneColorcxx . . $ StoneColor# c, int x, int y); |
| 98 | void localMarkDeadRequestcxx . . $ qGoBoardMatchInterface#localMarkDeadRequest(3e454b8ccf442868).(int x, int y); |
| 99 | virtual void startGamecxx . . $ qGoBoardMatchInterface#startGame(49f6e7a06ebc5aa8).(void); |
| 100 | virtual void onFirstMovecxx . . $ qGoBoardMatchInterface#onFirstMove(49f6e7a06ebc5aa8).(void); |
| 101 | // bool warningSound; |
| 102 | // int warningSecs; |
| 103 | |
| 104 | }; |
| 105 | |
| 106 | class qGoBoardReviewInterfacecxx . . $ qGoBoardReviewInterface# : public qGoBoardNetworkInterfacecxx . . $ qGoBoardNetworkInterface# |
| 107 | { |
| 108 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 109 | |
| 110 | public: |
| 111 | qGoBoardReviewInterfacecxx . . $ qGoBoardReviewInterface#qGoBoardReviewInterface(29a441517101e16e).(BoardWindowcxx . . $ BoardWindow# *boardWindow, Treecxx . . $ Tree# * tree, GameDatacxx . . $ GameData# *gameData); |
| 112 | ~cxx . . $ qGoBoardReviewInterface#`~qGoBoardReviewInterface`(ced63f7c635d850d).qGoBoardReviewInterfacecxx . . $ qGoBoardReviewInterface#() {} |
| 113 | |
| 114 | // void setModified(bool) {} //we don't modify an game |
| 115 | // void setResult(QString res, QString xt_res); |
| 116 | // void setTimerInfo(const QString&, const QString&, const QString&, const QString&); |
| 117 | //void set_move(StoneColor sc, QString pt, QString mv_nr); |
| 118 | void setNodecxx . . $ qGoBoardReviewInterface#setNode(c8bda843d37178ce).(int move_nr, StoneColorcxx . . $ StoneColor# c, int x, int y); |
| 119 | void slotUpdateCommentcxx . . $ qGoBoardReviewInterface#slotUpdateComment(49f6e7a06ebc5aa8).() {} |
| 120 | // void slotDonePressed(); |
| 121 | void slotUndoPressedcxx . . $ qGoBoardReviewInterface#slotUndoPressed(49f6e7a06ebc5aa8).() ; |
| 122 | |
| 123 | signalscxx . . $ `<external>/1208926524888476972/qobjectdefs.h:89:14`!: |
| 124 | void signal_sendCommandFromBoardcxx . . $ qGoBoardReviewInterface#signal_sendCommandFromBoard(37c160c81b6367f7).(const QStringcxx . . $ QString#&, bool); |
| 125 | |
| 126 | private: |
| 127 | void localMoveRequestcxx . . $ qGoBoardReviewInterface#localMoveRequest(e6b2860cd25699f2).(StoneColorcxx . . $ StoneColor# c, int x, int y); |
| 128 | |
| 129 | }; |
| 130 | |
| 131 | |
| 132 | #endif // QGOBOARD_NET_H |