sbILibraryChangeset.idl
Go to the documentation of this file.
1 /*
2 //
3 // BEGIN SONGBIRD GPL
4 //
5 // This file is part of the Songbird web player.
6 //
7 // Copyright(c) 2005-2008 POTI, Inc.
8 // http://songbirdnest.com
9 //
10 // This file may be licensed under the terms of of the
11 // GNU General Public License Version 2 (the "GPL").
12 //
13 // Software distributed under the License is distributed
14 // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
15 // express or implied. See the GPL for the specific language
16 // governing rights and limitations.
17 //
18 // You should have received a copy of the GPL along with this
19 // program. If not, go to http://www.gnu.org/licenses/gpl.html
20 // or write to the Free Software Foundation, Inc.,
21 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 //
23 // END SONGBIRD GPL
24 //
25 */
26 
32 #include "nsISupports.idl"
33 
34 interface nsIArray;
35 interface sbIMediaItem;
36 interface sbIMediaList;
37 
42 [scriptable, uuid(17c6e702-ea9d-46ed-98ed-0bd57d84b25c)]
44 {
48  const unsigned long UNKNOWN = 0;
49 
53  const unsigned long ADDED = 0x10;
54 
58  const unsigned long MODIFIED = 0x20;
59 
63  const unsigned long MOVED = 0x30;
64 
68  const unsigned long DELETED = 0x40;
69 
73  readonly attribute unsigned long operation;
74 };
75 
80 [scriptable, uuid(182106d3-a5eb-4c59-a161-766940c7c1da)]
82 {
89  readonly attribute AString id;
90 
94  readonly attribute AString oldValue;
95 
99  readonly attribute AString newValue;
100 };
101 
106 [scriptable, uuid(e8db7394-2256-45b1-b079-28fbbcb7f5b9)]
108 {
114  readonly attribute unsigned long long timestamp;
115 
123  readonly attribute sbIMediaItem sourceItem;
124 
135  readonly attribute sbIMediaItem destinationItem;
136 
145  readonly attribute boolean itemIsList;
146 
155  readonly attribute nsIArray listItems;
156 
165  readonly attribute nsIArray properties;
166 };
167 
168 
173 [scriptable, uuid(15ce0b86-4285-481b-8af4-751fc2357f7b)]
175 {
181  readonly attribute nsIArray sourceLists;
182 
192  readonly attribute sbIMediaList destinationList;
193 
202  attribute nsIArray changes;
203 };
const unsigned long DELETED
readonly attribute sbIMediaItem sourceItem
readonly attribute AString oldValue
readonly attribute AString id
attribute nsIArray changes
readonly attribute unsigned long operation
readonly attribute nsIArray sourceLists
var uuid
A brief description of the contents of this interface.
readonly attribute AString newValue
readonly attribute unsigned long long timestamp
readonly attribute boolean itemIsList
const unsigned long MODIFIED
readonly attribute sbIMediaList destinationList
readonly attribute nsIArray listItems
readonly attribute nsIArray properties
Interface that defines a single item of media in the system.
readonly attribute sbIMediaItem destinationItem
const unsigned long MOVED
const unsigned long ADDED
const unsigned long UNKNOWN