00001 /* 00002 // 00003 // BEGIN SONGBIRD GPL 00004 // 00005 // This file is part of the Songbird web player. 00006 // 00007 // Copyright(c) 2005-2008 POTI, Inc. 00008 // http://songbirdnest.com 00009 // 00010 // This file may be licensed under the terms of of the 00011 // GNU General Public License Version 2 (the "GPL"). 00012 // 00013 // Software distributed under the License is distributed 00014 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 00015 // express or implied. See the GPL for the specific language 00016 // governing rights and limitations. 00017 // 00018 // You should have received a copy of the GPL along with this 00019 // program. If not, go to http://www.gnu.org/licenses/gpl.html 00020 // or write to the Free Software Foundation, Inc., 00021 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00022 // 00023 // END SONGBIRD GPL 00024 // 00025 */ 00026 00033 #include "nsISupports.idl" 00034 00035 interface sbIPropertyArray; 00036 interface sbIPropertyInfo; 00037 interface nsIStringBundle; 00038 00043 [scriptable, uuid(9b1026c6-3896-49c6-a72f-4f4a2b21a6be)] 00044 interface sbIPropertyBuilder : nsISupports 00045 { 00046 attribute AString propertyID; 00047 00048 attribute AString displayName; 00049 00050 attribute AString displayNameKey; 00051 00052 attribute boolean userViewable; 00053 00054 attribute boolean userEditable; 00055 00056 attribute boolean remoteReadable; 00057 00058 attribute boolean remoteWritable; 00059 00060 sbIPropertyInfo get(); 00061 }; 00062 00067 [scriptable, uuid(bd71935f-697f-424d-9721-6477f4e34556)] 00068 interface sbISimpleButtonPropertyBuilder : sbIPropertyBuilder 00069 { 00070 attribute AString label; 00071 00072 attribute AString labelKey; 00073 }; 00074 00079 [scriptable, uuid(9ab2e249-e8ef-477b-88a4-790c08a47a54)] 00080 interface sbIDownloadButtonPropertyBuilder : sbIPropertyBuilder 00081 { 00082 attribute AString label; 00083 00084 attribute AString retryLabel; 00085 00086 attribute AString labelKey; 00087 00088 attribute AString retryLabelKey; 00089 }; 00090 00095 [scriptable, uuid(7b68af5c-3443-4c5b-9c65-44efe3781510)] 00096 interface sbIImagePropertyBuilder : sbIPropertyBuilder 00097 { 00098 }; 00099 00104 [scriptable, uuid(10f69629-3e74-448a-b627-7ea734644715)] 00105 interface sbIRatingPropertyBuilder : sbIPropertyBuilder 00106 { 00107 }; 00108