Archive / / / / Echo.cc
2008-10-09 16:28:12 UTC
previous next
/* 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. ] */ #include "Echo.h" #include "PlaybackManager.h" #include "db/Database.h" #include <giomm.h> #include <cstdlib> #include <ctime> using namespace std; int main(int argc, char *argv[]) { srand(time(0)); Gtk::Main kit(argc, argv); Gio::init(); PlaybackManager::init_sound(&argc, &argv); Database::init(); Echo echo; echo.run(argc, argv); return 0; } void Echo::run(int argc, char *argv[]) { m_main_window.show(); Gtk::Main::run(); }