00001 #include "nsISupports.idl" 00002 #include "nsISimpleEnumerator.idl" 00003 #include "tmozIException.idl" 00004 #include "tmozIUserSettingsPage.idl" 00005 00013 [scriptable, uuid(CA5AD555-2C6C-4ea1-AA5D-CF1A76F6987C) ] 00014 interface tmozIUserSettings 00015 : nsISupports { 00021 const long CONFIRM_TYPE_CHECKBOX = 0; 00022 00028 const long CONFIRM_TYPE_THREESTATE = 1; 00029 00035 readonly attribute long pageCount; 00036 00045 tmozIUserSettingsPage getPage(in long index); 00046 00052 void registerPage(in tmozIUserSettingsPage page); 00053 00066 void registerDialogConfirmation(in AString description, in AString optionName, in long type); 00067 };