summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opierec/main.cpp
blob: a435d8e7897535413a2cb5ca6148d9879a101db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/***************************************************************************

 main.cpp  -  main routine
 ***************************************************************************/
//// main.cpp
////  copyright 2001, 2002, by L. J. Potter <ljp@llornkcor.com>
/***************************************************************************
 *   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; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/
#include "qtrec.h"

#ifdef PDAUDIO
int main(int argc, char* argv[]) {
    QPEApplication a(argc, argv);
    QtRec qtrec;
    a.showMainWidget( &qtrec);
 return a.exec();
}


#else

#include <opie2/oapplicationfactory.h>

using namespace Opie::Core;
OPIE_EXPORT_APP( OApplicationFactory<QtRec> )

#endif