00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00032 #include "nsISupports.idl"
00033 interface nsISimpleEnumerator;
00034
00035 [scriptable, uuid(3813e226-4465-4a4a-90e3-b890e2271e2c)]
00036 interface sbISmartPlaylistProperty : nsISupports
00037 {
00041 readonly attribute AString propertyID;
00042
00046 readonly attribute long defaultColumnWidth;
00047
00051 readonly attribute AString defaultSortDirection;
00052 };
00053
00062 [scriptable, uuid(177dff4d-c845-4d7d-b1e8-533591908526)]
00063 interface sbISmartPlaylistPropertyRegistrar : nsISupports
00064 {
00071 nsISimpleEnumerator getPropertiesForContext(in AString aContextID);
00072
00079 void registerPropertyToContext(in AString aContextID,
00080 in AString aProperty,
00081 in long aDefaultColWidth,
00082 in AString aDefaultSortDirection);
00083 };
00084