~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to kmix/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * KMix -- KDE's full featured mini mixer
 
3
 *
 
4
 *
 
5
 * Copyright (C) 2000 Stefan Schimanski <schimmi@kde.org>
 
6
 *
 
7
 * This program is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Library General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This program is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Library General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Library General Public
 
18
 * License along with this program; if not, write to the Free
 
19
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
20
 */
 
21
 
 
22
#include <kcmdlineargs.h>
 
23
#include <kaboutdata.h>
 
24
#include <klocale.h>
 
25
#include <kglobal.h>
 
26
#include <kstddirs.h>
 
27
 
 
28
#include "kmix.h"
 
29
#include "version.h"
 
30
 
 
31
static const char *description =
 
32
I18N_NOOP("KMix - KDE's full featured mini mixer");
 
33
 
 
34
static KCmdLineOptions options[] =
 
35
{
 
36
   { 0, 0, 0 }
 
37
   // INSERT YOUR COMMANDLINE OPTIONS HERE
 
38
};
 
39
 
 
40
int main(int argc, char *argv[])
 
41
{
 
42
   KAboutData aboutData( "kmix", I18N_NOOP("KMix"),
 
43
                         APP_VERSION, description, KAboutData::License_GPL,
 
44
                         I18N_NOOP("(c) 2000 by Stefan Schimanski"));
 
45
 
 
46
   aboutData.addAuthor("Stefan Schimanski", 0, "schimmi@kde.org");
 
47
   aboutData.addAuthor("Christian Esken", 0, "esken@kde.org");
 
48
   aboutData.addAuthor("Brian Hanson", I18N_NOOP("Solaris port"), "bhanson@hotmail.com");
 
49
   aboutData.addAuthor("Paul Kendall", I18N_NOOP("SGI Port"), "paul@orion.co.nz");
 
50
   aboutData.addAuthor("Sebestyen Zoltan", I18N_NOOP("*BSD fixes"), "szoli@digo.inf.elte.hu");
 
51
   aboutData.addAuthor("Lennart Augustsson", I18N_NOOP("*BSD fixes"), "augustss@cs.chalmers.se");
 
52
   aboutData.addAuthor("Nick Lopez", I18N_NOOP("ALSA port"), "kimo_sabe@usa.net");
 
53
   aboutData.addAuthor("Helge Deller", I18N_NOOP("HP/UX port"), "deller@gmx.de");
 
54
   aboutData.addAuthor("Jean Labrousse", I18N_NOOP("NAS port"), "jean.labrousse@alcatel.com" );
 
55
 
 
56
   KCmdLineArgs::init( argc, argv, &aboutData );
 
57
   KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
 
58
 
 
59
   if (!KMixApp::start())
 
60
       return 0;
 
61
 
 
62
   KMixApp app;
 
63
   return app.exec();
 
64
}