mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-12-18 16:37:48 +00:00
refactor: rework search paths
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "SearchPath/ISearchPath.h"
|
||||
#include "SearchPath/SearchPaths.h"
|
||||
|
||||
class ObjLoading
|
||||
{
|
||||
public:
|
||||
@@ -13,22 +10,4 @@ public:
|
||||
bool MenuPermissiveParsing = false;
|
||||
bool MenuNoOptimization = false;
|
||||
} Configuration;
|
||||
|
||||
/**
|
||||
* \brief Loads all IWDs that can be found in a specified search path.
|
||||
* \param searchPath The search path that contains IWDs to be loaded.
|
||||
*/
|
||||
static void LoadIWDsInSearchPath(ISearchPath& searchPath);
|
||||
|
||||
/**
|
||||
* \brief Unloads all IWDs that were loaded from the specified search path.
|
||||
* \param searchPath The search path that was used to load the IWDs to be unloaded.
|
||||
*/
|
||||
static void UnloadIWDsInSearchPath(ISearchPath& searchPath);
|
||||
|
||||
/**
|
||||
* \brief Creates a \c SearchPaths object containing all IWDs that are currently loaded.
|
||||
* \return A \c SearchPaths object containing all IWDs that are currently loaded.
|
||||
*/
|
||||
static SearchPaths GetIWDSearchPaths();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user