1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-02 00:07:44 +00:00
novus/common/include/filetypes.h

32 lines
606 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QString>
#include "novuscommon_export.h"
enum class FileType {
Unknown,
ExcelList,
ExcelHeader,
ExcelData,
Model,
Texture,
ShaderPackage,
CharaMakeParams,
Skeleton,
Dictionary,
Material,
LuaBytecode
};
class NOVUSCOMMON_EXPORT FileTypes
{
public:
static FileType getFileType(const QString &extension);
static QString getFiletypeName(FileType fileType);
static QString getFiletypeIcon(FileType fileType);
};