Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
intent_open_local_deck.h
Go to the documentation of this file.
1
#ifndef COCKATRICE_INTENT_OPEN_LOCAL_DECK_H
2
#define COCKATRICE_INTENT_OPEN_LOCAL_DECK_H
3
4
#include "
intent.h
"
5
6
#include <QString>
7
#include <qtmetamacros.h>
8
9
class
TabSupervisor
;
10
11
class
IntentOpenLocalDeck
:
public
Intent
12
{
13
Q_OBJECT
14
15
public
:
16
IntentOpenLocalDeck
(
TabSupervisor
*_tabSupervisor,
const
QString &_file);
17
18
protected
:
19
bool
checkPrecondition
()
const override
;
20
void
onPreconditionSatisfied
()
override
;
21
void
onPreconditionNotSatisfied
()
override
;
22
23
private
:
24
TabSupervisor
*
tabSupervisor
;
25
QString
file
;
26
};
27
28
#endif
// COCKATRICE_INTENT_OPEN_LOCAL_DECK_H
IntentOpenLocalDeck::IntentOpenLocalDeck
IntentOpenLocalDeck(TabSupervisor *_tabSupervisor, const QString &_file)
Definition
intent_open_local_deck.cpp:14
IntentOpenLocalDeck::checkPrecondition
bool checkPrecondition() const override
Definition
intent_open_local_deck.cpp:19
IntentOpenLocalDeck::onPreconditionNotSatisfied
void onPreconditionNotSatisfied() override
Definition
intent_open_local_deck.cpp:35
IntentOpenLocalDeck::onPreconditionSatisfied
void onPreconditionSatisfied() override
Definition
intent_open_local_deck.cpp:24
IntentOpenLocalDeck::tabSupervisor
TabSupervisor * tabSupervisor
Definition
intent_open_local_deck.h:24
IntentOpenLocalDeck::file
QString file
Definition
intent_open_local_deck.h:25
Intent::Intent
Intent(QObject *parent=nullptr)
Definition
intent.cpp:3
TabSupervisor
Definition
tab_supervisor.h:92
intent.h
cockatrice
src
interface
intents
intent_open_local_deck.h
Generated by
1.18.0