2007-03-19 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / System.Drawing / System.Drawing.Drawing2D / GraphicsContainer.cs
index 001d4033dbec076b4b5293dee3dd3915e2167c1d..55ffa6661242c758cc3a4c49481e4f8cad5722c0 100644 (file)
@@ -1,39 +1,48 @@
-//\r
-// System.Drawing.Drawing2D.GraphicsContainer.cs\r
-//\r
-// Authors:\r
+//
+// System.Drawing.Drawing2D.GraphicsContainer.cs
+//
+// Authors:
 //   Dennis Hayes (dennish@Raytek.com)
-//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)\r
-//\r
-// (C) 2002/3 Ximian, Inc\r
-//\r
-using System;\r
-\r
-namespace System.Drawing.Drawing2D {\r
-       /// <summary>\r
-       /// Summary description for GraphicsContainer.\r
-       /// </summary>\r
-       public sealed class GraphicsContainer : MarshalByRefObject {\r
-               \r
-               internal int nativeState = 0;\r
-               \r
-               private GraphicsContainer ()
-               {\r
-                       
-               }\r
-               \r
-               internal GraphicsContainer (int state)
-               {\r
+//   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
+//
+// (C) 2002/3 Ximian, Inc
+// Copyright (C) 2004,2006 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.Drawing2D {
+
+       public sealed class GraphicsContainer : MarshalByRefObject {
+               
+               private uint nativeState;
+
+               internal GraphicsContainer (uint state)
+               {
                        nativeState = state;
-               }\r
-               \r
-               internal int NativeObject{            \r
-                               get{\r
-                                               return nativeState;\r
-                               }\r
-                               set     {\r
-                                               nativeState = value;\r
-                               }\r
-                       }\r
-       }\r
-}\r
+               }
+               
+               internal uint NativeObject {
+                       get {
+                               return nativeState;
+                       }
+               }
+       }
+}