Cockatrice
2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
intent_login.h
Go to the documentation of this file.
1
#ifndef COCKATRICE_INTENT_LOGIN_H
2
#define COCKATRICE_INTENT_LOGIN_H
3
4
#include "
contexts/context_connect_to_server.h
"
5
#include "
intent.h
"
6
7
class
IntentGetLoginCredentials
:
public
Intent
8
{
9
Q_OBJECT
10
11
public
:
12
IntentGetLoginCredentials
(
ContextConnectToServer
*_context);
13
14
protected
:
15
bool
checkPrecondition
()
const override
;
16
void
onPreconditionSatisfied
()
override
;
17
void
onPreconditionNotSatisfied
()
override
;
18
19
private
:
20
ContextConnectToServer
*
context
;
21
};
22
23
#endif
// COCKATRICE_INTENT_LOGIN_H
IntentGetLoginCredentials::IntentGetLoginCredentials
IntentGetLoginCredentials(ContextConnectToServer *_context)
Definition
intent_login.cpp:6
IntentGetLoginCredentials::context
ContextConnectToServer * context
Definition
intent_login.h:20
IntentGetLoginCredentials::checkPrecondition
bool checkPrecondition() const override
Definition
intent_login.cpp:10
IntentGetLoginCredentials::onPreconditionSatisfied
void onPreconditionSatisfied() override
Definition
intent_login.cpp:16
IntentGetLoginCredentials::onPreconditionNotSatisfied
void onPreconditionNotSatisfied() override
Definition
intent_login.cpp:30
Intent::Intent
Intent(QObject *parent=nullptr)
Definition
intent.cpp:3
context_connect_to_server.h
intent.h
ContextConnectToServer
Definition
context_connect_to_server.h:7
cockatrice
src
interface
intents
intent_login.h
Generated by
1.16.1