mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-21 08:35:43 +00:00
27 lines
740 B
C++
27 lines
740 B
C++
#pragma once
|
|
|
|
#include "MenuConversionException.h"
|
|
#include "AssetLoading/IAssetLoadingManager.h"
|
|
#include "SearchPath/ISearchPath.h"
|
|
#include "Utils/MemoryManager.h"
|
|
#include "Utils/ClassUtils.h"
|
|
|
|
namespace menu
|
|
{
|
|
class AbstractMenuConverter
|
|
{
|
|
protected:
|
|
bool m_disable_optimizations;
|
|
ISearchPath* m_search_path;
|
|
MemoryManager* m_memory;
|
|
IAssetLoadingManager* m_manager;
|
|
|
|
AbstractMenuConverter(bool disableOptimizations, ISearchPath* searchPath, MemoryManager* memory, IAssetLoadingManager* manager);
|
|
|
|
_NODISCARD const char* ConvertString(const std::string& str) const;
|
|
|
|
public:
|
|
static void PrintConversionExceptionDetails(const MenuConversionException& e);
|
|
};
|
|
}
|