Back to index

lightning-sunbird  0.9+nobinonly
test.idl
Go to the documentation of this file.
00001 #include "nsISupports.idl"
00002 
00003 [scriptable,uuid(75d2225d-0a67-4dbc-91de-78319594cce8)]
00004 interface testCallback : nsISupports
00005 {
00006     void call();
00007 };
00008 
00009 [scriptable,uuid(1afbcf6a-e23f-4e12-b191-4c0a76cd9cec)]
00010 interface test : nsISupports
00011 {
00012     void say(in string sayIt);
00013     void shout(in string shoutIt);
00014     void poke(in string with);
00015     PRInt32 add(in PRInt32 a, in PRInt32 b);
00016     string peek();
00017     void callback(in testCallback cb);
00018     attribute PRInt32 intProp;
00019     readonly attribute PRInt32 roIntProp;
00020 };
00021 
00022 [scriptable,uuid(5a1f21a2-8aa3-4147-a808-1e1a422dcb76)]
00023 interface testString : nsISupports
00024 {
00025     void say(in string sayIt);
00026 };
00027 
00028 [scriptable,uuid(5a1f21a2-8aa3-4147-a808-1e1a422dcb77)]
00029 interface testInt : nsISupports
00030 {
00031     void add(in PRInt32 a, in PRInt32 b);
00032 };