00001 #include "nsISupports.idl" 00002 #include "tmozIException.idl" 00003 #include "tmozIAppVersionInfo.idl" 00004 #include "tmozIWindow.idl" 00005 #include "tmozIDomainManager.idl" 00006 00007 interface tmozIFrame; 00008 interface tmozISharedConfiguration; 00009 interface tmozIDocManager; 00010 interface tmozISharedComponentManager; 00011 interface tmozIMimeBase; 00012 interface tmozIIdManager; 00013 interface nsIComponentRegistrar; 00014 00030 [scriptable, uuid(f4e2eb3a-4380-4158-a41c-300a049d04dc) ] 00031 interface tmozIApplication: nsISupports 00032 { 00036 const long MBT_ERROR=0; 00040 const long MBT_INFO=1; 00044 const long MBT_WARNING=2; 00048 const long MBT_QUESTION_YES_NO=3; 00052 const long MBT_QUESTION_YES_NO_CANCEL=4; 00056 const long MBT_QUESTION_OK_CANCEL=5; 00057 00061 const long MBR_OK=0; 00065 const long MBR_CANCEL=1; 00069 const long MBR_YES=2; 00073 const long MBR_NO=3; 00074 00081 readonly attribute nsIComponentRegistrar componentRegistrar; 00082 00089 readonly attribute tmozISharedComponentManager componentManager; 00090 00097 readonly attribute tmozIAppVersionInfo version; 00098 00105 readonly attribute tmozISharedConfiguration configuration; 00106 00112 readonly attribute tmozIDocManager docManager; 00113 00121 readonly attribute tmozIMimeBase mimeBase; 00122 00128 readonly attribute tmozIIdManager idManager; 00129 00136 readonly attribute tmozIDomainManager domainManager; 00137 00143 readonly attribute tmozIWindow loginDialog; 00144 00167 long messageBox(in tmozIWindow aWindow, in long type, in AString text, in AString description); 00168 00174 void quit(); 00175 };