Archive / / / / / Echo.Controller.MainController.vala
2008-11-27 23:48:48 UTC
previous next
/* vim: set noexpandtab tabstop=4 shiftwidth=4 nowrap textwidth=100 * * Echo Media Player * Copyright (C) 2008 Shane O'Connell * * [ The original file includes a copyright header in this location describing * the file as being released under the terms of the GNU General Public * License. It has been removed in order to display the file as part of the * archive. ] */ using Echo.Controller.Actions; using Echo.Core; using Echo.UI.Tabs; public class Echo.Controller.MainController : GLib.Object { private MainActions _main_actions; private PlaybackActions _playback_actions; public MainController() { // Set up global action handlers _main_actions = new MainActions(); _playback_actions = new PlaybackActions(); } public void start_ui() { Services.ui().main_window.tab_pane.add_tab(new NowPlayingTab()); Services.ui().main_window.show(); } }