From e2de64d6f1beb9e492daf5b886e19933c1fa41dd Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krec/main.cpp | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 krec/main.cpp (limited to 'krec/main.cpp') diff --git a/krec/main.cpp b/krec/main.cpp new file mode 100644 index 00000000..6e752817 --- /dev/null +++ b/krec/main.cpp @@ -0,0 +1,68 @@ +/*************************************************************************** + begin : Mon Jun 17 2002 + copyright : (C) 2002 by Arnold Krille + email : arnold@arnoldarts.de + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; version 2 of the License. * + * * + ***************************************************************************/ + +// Should stay here because I use it for Start-/Stop-Info (see below) +//#include + +#include +#include +#include +#include + +#include "krecord.h" + +#include + +using namespace std; + +static const char description[] = + I18N_NOOP("\ +This is a recording tool for KDE.\n\ +It uses aRts, just look at the audiomanager\n\ +and you will find it there accepting sound\n\ +for recording." + ); + +static KCmdLineOptions options[] = +{ + KCmdLineLastOption + // INSERT YOUR COMMANDLINE OPTIONS HERE +}; + +extern "C" KDE_EXPORT int kdemain( int argc, char* argv[] ) +{ + //cout<show(); + app.setMainWidget(w); + + int quit = app.exec(); + //cout<<"Quitting with "<