* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.Drawing / System.Drawing.Imaging / ImageFlags.cs
index e70d3a5dcb8ab80d234a62319d1a0a0a2202f48c..78a815da0509eed05cb931508484b2d8bd63a066 100644 (file)
@@ -1,28 +1,51 @@
-//\r
-// System.Drawing.Imaging.ImageFlags.cs\r
-//\r
-// (C) 2002 Ximian, Inc.  http://www.ximian.com\r
-// Author: Dennis Hayes (dennish@raytek.com)\r
-//\r
-using System;\r
-namespace System.Drawing.Imaging\r
-{
-       [Flags]\r
-       [Serializable]\r
-       public enum ImageFlags {\r
-               Caching = 131072,\r
-               ColorSpaceCmyk = 32,\r
-               ColorSpaceGray = 64,\r
-               ColorSpaceRgb = 16,\r
-               ColorSpaceYcbcr = 128,\r
-               ColorSpaceYcck = 256,\r
-               HasAlpha = 2,\r
-               HasRealDpi = 4096,\r
-               HasRealPixelSize = 8192,\r
-               HasTranslucent = 4,\r
-               None = 0,\r
-               PartiallyScalable = 8,\r
-               ReadOnly = 65536,\r
-               Scalable = 1\r
-       }\r
-}\r
+//
+// System.Drawing.Imaging.ImageFlags.cs
+//
+// Author: Dennis Hayes (dennish@raytek.com)
+//
+// (C) 2002 Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+//
+// 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 persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System.Drawing.Imaging {
+
+#if ONLY_1_1
+       [Serializable]
+#endif
+       [Flags]
+       public enum ImageFlags {
+               Caching = 131072,
+               ColorSpaceCmyk = 32,
+               ColorSpaceGray = 64,
+               ColorSpaceRgb = 16,
+               ColorSpaceYcbcr = 128,
+               ColorSpaceYcck = 256,
+               HasAlpha = 2,
+               HasRealDpi = 4096,
+               HasRealPixelSize = 8192,
+               HasTranslucent = 4,
+               None = 0,
+               PartiallyScalable = 8,
+               ReadOnly = 65536,
+               Scalable = 1
+       }
+}