dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropService


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/InteropServices InterfaceTypeAttribute.cs,1.2,1.3
Date: Sun, 29 Dec 2002 02:52:35 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices
In directory 
subversions:/tmp/cvs-serv19029/runtime/System/Runtime/InteropServices

Modified Files:
        InterfaceTypeAttribute.cs 
Log Message:
add this Attribute to support Gtk#


Index: InterfaceTypeAttribute.cs
===================================================================
RCS file: 
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/InteropServices/InterfaceTypeAttribute.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** InterfaceTypeAttribute.cs   20 Dec 2001 10:11:39 -0000      1.2
--- InterfaceTypeAttribute.cs   29 Dec 2002 07:52:32 -0000      1.3
***************
*** 23,33 ****
  {
  
! [TODO]
! public class InterfaceTypeAttribute : Attribute
  {
  
! // TODO
  
  }; // class InterfaceTypeAttribute
  
  }; // namespace System.Runtime.InteropServices
--- 23,47 ----
  {
  
! #ifdef !ECMA_COMPAT
! 
! public sealed class InterfaceTypeAttribute : Attribute
  {
+       private ComInterfaceType type;
+ 
+       public InterfaceTypeAttribute(ComInterfaceType interfaceType)
+       {
+               this.type=interfaceType;
+       }
  
!       public ComInterfaceType Value
!       {
!               get
!               {
!                       return this.type;
!               }
!       }
  
  }; // class InterfaceTypeAttribute
+ #endif
  
  }; // namespace System.Runtime.InteropServices




reply via email to

[Prev in Thread] Current Thread [Next in Thread]