1
#include <qapplication.h>
3
#include "joinhandler.h"
4
#include <kuniqueapp.h>
5
#include <dcopclient.h>
6
#include <kaboutdata.h>
7
#include <kcmdlineargs.h>
11
#include <kmessagebox.h>
13
void noMessageOutput(QtMsgType, const char *)
17
static const char *description=I18N_NOOP("\"It just sounds better in Noatun\"");
18
static const char *version="1.2.0";
20
static KCmdLineOptions options[] =
22
{ "+[URL]", I18N_NOOP("Files/URLs to Open."), 0 },
23
{ "playlist <file>", I18N_NOOP("Open a Playlist"), 0 },
24
{ "qdebug", I18N_NOOP("Turn on Qt Debug output, for pluginwriting"), 0 },
28
int main(int argc, char **argv)
30
KAboutData aboutData("noatun", I18N_NOOP("Noatun"),
31
version, description, KAboutData::License_BSD,
32
"(c) 2000-2001, The Noatun Developers", 0, "http://noatun.kde.org");
33
aboutData.addAuthor("Charles Samuels", I18N_NOOP("Noatun Developer"),
35
aboutData.addAuthor("Neil Stevens", I18N_NOOP("Standards and usability complainer"),
36
"neil@qualityassistant.com");
37
aboutData.addAuthor("Stefan Westerfeld", I18N_NOOP("Patron of the aRts"),
38
"stefan@space.twc.de");
39
aboutData.addAuthor("Martin Vogt", I18N_NOOP("MPEG Codec and OGG Vorbis Support"),
40
"mvogt@rhrk.uni-kl.de");
41
aboutData.addAuthor("Malte Starostik", I18N_NOOP("Infrared Control Support and HTML playlist export"),
43
aboutData.addAuthor("Nikolas Zimmermann", I18N_NOOP("HTML playlist export and Plugin System"),
45
aboutData.addAuthor("Stefan Schimanski", I18N_NOOP("Kaiman Skin Support"),
48
aboutData.addCredit("Bill Huey", I18N_NOOP("Special help with the equalizer"));
50
KCmdLineArgs::init( argc, argv, &aboutData );
51
KCmdLineArgs::addCmdLineOptions(options);
52
NoatunApp::addCmdLineOptions();
56
if(!KCmdLineArgs::parsedArgs()->isSet("qdebug"))
57
qInstallMsgHandler(noMessageOutput);