Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
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
8class TabSupervisor;
9
11{
12 Q_OBJECT
13
14public:
15 IntentOpenLocalDeck(TabSupervisor *_tabSupervisor, const QString &_file);
16
17protected:
18 bool checkPrecondition() const override;
19 void onPreconditionSatisfied() override;
20 void onPreconditionNotSatisfied() override;
21
22private:
24 QString file;
25};
26
27#endif // COCKATRICE_INTENT_OPEN_LOCAL_DECK_H
IntentOpenLocalDeck(TabSupervisor *_tabSupervisor, const QString &_file)
Definition intent_open_local_deck.cpp:10
bool checkPrecondition() const override
Definition intent_open_local_deck.cpp:15
void onPreconditionNotSatisfied() override
Definition intent_open_local_deck.cpp:31
void onPreconditionSatisfied() override
Definition intent_open_local_deck.cpp:20
TabSupervisor * tabSupervisor
Definition intent_open_local_deck.h:23
QString file
Definition intent_open_local_deck.h:24
Intent(QObject *parent=nullptr)
Definition intent.cpp:3
Definition tab_supervisor.h:84