More adjustments.

Took 13 minutes
This commit is contained in:
Lukas Brübach 2025-12-17 16:43:04 +01:00
parent bd04289552
commit 239adf20cd
4 changed files with 12 additions and 8 deletions

View file

@ -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:

View file

@ -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;
}