2002-09-13 11:38:36 +00:00
|
|
|
|
// SignalAttribute.cs
|
|
|
|
|
//
|
|
|
|
|
// Author:
|
2018-01-17 20:31:39 +00:00
|
|
|
|
// Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
|
2002-09-13 11:38:36 +00:00
|
|
|
|
//
|
2018-01-17 20:31:39 +00:00
|
|
|
|
// Copyright (c) Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
|
2004-06-25 18:42:19 +00:00
|
|
|
|
//
|
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
|
// modify it under the terms of version 2 of the Lesser GNU General
|
|
|
|
|
// Public License as published by the Free Software Foundation.
|
2002-09-13 11:38:36 +00:00
|
|
|
|
//
|
2004-06-25 18:42:19 +00:00
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this program; if not, write to the
|
|
|
|
|
// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
|
// Boston, MA 02111-1307, USA.
|
|
|
|
|
|
2002-09-13 11:38:36 +00:00
|
|
|
|
|
|
|
|
|
namespace GLib {
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
2005-10-08 21:08:04 +00:00
|
|
|
|
[AttributeUsage (AttributeTargets.Event, Inherited=false)]
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|