40 #ifndef _resourcemanager_h
41 #define _resourcemanager_h
46 #include "managerbase.h"
47 #include "managerfactory.h"
48 #include "singleton.h"
50 #include "Resource/inputstream.h"
57 class ResourceGroupManager;
66 %
template(SingletonResourceManager) Singleton<ResourceManager>;
124 void AddAssetGroupName(
String Name);
142 void SetMainArgs(
int ArgCount,
char** ArgVars);
151 static bool CreateDirectory(
const String& DirectoryPath);
156 static bool DoesDirectoryExist(
const String& DirectoryPath);
160 static void RemoveDirectory(
const String& DirectoryPath);
173 static char GetDirectorySeparator();
176 static char GetPathSeparator();
196 static String GetExecutableDirFromArg(
int ArgCount,
char** ArgVars);
199 String GetExecutableDirFromArg()
const;
202 static String GetExecutableDirFromSystem();
209 static String GetExecutableDir(
int ArgCount,
char** ArgVars);
212 String GetExecutableDir()
const;
216 static void ChangeDirectory(
const String& ChangeTo);
221 bool CreateDirectoryPath(
const String& DirectoryPath);
233 static String GetWorkingDirectory();
236 String GetEngineDataDirectory()
const;
243 String ResolveDataPathFromString(
const String& PathVar);
246 String GetLocalAppDataDir()
const;
249 String GetShareableAppDataDir()
const;
252 String GetCurrentUserDataDir()
const;
255 String GetCommonUserDataDir()
const;
299 void AddAssetLocation(
const String& Location,
const ArchiveType Type,
const String& Group,
const bool Recursive =
false);
302 void CreateAssetGroup(
const String& GroupName);
305 void DestroyAssetGroup(
const String& GroupName);
320 void InitAssetGroup(
const String& Name);
337 String GetPluginExtension()
const;
345 virtual void Initialize();
347 virtual void Deinitialize();
364 virtual String GetImplementationTypeName()
const;
381 String GetManagerTypeName()
const;