diff --git a/src/Generator/Filter.cs b/src/Generator/Filter.cs deleted file mode 100644 index 3f13c9fe..00000000 --- a/src/Generator/Filter.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Linq; -using System.Xml.Linq; -using System.Collections.Generic; - -namespace Cxxi -{ - public enum FilterMode { - Include, - Exclude, - External - } - - public enum ImplementationType { - @class, - @struct - } - - public struct Filter { - - public string TypeName { get; set; } - public FilterMode Mode { get; set; } - public ImplementationType ImplType { get; set; } - - public static Dictionary Load (XDocument doc, out FilterMode @default) - { - string value; - @default = (value = (string)doc.Root.Attribute ("default")) != null ? (FilterMode)System.Enum.Parse (typeof (FilterMode), value) : FilterMode.Include; - - var rules = from rule in doc.Root.Elements () - let mode = (FilterMode)System.Enum.Parse (typeof (FilterMode), rule.Name.LocalName) - let impl = (value = (string)rule.Attribute ("implementation")) != null ? (ImplementationType)System.Enum.Parse (typeof (ImplementationType), value) : ImplementationType.@class - select new Filter { TypeName = rule.Value, Mode = mode, ImplType = impl }; - - - return rules.ToDictionary (r => r.TypeName); - } - } -} \ No newline at end of file diff --git a/src/Generator/Generator.t4properties b/src/Generator/Generator.t4properties deleted file mode 100644 index cd5e60eb..00000000 --- a/src/Generator/Generator.t4properties +++ /dev/null @@ -1,10 +0,0 @@ - - - - - Templates\CSharpModule.tt - Host - VisualStudio - - - \ No newline at end of file diff --git a/src/Generator/packages.config b/src/Generator/packages.config deleted file mode 100644 index 9ba11398..00000000 --- a/src/Generator/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file