00001 /*************************************************************************** 00002 00003 main.cpp - main routine 00004 ***************************************************************************/ 00007 /*************************************************************************** 00008 * This program is free software; you can redistribute it and/or modify * 00009 * it under the terms of the GNU General Public License as published by * 00010 * the Free Software Foundation; either version 2 of the License, or * 00011 * (at your option) any later version. * 00012 ***************************************************************************/ 00013 #include "qtrec.h" 00014 00015 #ifdef PDAUDIO 00016 int main(int argc, char* argv[]) { 00017 QPEApplication a(argc, argv); 00018 QtRec qtrec; 00019 a.showMainWidget( &qtrec); 00020 return a.exec(); 00021 } 00022 00023 00024 #else 00025 00026 #include <opie2/oapplicationfactory.h> 00027 00028 using namespace Opie::Core; 00029 OPIE_EXPORT_APP( OApplicationFactory<QtRec> ) 00030 00031 #endif 00032 00033
1.4.2