summaryrefslogtreecommitdiffstats
path: root/mono/InterfaceAttribute.cs
diff options
context:
space:
mode:
authorOwen Fraser-Green <owen@discobabe.net>2004-03-23 12:10:32 +0000
committerOwen Fraser-Green <owen@discobabe.net>2004-03-23 12:10:32 +0000
commitc916037773d7d3d8d37ca2c5a8899b7b728e377d (patch)
tree21c37372ab9795583e724e8459578b7fe0be330b /mono/InterfaceAttribute.cs
parent2195cf0dbde2ae26b5a684c6d914c1711f44c28d (diff)
First checkin of the Mono bindings.
Diffstat (limited to 'mono/InterfaceAttribute.cs')
-rw-r--r--mono/InterfaceAttribute.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mono/InterfaceAttribute.cs b/mono/InterfaceAttribute.cs
new file mode 100644
index 00000000..2a6e9bb0
--- /dev/null
+++ b/mono/InterfaceAttribute.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace DBus
+{
+ [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
+ public class InterfaceAttribute : Attribute
+ {
+ private string interfaceName;
+
+ public InterfaceAttribute(string interfaceName)
+ {
+ this.interfaceName = interfaceName;
+ }
+
+ public string InterfaceName
+ {
+ get
+ {
+ return this.interfaceName;
+ }
+ }
+ }
+}