sbIDeviceLibraryMediaSyncSettings.idl
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2011 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
25 #include "nsISupports.idl"
26 
30 interface nsIArray;
31 interface nsIFile;
32 interface sbIMediaList;
33 
34 [scriptable, uuid(0172e449-18d2-4930-aebf-1a87375b8515)]
36 {
38  void onPlaylistRemoved(in sbIMediaList aPlaylist);
39 };
40 
41 [scriptable, uuid(54d2751f-3c12-4d17-6846-cad55178e8b9)]
43 {
54  const unsigned long SYNC_MGMT_NONE = 10;
55  const unsigned long SYNC_MGMT_ALL = 11;
56  const unsigned long SYNC_MGMT_PLAYLISTS = 12;
57 
61  attribute boolean import;
62 
67  attribute unsigned long mgmtType;
68 
76  readonly attribute unsigned long lastActiveMgmtType;
77 
82  attribute nsIArray selectedPlaylists;
83 
88  in boolean aSelected);
89 
94 
99 
104  attribute AString syncFolder;
105 
110  attribute nsIFile syncFromFolder;
111 
115  readonly attribute nsIArray syncPlaylists;
116 
121 
126 };
readonly attribute unsigned long lastActiveMgmtType
void onPlaylistRemoved(in sbIMediaList aPlaylist)
var uuid
A brief description of the contents of this interface.
var d2
void removePlaylistListener(in sbIDeviceLibraryPlaylistListener aListener)
boolean getPlaylistSelected(in sbIMediaList aPlaylist)
void setPlaylistSelected(in sbIMediaList aPlaylist, in boolean aSelected)
void addPlaylistListener(in sbIDeviceLibraryPlaylistListener aListener)
void onPlaylistAdded(in sbIMediaList aPlaylist)