summaryrefslogtreecommitdiff
path: root/source/slang/default-file-system.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/default-file-system.h')
-rw-r--r--source/slang/default-file-system.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/source/slang/default-file-system.h b/source/slang/default-file-system.h
index 62d7cbfc5..47644f5ad 100644
--- a/source/slang/default-file-system.h
+++ b/source/slang/default-file-system.h
@@ -33,11 +33,15 @@ public:
const char* path,
ISlangBlob** pathOut) SLANG_OVERRIDE;
+ virtual SLANG_NO_THROW SlangResult SLANG_MCALL getPathType(
+ const char* path,
+ SlangPathType* pathTypeOut) SLANG_OVERRIDE;
+
/// Get a default instance
static ISlangFileSystemExt* getSingleton() { return &s_singleton; }
private:
- /// Make so not constructable
+ /// Make so not constructible
DefaultFileSystem() {}
ISlangUnknown* getInterface(const Guid& guid);
@@ -75,6 +79,10 @@ public:
const char* path,
ISlangBlob** pathOut) SLANG_OVERRIDE;
+ virtual SLANG_NO_THROW SlangResult SLANG_MCALL getPathType(
+ const char* path,
+ SlangPathType* pathTypeOut) SLANG_OVERRIDE;
+
/// Ctor
WrapFileSystem(ISlangFileSystem* fileSystem):
m_fileSystem(fileSystem)