-- -*-haskell-*- -- Vision (for the Voice): an XMMS2 client. -- -- Author: Oleg Belozeorov -- Created: 11 Jun. 2010 -- -- Copyright (C) 2010 Oleg Belozeorov -- -- This program is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3 of -- the License, or (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -- General Public License for more details. -- module Main where import Graphics.UI.Gtk import Environment import About import Properties import XMMS import Medialib import Playback import Volume import Playtime import Clipboard import Location import Collection import Playlist main = do initGUI context <- initEnvironment let ?context = context context <- initAbout let ?context = context context <- initXMMS let ?context = context context <- initMedialib let ?context = context context <- initProperties let ?context = context context <- initPlayback let ?context = context context <- initVolume let ?context = context context <- initPlaytime let ?context = context context <- initClipboard let ?context = context context <- initLocation let ?context = context context <- initCollection let ?context = context context <- initPlaylist let ?context = context showPlaylist mainGUI