Inheritance: System.MarshalByRefObject, IRequiredService, ICanonicalPlaybackController, IPlaybackController, IPlaybackControllerService
Ejemplo n.º 1
0
 public MediaPlayer ()
 {
     playback_service = ServiceManager.PlaybackController;
     engine_service = ServiceManager.PlayerEngine;
     changed_properties = new Dictionary<string, object> ();
     invalidated_properties = new List<string> ();
 }
Ejemplo n.º 2
0
        public MediaPlayer ()
        {
            playback_service = ServiceManager.PlaybackController;
            engine_service = ServiceManager.PlayerEngine;
            playlist_sources = new Dictionary<string, AbstractPlaylistSource> ();
            changed_properties = new Dictionary<string, object> ();
            current_properties = new Dictionary<string, object> ();
            invalidated_properties = new List<string> ();

            var interface_service = ServiceManager.Get<InterfaceActionService> ();
            fullscreen_action = interface_service.ViewActions["FullScreenAction"] as Gtk.ToggleAction;
        }