1 /***************************************************************************
4 begin : Mon Feb 12 23:45:41 EST 2001
5 copyright : (C) 2001-2003 by Sarang Lakare
6 email : sarang#users.sf.net
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
19 #include <kcmdlineargs.h>
20 #include <kaboutdata.h>
29 // Not needed, not used.
30 //static const char description[] =
32 // INSERT A DESCRIPTION FOR YOUR APPLICATION HERE
35 static KCmdLineOptions options
[] =
37 { "+[File]", I18N_NOOP("File to open"), 0 },
39 // INSERT YOUR COMMANDLINE OPTIONS HERE
42 int main(int argc
, char *argv
[])
44 // about the application
45 KAboutData
*aboutData
= new KAboutData("kmag", I18N_NOOP("KMagnifier"), KMAG_VERSION
,
46 I18N_NOOP("Screen magnifier for the K Desktop Environment (KDE)"),
47 KAboutData::License_GPL
,
48 "(C) 2001-2003, Sarang Lakare","",
49 "http://kmag.sourceforge.net");
52 aboutData
->addAuthor("Sarang Lakare",
53 I18N_NOOP("Rewrite and current maintainer"),"sarang@users.sf.net",
54 "http://www.cs.sunysb.edu/~lsarang/linux");
55 aboutData
->addAuthor("Michael Forster",
56 I18N_NOOP("Original idea and author (KDE1)"), "forster@fmi.uni-passau.de");
58 aboutData
->addCredit("Olaf Schmidt", I18N_NOOP("Rework of the user interface, improved selection window, speed optimisation, rotation, bug fixes"), "ojschmidt@kde.org");
59 aboutData
->addCredit("Claudiu Costin", I18N_NOOP("Some tips"), "claudiuc@work.ro",
60 "http://www.ro.kde.org");
62 KCmdLineArgs::init( argc
, argv
, aboutData
);
63 KCmdLineArgs::addCmdLineOptions( options
); // Add our own options.
73 kmagapp
= new KmagApp();
76 KCmdLineArgs
*args
= KCmdLineArgs::parsedArgs();