aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/FileSkimmerBackend.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-08 15:51:22 -0500
committerMichael <[email protected]>2017-02-08 15:51:22 -0500
commit51ad9434bb2118ad4d5dd796d047415c76e99ccc (patch)
treea0b770b4824e72b24968a0451378aa33ecdb7d85 /ShiftOS_TheReturn/FileSkimmerBackend.cs
parenta4b49ab68b4383e84ee200f47ea21ed1b4b22ffa (diff)
downloadshiftos_thereturn-51ad9434bb2118ad4d5dd796d047415c76e99ccc.tar.gz
shiftos_thereturn-51ad9434bb2118ad4d5dd796d047415c76e99ccc.tar.bz2
shiftos_thereturn-51ad9434bb2118ad4d5dd796d047415c76e99ccc.zip
Shop work.
- Shop Editor implemented. - Shop List implemented. - Shops are now a way to earn Codepoints.
Diffstat (limited to 'ShiftOS_TheReturn/FileSkimmerBackend.cs')
-rw-r--r--ShiftOS_TheReturn/FileSkimmerBackend.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/FileSkimmerBackend.cs b/ShiftOS_TheReturn/FileSkimmerBackend.cs
index 6e2f6be..36e07ec 100644
--- a/ShiftOS_TheReturn/FileSkimmerBackend.cs
+++ b/ShiftOS_TheReturn/FileSkimmerBackend.cs
@@ -133,6 +133,11 @@ namespace ShiftOS.Engine
{
return _fs.GetImage(filepath);
}
+
+ public static string GetFileExtension(FileType fileType)
+ {
+ return _fs.GetFileExtension(fileType);
+ }
}
/// <summary>
@@ -144,6 +149,7 @@ namespace ShiftOS.Engine
void GetPath(string[] filetypes, FileOpenerStyle style, Action<string> callback);
void OpenDirectory(string path);
Image GetImage(string path);
+ string GetFileExtension(FileType fileType);
}