This repository has been archived on 2025-01-01. You can view files and clone it, but cannot push or open issues or pull requests.
ShiftOS_TheReturn/ShiftOS_TheReturn/IFileHandler.cs
2017-06-28 08:19:44 -04:00

30 lines
685 B
C#

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; }
}
}