Author: miguel
Date: 2007-07-23 01:05:33 -0400 (Mon, 23 Jul 2007)
New Revision: 82457

Added:
   trunk/olive/class/agmono/System.Windows.Interop/
   trunk/olive/class/agmono/System.Windows.Interop/Plugin.cs
Modified:
   trunk/olive/class/agmono/agmono.dll.sources
Log:
Add

Added: trunk/olive/class/agmono/System.Windows.Interop/Plugin.cs
===================================================================
--- trunk/olive/class/agmono/System.Windows.Interop/Plugin.cs   2007-07-23 
03:10:16 UTC (rev 82456)
+++ trunk/olive/class/agmono/System.Windows.Interop/Plugin.cs   2007-07-23 
05:05:33 UTC (rev 82457)
@@ -0,0 +1,45 @@
+//
+// BrowserHost.cs
+//
+// Author:
+//   Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2007 Novell, Inc.
+//
+// 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.Windows.Interop {
+
+       public static class PluginHost {
+               static IntPtr plugin_handle;
+
+               public static void SetPluginHandle (IntPtr value)
+               {
+                       plugin_handle = value;
+               }
+
+               public IntPtr Handle {
+                       get {
+                               return plugin_handle;
+                       }
+               }
+       }
+}


Property changes on: trunk/olive/class/agmono/System.Windows.Interop/Plugin.cs
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: trunk/olive/class/agmono/agmono.dll.sources
===================================================================
--- trunk/olive/class/agmono/agmono.dll.sources 2007-07-23 03:10:16 UTC (rev 
82456)
+++ trunk/olive/class/agmono/agmono.dll.sources 2007-07-23 05:05:33 UTC (rev 
82457)
@@ -5,3 +5,4 @@
 Mono/NativeMethods.cs
 Mono/Value.cs
 Mono/Moonlight.cs
+System.Windows.Interop/Plugin.cs
\ No newline at end of file

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to