mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
[Card DB] Properly pass along set priority controller to parsers (#6430)
* [Card DB] Properly pass along set priority controller to parsers Took 16 minutes Took 35 seconds * More adjustments. Took 13 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
parent
d47dc35885
commit
ebb02b27b2
13 changed files with 38 additions and 18 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef COCKATRICE_INTERFACE_CARD_SET_PRIORITY_CONTROLLER_H
|
||||
#define COCKATRICE_INTERFACE_CARD_SET_PRIORITY_CONTROLLER_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class ICardSetPriorityController
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -6,25 +6,25 @@
|
|||
class NoopCardSetPriorityController : public ICardSetPriorityController
|
||||
{
|
||||
public:
|
||||
void setSortKey(QString /* shortName */, unsigned int /* sortKey */)
|
||||
void setSortKey(QString /* shortName */, unsigned int /* sortKey */) override
|
||||
{
|
||||
}
|
||||
void setEnabled(QString /* shortName */, bool /* enabled */)
|
||||
void setEnabled(QString /* shortName */, bool /* enabled */) override
|
||||
{
|
||||
}
|
||||
void setIsKnown(QString /* shortName */, bool /* isknown */)
|
||||
void setIsKnown(QString /* shortName */, bool /* isknown */) override
|
||||
{
|
||||
}
|
||||
|
||||
unsigned int getSortKey(QString /* shortName */)
|
||||
unsigned int getSortKey(QString /* shortName */) override
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
bool isEnabled(QString /* shortName */)
|
||||
bool isEnabled(QString /* shortName */) override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
bool isKnown(QString /* shortName */)
|
||||
bool isKnown(QString /* shortName */) override
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue