From caa0921b1ca1f1cc1d1e2380728ca17b42e0bb42 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 25 Mar 2009 21:48:14 +0000 Subject: [PATCH] * Resources.Designer.cs: Deleted unused file. * Settings.cs: Changed default output directory to fit with the current OpenTK project structure. * GL2/Generator.cs: Suppressed documentation warnings in the generated bindings. --- Source/Bind/GL2/Generator.cs | 3 +- Source/Bind/Properties/Resources.Designer.cs | 82 -------------------- Source/Bind/Settings.cs | 2 +- 3 files changed, 3 insertions(+), 84 deletions(-) delete mode 100644 Source/Bind/Properties/Resources.Designer.cs diff --git a/Source/Bind/GL2/Generator.cs b/Source/Bind/GL2/Generator.cs index e1cba8d4..1b57921c 100644 --- a/Source/Bind/GL2/Generator.cs +++ b/Source/Bind/GL2/Generator.cs @@ -11,7 +11,6 @@ using System.IO; using Bind.Structures; using System.Diagnostics; using System.Text.RegularExpressions; -using Bind.Properties; namespace Bind.GL2 { @@ -633,6 +632,8 @@ namespace Bind.GL2 sw.WriteLine("#pragma warning disable 3019"); // CLSCompliant attribute sw.WriteLine("#pragma warning disable 1591"); // Missing doc comments + sw.WriteLine("#pragma warning disable 1572"); // Wrong param comments + sw.WriteLine("#pragma warning disable 1573"); // Missing param comments sw.WriteLine(); sw.WriteLine("static partial class {0}", Settings.OutputClass); diff --git a/Source/Bind/Properties/Resources.Designer.cs b/Source/Bind/Properties/Resources.Designer.cs deleted file mode 100644 index 1fbf6a17..00000000 --- a/Source/Bind/Properties/Resources.Designer.cs +++ /dev/null @@ -1,82 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.3074 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Bind.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Bind.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// Looks up a localized string similar to #region License - ///// - ///// The Open Toolkit Library License - ///// - ///// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. - ///// - ///// Permission is hereby granted, free of charge, to any person obtaining a copy - ///// of this software and associated documentation files (the "Software"), to deal - ///// in the Software without restriction, including without limitation the rights to - ///// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of - ///// the Software, and to permit person [rest of string was truncated]";. - /// - internal static string License { - get { - return ResourceManager.GetString("License", resourceCulture); - } - } - } -} diff --git a/Source/Bind/Settings.cs b/Source/Bind/Settings.cs index 6f6c5e84..db66333e 100644 --- a/Source/Bind/Settings.cs +++ b/Source/Bind/Settings.cs @@ -16,7 +16,7 @@ namespace Bind static Settings() { } public const string DefaultInputPath = "../../../Source/Bind/Specifications"; - public const string DefaultOutputPath = "../../../Source/OpenTK/OpenGL/Bindings"; + public const string DefaultOutputPath = "../../../Source/OpenTK/Graphics/Bindings"; public const string DefaultOutputNamespace = "OpenTK.Graphics"; public const string DefaultDocPath = "../../../Source/Bind/Specifications/Docs"; public const string DefaultDocFile = "ToInlineDocs.xslt";