2002-09-13 11:38:36 +00:00
|
|
|
|
//
|
|
|
|
|
// SignalAttribute.cs
|
|
|
|
|
//
|
|
|
|
|
// Author:
|
|
|
|
|
// Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
|
|
|
|
|
//
|
|
|
|
|
// (C) Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
namespace GLib {
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Marks events genrated from glib signals
|
|
|
|
|
/// </summary>
|
|
|
|
|
///
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// This attribute indentifies events generated from glib signals
|
|
|
|
|
/// and allows obtaining its original name.
|
|
|
|
|
/// </remarks>
|
|
|
|
|
[Serializable]
|
2003-11-28 05:29:34 +00:00
|
|
|
|
public sealed class SignalAttribute : Attribute
|
2002-09-13 11:38:36 +00:00
|
|
|
|
{
|
|
|
|
|
private string cname;
|
|
|
|
|
|
|
|
|
|
public SignalAttribute (string cname)
|
|
|
|
|
{
|
|
|
|
|
this.cname = cname;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private SignalAttribute () {}
|
|
|
|
|
|
|
|
|
|
public string CName
|
|
|
|
|
{
|
|
|
|
|
get {
|
|
|
|
|
return cname;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|