* merge clangify and cmakify into format.sh update desktop lint workflow to 22.04 print cmake-format version as well um, rename things? add extra examples to format.sh --help add option to not run clang-format fix version display in .ci/lint_cpp.sh fix relative paths in format.sh fix formatting dirs * run ./format.sh --cmake --branch "" * revert formatting of cmake comments
22 lines
488 B
C++
22 lines
488 B
C++
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include "../../cockatrice/src/carddatabase.h"
|
|
#include "../../cockatrice/src/carddbparser/cockatricexml4.h"
|
|
|
|
class CardDatabaseConverter : public CardDatabase
|
|
{
|
|
public:
|
|
LoadStatus loadCardDatabase(const QString &path)
|
|
{
|
|
return CardDatabase::loadCardDatabase(path);
|
|
}
|
|
|
|
bool saveCardDatabase(const QString &fileName)
|
|
{
|
|
CockatriceXml4Parser parser;
|
|
return parser.saveToFile(sets, cards, fileName);
|
|
}
|
|
};
|
|
|
|
#endif
|