2009-04-25 Mike Kestner <mkestner@novell.com>

* generator/OpaqueGen.cs: support declaring managed ifaces.
	[Fixes #494193] Revised patch from Sebastian Dröge.

svn path=/trunk/gtk-sharp/; revision=132675
This commit is contained in:
Mike Kestner 2009-04-26 02:57:11 +00:00
parent e04bae2434
commit a2715073d1
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2009-04-25 Mike Kestner <mkestner@novell.com>
* generator/OpaqueGen.cs: support declaring managed ifaces.
[Fixes #494193] Revised patch from Sebastian Dröge.
2009-04-24 Stephane Delcroix <sdelcroix@novell.com>
* generator/Ctor.cs: Read the name attribute for constructors

View File

@ -69,6 +69,13 @@ namespace GtkSharp.Generation {
sw.Write (" : " + cs_parent);
else
sw.Write (" : GLib.Opaque");
foreach (string iface in managed_interfaces) {
if (Parent != null && Parent.Implements (iface))
continue;
sw.Write (", " + iface);
}
sw.WriteLine (" {");
sw.WriteLine ();