Author: spouliot
Date: 2005-04-22 22:48:33 -0400 (Fri, 22 Apr 2005)
New Revision: 43466
Added:
trunk/mcs/class/corlib/System.Runtime.InteropServices/_Attribute.cs
Modified:
trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
Log:
2005-04-22 Sebastien Pouliot <[EMAIL PROTECTED]>
* _Attribute.cs: New. Interface for attributes in 2.0.
Modified: trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
2005-04-23 02:26:14 UTC (rev 43465)
+++ trunk/mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
2005-04-23 02:48:33 UTC (rev 43466)
@@ -1,3 +1,7 @@
+2005-04-22 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * _Attribute.cs: New. Interface for attributes in 2.0.
+
2005-04-13 Marek Safar <[EMAIL PROTECTED]>
* DefaultCharSetAttribute.cs: Removed useless using.
Added: trunk/mcs/class/corlib/System.Runtime.InteropServices/_Attribute.cs
===================================================================
--- trunk/mcs/class/corlib/System.Runtime.InteropServices/_Attribute.cs
2005-04-23 02:26:14 UTC (rev 43465)
+++ trunk/mcs/class/corlib/System.Runtime.InteropServices/_Attribute.cs
2005-04-23 02:48:33 UTC (rev 43466)
@@ -0,0 +1,50 @@
+//
+// System.Runtime.InteropServices._Attribute interface
+//
+// Author:
+// Sebastien Pouliot <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2005 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.
+//
+
+#if NET_2_0
+
+namespace System.Runtime.InteropServices {
+
+ [ComVisible (true)]
+ [CLSCompliant (false)]
+ [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
+ [Guid ("917B14D0-2D9E-38B8-92A9-381ACF52F7C0")]
+ public interface _Attribute {
+
+ void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint
cNames, uint lcid, IntPtr rgDispId);
+
+ void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
+
+ void GetTypeInfoCount (out uint pcTInfo);
+
+ void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid,
short wFlags, IntPtr pDispParams,
+ IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
+ }
+}
+
+#endif
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches