From 58013498a9c2628fc3c7fb7014de42c8ce8fad11 Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 14 Aug 2013 00:46:13 +0100 Subject: [PATCH] Remove unused files. --- src/Generator/Filter.cs | 39 ---------------------------- src/Generator/Generator.t4properties | 10 ------- src/Generator/packages.config | 4 --- 3 files changed, 53 deletions(-) delete mode 100644 src/Generator/Filter.cs delete mode 100644 src/Generator/Generator.t4properties delete mode 100644 src/Generator/packages.config 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