/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. #include "window.h"
  19. #include <KApplication>
  20. #include <KAboutData>
  21. #include <KCmdLineArgs>
  22. static const char description[] = I18N_NOOP("KDE interface for NDAS-powered network drives");
  23. static const char version[] = "trunk";
  24. int main(int argc, char ** argv)
  25. {
  26. KAboutData about("kandas", 0, ki18n("KaNDAS"), version, ki18n(description),
  27. KAboutData::License_GPL, ki18n("Copyright 2008-2009 Stefan Majewsky"), KLocalizedString(), "http://code.google.com/p/kandas/", "majewsky@gmx.net");
  28. about.addAuthor(ki18n("Stefan Majewsky"), ki18n("Maintainer"), "majewsky@gmx.net");
  29. KCmdLineArgs::init(argc, argv, &about);
  30. KApplication app;
  31. new Kandas::Client::MainWindow;
  32. return app.exec();
  33. }