Import 1.9b4 extra tag from cvs
[mozilla-extra.git] / extensions / mono / test / test.idl
blob059aac20dd1bc045fe0d9c2b26fd98d5fa5b69e0
1 #include "nsISupports.idl"
3 [scriptable,uuid(75d2225d-0a67-4dbc-91de-78319594cce8)]
4 interface testCallback : nsISupports
6 void call();
7 };
9 [scriptable,uuid(1afbcf6a-e23f-4e12-b191-4c0a76cd9cec)]
10 interface test : nsISupports
12 void say(in string sayIt);
13 void shout(in string shoutIt);
14 void poke(in string with);
15 PRInt32 add(in PRInt32 a, in PRInt32 b);
16 string peek();
17 void callback(in testCallback cb);
18 attribute PRInt32 intProp;
19 readonly attribute PRInt32 roIntProp;
22 [scriptable,uuid(5a1f21a2-8aa3-4147-a808-1e1a422dcb76)]
23 interface testString : nsISupports
25 void say(in string sayIt);
28 [scriptable,uuid(5a1f21a2-8aa3-4147-a808-1e1a422dcb77)]
29 interface testInt : nsISupports
31 void add(in PRInt32 a, in PRInt32 b);