C# Class Banshee.PlayQueue.PlayQueueSource

Inheritance: Banshee.Playlist.PlaylistSource, IBasicPlaybackController, IPlayQueue, IDBusExportable, IDisposable
Show file Open project: mono-soc-2011/banshee Class Usage Examples

Public Properties

Property Type Description
ClearOnQuitSchema SchemaEntry
PlayedSongsNumberSchema SchemaEntry
PopulateFromSchema SchemaEntry
PopulateModeSchema SchemaEntry
UpcomingSongsNumberSchema SchemaEntry

Protected Properties

Property Type Description
source_set_at System.DateTime

Private Properties

Property Type Description
BindToDatabase void
CalculateViewOrder long
Clear void
EnqueueId void
HandleReloaded void
IBasicPlaybackController bool
IBasicPlaybackController bool
IBasicPlaybackController bool
InstallPreferences void
IterateTrackModelUntilEndMatch void
OnPlayerEvent void
OnTrackStarted void
SetAsPlaybackSourceUnlessPlaying void
SetCurrentTrack void
ShiftForAddedAfter void
ShiftGeneratedTracks void
UninstallPreferences void
UpdatePlayQueue void

Public Methods

Method Description
AddMoreRandomTracks ( ) : void
AddSelectedTracks ( Source source, QueueMode mode ) : bool
AddSelectedTracks ( Source source, Selection selection ) : bool
AddSelectedTracks ( Source source, Selection selection, QueueMode mode ) : bool
Clear ( ) : void
CreateHeaderWidget ( ) : Banshee.PlayQueue.HeaderWidget
Dispose ( ) : void
EnqueueTrack ( Banshee.Collection.TrackInfo track, bool prepend ) : void
EnqueueUri ( string uri ) : void
EnqueueUri ( string uri, bool prepend ) : void
IsTrackEnabled ( int index ) : bool
PlayQueueSource ( ) : System
Refresh ( ) : void
Reload ( ) : void
ReorderSelectedTracks ( int drop_row ) : void
Shuffle ( ) : void

Protected Methods

Method Description
CreateTrackModelFor ( DatabaseSource src ) : DatabaseTrackListModel
Initialize ( ) : void
OnTracksAdded ( ) : void
OnTracksRemoved ( ) : void
RemoveTrackRange ( DatabaseTrackListModel model, RangeCollection range ) : void

Private Methods

Method Description
BindToDatabase ( ) : void
CalculateViewOrder ( QueueMode mode ) : long
Clear ( bool disposing ) : void
EnqueueId ( int trackId, bool prepend, bool generated ) : void
HandleReloaded ( object sender, EventArgs e ) : void
IBasicPlaybackController ( ) : bool
IBasicPlaybackController ( bool restart ) : bool
IBasicPlaybackController ( bool restart, bool changeImmediately ) : bool
InstallPreferences ( ) : void
IterateTrackModelUntilEndMatch ( long &viewOrder, bool checkAlbum ) : void
OnPlayerEvent ( Banshee.MediaEngine.PlayerEventArgs args ) : void
OnTrackStarted ( object sender, EventArgs e ) : void
SetAsPlaybackSourceUnlessPlaying ( ) : void
SetCurrentTrack ( DatabaseTrackInfo track ) : void
ShiftForAddedAfter ( long viewOrder, long maxViewOrder ) : void
ShiftGeneratedTracks ( long viewOrder ) : void
UninstallPreferences ( ) : void
UpdatePlayQueue ( ) : void

Method Details

AddMoreRandomTracks() public method

public AddMoreRandomTracks ( ) : void
return void

AddSelectedTracks() public method

public AddSelectedTracks ( Source source, QueueMode mode ) : bool
source Source
mode QueueMode
return bool

AddSelectedTracks() public method

public AddSelectedTracks ( Source source, Selection selection ) : bool
source Source
selection Selection
return bool

AddSelectedTracks() public method

public AddSelectedTracks ( Source source, Selection selection, QueueMode mode ) : bool
source Source
selection Selection
mode QueueMode
return bool

Clear() public method

public Clear ( ) : void
return void

CreateHeaderWidget() public method

public CreateHeaderWidget ( ) : Banshee.PlayQueue.HeaderWidget
return Banshee.PlayQueue.HeaderWidget

CreateTrackModelFor() protected method

protected CreateTrackModelFor ( DatabaseSource src ) : DatabaseTrackListModel
src Banshee.Sources.DatabaseSource
return Banshee.Collection.Database.DatabaseTrackListModel

Dispose() public method

public Dispose ( ) : void
return void

EnqueueTrack() public method

public EnqueueTrack ( Banshee.Collection.TrackInfo track, bool prepend ) : void
track Banshee.Collection.TrackInfo
prepend bool
return void

EnqueueUri() public method

public EnqueueUri ( string uri ) : void
uri string
return void

EnqueueUri() public method

public EnqueueUri ( string uri, bool prepend ) : void
uri string
prepend bool
return void

Initialize() protected method

protected Initialize ( ) : void
return void

IsTrackEnabled() public method

public IsTrackEnabled ( int index ) : bool
index int
return bool

OnTracksAdded() protected method

protected OnTracksAdded ( ) : void
return void

OnTracksRemoved() protected method

protected OnTracksRemoved ( ) : void
return void

PlayQueueSource() public method

public PlayQueueSource ( ) : System
return System

Refresh() public method

public Refresh ( ) : void
return void

Reload() public method

public Reload ( ) : void
return void

RemoveTrackRange() protected method

protected RemoveTrackRange ( DatabaseTrackListModel model, RangeCollection range ) : void
model Banshee.Collection.Database.DatabaseTrackListModel
range RangeCollection
return void

ReorderSelectedTracks() public method

public ReorderSelectedTracks ( int drop_row ) : void
drop_row int
return void

Shuffle() public method

public Shuffle ( ) : void
return void

Property Details

ClearOnQuitSchema public static property

public static SchemaEntry ClearOnQuitSchema
return SchemaEntry

PlayedSongsNumberSchema public static property

public static SchemaEntry PlayedSongsNumberSchema
return SchemaEntry

PopulateFromSchema public static property

public static SchemaEntry PopulateFromSchema
return SchemaEntry

PopulateModeSchema public static property

public static SchemaEntry PopulateModeSchema
return SchemaEntry

UpcomingSongsNumberSchema public static property

public static SchemaEntry UpcomingSongsNumberSchema
return SchemaEntry

source_set_at protected property

protected DateTime,System source_set_at
return System.DateTime