diff options
| author | Michael <[email protected]> | 2017-06-28 08:19:44 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-06-28 08:19:44 -0400 |
| commit | 00cd41ea928781ad760cff3d14bd78d60758679d (patch) | |
| tree | 1ce9714d71831cef82ebfd161827a4db54d90405 /ShiftOS_TheReturn/IFileHandler.cs | |
| parent | cd2190f6caa16e8d909aa1d662996d690772a67f (diff) | |
| download | shiftos_thereturn-00cd41ea928781ad760cff3d14bd78d60758679d.tar.gz shiftos_thereturn-00cd41ea928781ad760cff3d14bd78d60758679d.tar.bz2 shiftos_thereturn-00cd41ea928781ad760cff3d14bd78d60758679d.zip | |
Slight... very slight... fileskimmer mods
Diffstat (limited to 'ShiftOS_TheReturn/IFileHandler.cs')
| -rw-r--r-- | ShiftOS_TheReturn/IFileHandler.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/IFileHandler.cs b/ShiftOS_TheReturn/IFileHandler.cs new file mode 100644 index 0000000..3187c9a --- /dev/null +++ b/ShiftOS_TheReturn/IFileHandler.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ShiftOS.Engine +{ + public interface IFileHandler + { + void OpenFile(string file); + } + + [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] + public class FileHandlerAttribute : Attribute + { + public FileHandlerAttribute(string name, string extension, string iconid) + { + Name = name; + Extension = extension; + IconID = iconid; + } + + public string Name { get; set; } + public string Extension { get; set; } + public string IconID { get; set; } + } +} + + |
