PageRenderTime 22ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/kandas-client/main.cpp

http://kandas.googlecode.com/
C++ | 38 lines | 16 code | 5 blank | 17 comment | 0 complexity | aa1fab75bc16a7aac4cb4b14d6e2f070 MD5 | raw file
 1/***************************************************************************
 2 *   Copyright 2008-2009 Stefan Majewsky <majewsky@gmx.net>
 3 *
 4 *   This program is free software; you can redistribute it and/or
 5 *   modify it under the terms of the GNU General Public
 6 *   License as published by the Free Software Foundation; either
 7 *   version 2 of the License, or (at your option) any later version.
 8 *
 9 *   This program is distributed in the hope that it will be useful,
10 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *   GNU General Public License for more details.
13 *
14 *   You should have received a copy of the GNU General Public License
15 *   along with this program; if not, write to the Free Software
16 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 ***************************************************************************/
18
19#include "window.h"
20
21#include <KApplication>
22#include <KAboutData>
23#include <KCmdLineArgs>
24
25static const char description[] = I18N_NOOP("KDE interface for NDAS-powered network drives");
26static const char version[] = "trunk";
27
28int main(int argc, char ** argv)
29{
30    KAboutData about("kandas", 0, ki18n("KaNDAS"), version, ki18n(description),
31        KAboutData::License_GPL, ki18n("Copyright 2008-2009 Stefan Majewsky"), KLocalizedString(), "http://code.google.com/p/kandas/", "majewsky@gmx.net");
32    about.addAuthor(ki18n("Stefan Majewsky"), ki18n("Maintainer"), "majewsky@gmx.net");
33    KCmdLineArgs::init(argc, argv, &about);
34
35    KApplication app;
36    new Kandas::Client::MainWindow;
37    return app.exec();
38}