Ryujinx-GtkSharp/glib/DefaultSignalHandlerAttribute.cs
Mike Kestner ba1d3996a4 2003-12-10 Mike Kestner <mkestner@ximian.com>
* generator/CallbackGen.cs : kill ref_owned generation
	* generator/ClassBase.cs : use simple GetObject w/o ref_owned
	* generator/ManagedCallString.cs : new class to generate native
	to managed method calls.
	* generator/Method.cs : kill ref_owned generation
	* generator/MethodBody.cs : kill ref_owned generation
	* generator/Property.cs : kill ref_owned generation
	* generator/Signal.cs : generate delegates and vtable connect
	methods for all signals. Mark VMs with new attr.
	* generator/StructBase.cs : kill ref_owned generation
	* glib/DefaultSignalHandlerAttribute.cs : new attr to mark
	virtual methods.
	* glib/Object.cs : add overload for GetObject that defaults
	to ref_owned=false. Add extern for VM override glue.

svn path=/trunk/gtk-sharp/; revision=21005
2003-12-10 22:56:49 +00:00

41 lines
523 B
C#

//
// DefaultSignalHandlerAttribute.cs
//
// Author: Mike Kestner <mkestner@ximian.com>
//
// (C) 2003 Novell, Inc.
//
namespace GLib {
using System;
public sealed class DefaultSignalHandlerAttribute : Attribute
{
private string method;
private Type type;
public DefaultSignalHandlerAttribute () {}
public string ConnectionMethod
{
get {
return method;
}
set {
method = value;
}
}
public Type Type
{
get {
return type;
}
set {
type = value;
}
}
}
}