mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-06 10:03:26 -08:00
[DeckSync] Move SyncSummary into DeckSyncManager per review
This commit is contained in:
parent
0ba9bd531b
commit
d4ce4759c5
2 changed files with 11 additions and 8 deletions
|
|
@ -44,6 +44,15 @@ public:
|
|||
/** @brief Computes the color identity string uploaded alongside a deck. May be empty. */
|
||||
using ColorIdentityProvider = std::function<QString(const DeckList &)>;
|
||||
|
||||
/** @brief Outcome counts for a finished sync run; mirrors syncFinished() parameters. */
|
||||
struct SyncSummary
|
||||
{
|
||||
int uploaded = 0;
|
||||
int downloaded = 0;
|
||||
int unchanged = 0;
|
||||
int skipped = 0;
|
||||
};
|
||||
|
||||
explicit DeckSyncManager(QObject *parent = nullptr);
|
||||
|
||||
void setClient(AbstractClient *_client);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue