Cockatrice 2026-10-19-Development-3.1.2-beta.2
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#include <qtmetamacros.h>
8
9class TabSupervisor;
10
12{
13 Q_OBJECT
14
15public:
16 IntentOpenLocalDeck(TabSupervisor *_tabSupervisor, const QString &_file);
17
18protected:
19 bool checkPrecondition() const override;
20 void onPreconditionSatisfied() override;
21 void onPreconditionNotSatisfied() override;
22
23private:
25 QString file;
26};
27
28#endif // COCKATRICE_INTENT_OPEN_LOCAL_DECK_H
IntentOpenLocalDeck(TabSupervisor *_tabSupervisor, const QString &_file)
Definition intent_open_local_deck.cpp:14
bool checkPrecondition() const override
Definition intent_open_local_deck.cpp:19
void onPreconditionNotSatisfied() override
Definition intent_open_local_deck.cpp:35
void onPreconditionSatisfied() override
Definition intent_open_local_deck.cpp:24
TabSupervisor * tabSupervisor
Definition intent_open_local_deck.h:24
QString file
Definition intent_open_local_deck.h:25
Intent(QObject *parent=nullptr)
Definition intent.cpp:3
Definition tab_supervisor.h:92