3
* KBluetooth4 - KDE4 Bluetooth Framework
5
* Copyright (C) 2008 Tom Patzig <tpatzig@suse.de>
7
* This file is part of kbluetooth4.
9
* kbluetooth4 is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
14
* kbluetooth4 is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with kbluetooth4; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
//#include <kuniqueapplication.h>
26
#include <KApplication>
28
#include <kcomponentdata.h>
29
#include <kaboutdata.h>
30
#include <kcmdlineargs.h>
32
#include "devicemanager.h"
35
int main(int argc, char *argv[])
38
static const char *description =
39
I18N_NOOP("kbluetooth4 device-manager");
41
KAboutData aboutData("kbluetooth4-devicemanager",
42
I18N_NOOP("KBluetooth4 Device-Manager"),
43
ki18n("KBluetooth4 - The KDE4 Bluetooth Framework"),"0.1",
44
ki18n(description), KAboutData::License_GPL);
45
aboutData.addAuthor(ki18n("Tom Patzig"), KLocalizedString(), "tpatzig@suse.de", "http://www.kde.org/");
48
KComponentData component(&aboutData);
50
KCmdLineArgs::init( argc, argv, &aboutData );
52
// KUniqueApplication::addCmdLineOptions();
55
if (!KUniqueApplication::start()) {
56
fprintf(stderr, "KBluetooth4 Device-Manager is already running!\n");
63
// a.disableSessionManagement();
64
// a.setQuitOnLastWindowClosed( true );