2024-04-18 18:42:36 -04:00
|
|
|
// SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2024-04-24 22:31:40 -04:00
|
|
|
#include "novuscommon_export.h"
|
|
|
|
|
2025-04-30 19:44:20 -04:00
|
|
|
enum class FileType {
|
|
|
|
Unknown,
|
|
|
|
ExcelList,
|
|
|
|
ExcelHeader,
|
|
|
|
ExcelData,
|
|
|
|
Model,
|
|
|
|
Texture,
|
|
|
|
ShaderPackage,
|
|
|
|
CharaMakeParams,
|
|
|
|
Skeleton,
|
|
|
|
Dictionary,
|
|
|
|
Material,
|
|
|
|
LuaBytecode
|
|
|
|
};
|
2024-04-18 18:42:36 -04:00
|
|
|
|
2024-04-24 22:31:40 -04:00
|
|
|
class NOVUSCOMMON_EXPORT FileTypes
|
2024-04-18 18:42:36 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
static FileType getFileType(const QString &extension);
|
|
|
|
|
|
|
|
static QString getFiletypeName(FileType fileType);
|
2024-04-18 18:50:02 -04:00
|
|
|
static QString getFiletypeIcon(FileType fileType);
|
2024-04-18 18:42:36 -04:00
|
|
|
};
|