mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 19:50:12 +01:00
22 lines
744 B
JavaScript
22 lines
744 B
JavaScript
|
|
||
|
const IDL_GENERATOR =
|
||
|
new Components.Constructor("@mozilla.org/interfaceinfotoidl;1",
|
||
|
"nsIInterfaceInfoToIDL");
|
||
|
|
||
|
var gen = new IDL_GENERATOR();
|
||
|
|
||
|
function generateIDL(iid) {return gen.generateIDL(iid, false, false);}
|
||
|
|
||
|
print();
|
||
|
print();
|
||
|
print(generateIDL(Components.interfaces.nsISupports));
|
||
|
print("//------------------------------------------------------------");
|
||
|
print(generateIDL(Components.interfaces.nsIDataType));
|
||
|
print("//------------------------------------------------------------");
|
||
|
print(generateIDL(Components.interfaces.nsIScriptableInterfaceInfo));
|
||
|
print("//------------------------------------------------------------");
|
||
|
print(generateIDL(Components.interfaces.nsIVariant));
|
||
|
print();
|
||
|
print();
|
||
|
|