00001 #include "nsISupports.idl" 00002 #include "tmozIException.idl" 00003 #include "tmozIActionObject.idl" 00004 #include "tmozIUpdateCommand.idl" 00005 00024 [scriptable, uuid(1eaac765-ce0d-4c9f-99fe-73c164364160) ] 00025 interface tmozIDomainComponent: nsISupports 00026 { 00032 readonly attribute AString name; 00033 00039 readonly attribute boolean canUnregister; 00040 00052 void onRegister(in tmozIException tmozException); 00053 00067 void onConfigure(in tmozIException tmozException); 00068 00078 void onUnregister(); 00079 00095 long onReceivedObject(in tmozIActionObject tmozActionObject, in tmozIException tmozException); 00096 00105 boolean onCommand(in AString commandId); 00106 00116 boolean onUpdateCommand(in AString commandId, in tmozIUpdateCommand update); 00117 };