![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <QDateTime>#include <QString>Go to the source code of this file.
Classes | |
| struct | DeckShareUtils::ShareResponse |
| The outcome of a successful share-create response. More... | |
Namespaces | |
| namespace | DeckShareUtils |
| Shared helpers for creating temporary deck shares. | |
Functions | |
| QString | DeckShareUtils::buildShareLink (const AbstractClient *client, const QString &token) |
| Builds the cockatrice:// link for a freshly created deck share. | |
| QString | DeckShareUtils::copyShareLinkToClipboard (const QString &link) |
| Copies the share link to the clipboard. | |
| QString | DeckShareUtils::formatShareExpiry (const QDateTime &expiry) |
| Formats the expiration timestamp for a share. | |
| ShareResponse | DeckShareUtils::handleShareResponse (const AbstractClient *client, const Response &response) |
| Handles a successful Response_DeckShareCreate: builds the share link, copies it to the clipboard, and derives the share expiry. | |