00001 #include "nsISupports.idl" 00002 #include "tmozIException.idl" 00003 #include "nsISupportsArray.idl" 00004 00013 [scriptable, uuid(bcf04e9e-4864-444d-8c68-987d14ec2070) ] 00014 interface tmozIDomainConfiguration: nsISupports 00015 { 00022 const long SOURCE_DOMAIN=0; 00028 const long SOURCE_CONFIG=1; 00032 const long SOURCE_USER=2; 00033 00039 nsISupportsArray getItems(); 00040 00048 boolean hasValue(in AString name); 00049 00064 boolean addValue(in long itemType, in AString name, in AString value); 00065 00072 void deleteItem(in AString name); 00073 00084 AString getValue(in AString name); 00085 00096 boolean setValue(in AString name, in AString value); 00097 00106 long getItemSource(in AString name); 00107 00126 AString expandVariables(in AString value); 00127 };