Logo Search packages:      
Sourcecode: freeplayer version File versions  Download package

main.cpp

// Editeur de playlist Freebox
// Copyright (C) 2005 Freebox S.A.
//
// main.cpp
// This file is part of fbx-playlist.
//
// fbx-playlist 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 2 of the License, or
// (at your option) any later version.
//
// fbx-playlist 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.
//
// You should have received a copy of the GNU General Public License
// along with fbx-playlist; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#include <QApplication>
#include "playlist.h"


int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

#ifdef Q_WS_MAC
    // Use the `plastique' theme for Mac OS X because
    // the native Aqua theme is buggy
    QApplication::setStyle("plastique");
#endif

    Playlist playlist;
    if (argc > 1)
      playlist.open(argv[1]);
    playlist.show();

    return app.exec();
}

Generated by  Doxygen 1.6.0   Back to index