Home | Trees | Indices | Help |
---|
|
1 # Elisa - Home multimedia server 2 # Copyright (C) 2006-2008 Fluendo Embedded S.L. (www.fluendo.com). 3 # All rights reserved. 4 # 5 # This file is available under one of two license agreements. 6 # 7 # This file is licensed under the GPL version 3. 8 # See "LICENSE.GPL" in the root of this distribution including a special 9 # exception to use Elisa with Fluendo's plugins. 10 # 11 # The GPL part of Elisa is also available under a commercial licensing 12 # agreement from Fluendo. 13 # See "LICENSE.Elisa" in the root directory of this distribution package 14 # for details on that license. 15 16 17 __maintainer__ = 'Florian Boucault <florian@fluendo.com>' 18 __maintainer2__ = 'Florian Boucault <florian@fluendo.com>' 19 20 21 from elisa.base_components.activity import Activity 22 from elisa.core import common 23 from elisa.core.bus import bus_message 24264528 registry = common.application.plugin_registry 29 30 dvd_player_model = registry.create_component('dvd:dvd_player_model') 31 32 33 # TODO: make this configurable 34 playlist_activity = registry.create_component('base:default_playlist') 35 36 playlist_model = playlist_activity.get_model() 37 dvd_player_model.playlist = playlist_model 38 39 dvd_player_model.activity = self 40 41 #msg = bus_message.PlayerModel(dvd_player_model) 42 #common.application.bus.send_message(msg) 43 44 return dvd_player_model
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:10:59 2008 | http://epydoc.sourceforge.net |