summaryrefslogtreecommitdiffstats
path: root/noatun/app/main.cpp
blob: 20c18c18e557859aa671fb2fc9edc22f42135493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#include <noatun/app.h>
//#include "joinhandler.h"
//#include <dcopclient.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <klocale.h>

static const char description[] = I18N_NOOP("The Fusion of Frequencies");
static const char version[]     = NOATUN_VERSION;

static TDECmdLineOptions options[] =
{
	{ "+[URL]",          I18N_NOOP("Files/URLs to open"),     0 },
	TDECmdLineLastOption
};

extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
{
	TDEAboutData aboutData("noatun", I18N_NOOP("Noatun"),
	                     version, description, TDEAboutData::License_BSD,
	                     I18N_NOOP("(c) 2000-2004, The Noatun Developers"),
	                     0, "http://noatun.kde.org");
	aboutData.addAuthor("Charles Samuels", I18N_NOOP("Noatun Developer"),
	                    "[email protected]");
	aboutData.addAuthor("Stefan Westerfeld", I18N_NOOP("Patron of the aRts"),
	                    "[email protected]");
	aboutData.addAuthor("Martin Vogt", I18N_NOOP("MPEG Codec and OGG Vorbis Support"),
	                    "[email protected]");
	aboutData.addAuthor("Malte Starostik", I18N_NOOP("Infrared Control Support and HTML playlist export"),
	                    "[email protected]");
	aboutData.addAuthor("Nikolas Zimmermann", I18N_NOOP("HTML playlist export and Plugin System"),
	                    "[email protected]");
	aboutData.addAuthor("Stefan Schimanski", I18N_NOOP("Kaiman Skin Support"),
	                    "[email protected]");
	aboutData.addAuthor("Stefan Gehn", I18N_NOOP("Extended K-Jöfol Skin Support, EXTM3U playlist loading"),
	                    "[email protected]");

	aboutData.addCredit("Bill Huey", I18N_NOOP("Special help with the equalizer"));

	TDECmdLineArgs::init( argc, argv, &aboutData );
	TDECmdLineArgs::addCmdLineOptions(options);
	NoatunApp::addCmdLineOptions();

	NoatunApp app;
	return app.exec();
}