mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 12:54:10 -07:00
9 lines
No EOL
229 B
C++
9 lines
No EOL
229 B
C++
#include "deck_file_format.h"
|
|
|
|
DeckFileFormat::Format DeckFileFormat::getFormatFromName(const QString &fileName)
|
|
{
|
|
if (fileName.endsWith(".cod", Qt::CaseInsensitive)) {
|
|
return Cockatrice;
|
|
}
|
|
return PlainText;
|
|
} |