mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-09 11:33:25 -08:00
12 lines
351 B
C++
12 lines
351 B
C++
#ifndef PARSEHELPERS_H
|
|
#define PARSEHELPERS_H
|
|
|
|
#include <QString>
|
|
#include <optional>
|
|
|
|
/** @brief Read a finite deck-copy allowance naming this card in canonical English rules text. */
|
|
std::optional<int> parseDeckCopyLimit(const QString &name, const QString &text);
|
|
|
|
bool parseCipt(const QString &name, const QString &text);
|
|
|
|
#endif // PARSEHELPERS_H
|