mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-28 15:30:46 +00:00
refactor: unglob std::wstring
This commit is contained in:
@@ -14,13 +14,13 @@ public:
|
||||
class ChunkFile;
|
||||
|
||||
McRegionLevelStorageSource(File dir);
|
||||
virtual wstring getName();
|
||||
virtual std::wstring getName();
|
||||
virtual vector<LevelSummary *> *getLevelList();
|
||||
virtual void clearAll();
|
||||
virtual std::shared_ptr<LevelStorage> selectLevel(ConsoleSaveFile *saveFile, const wstring& levelId, bool createPlayerDir);
|
||||
virtual bool isConvertible(ConsoleSaveFile *saveFile, const wstring& levelId);
|
||||
virtual bool requiresConversion(ConsoleSaveFile *saveFile, const wstring& levelId);
|
||||
virtual bool convertLevel(ConsoleSaveFile *saveFile, const wstring& levelId, ProgressListener *progress);
|
||||
virtual std::shared_ptr<LevelStorage> selectLevel(ConsoleSaveFile *saveFile, const std::wstring& levelId, bool createPlayerDir);
|
||||
virtual bool isConvertible(ConsoleSaveFile *saveFile, const std::wstring& levelId);
|
||||
virtual bool requiresConversion(ConsoleSaveFile *saveFile, const std::wstring& levelId);
|
||||
virtual bool convertLevel(ConsoleSaveFile *saveFile, const std::wstring& levelId, ProgressListener *progress);
|
||||
|
||||
private:
|
||||
#if 0
|
||||
@@ -44,7 +44,7 @@ public:
|
||||
{
|
||||
public:
|
||||
static const std::tr1::wregex chunkFilePattern; // was Pattern
|
||||
bool accept(File *dir, const wstring& name);
|
||||
bool accept(File *dir, const std::wstring& name);
|
||||
};
|
||||
|
||||
static class ChunkFile // implements Comparable<ChunkFile>
|
||||
|
||||
Reference in New Issue
Block a user