summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-bartender/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-bartender/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-bartender/main.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/noncore/apps/opie-bartender/main.cpp b/noncore/apps/opie-bartender/main.cpp
index eefda7f..593f693 100644
--- a/noncore/apps/opie-bartender/main.cpp
+++ b/noncore/apps/opie-bartender/main.cpp
@@ -1,23 +1,15 @@
/** by: L.J. Potter <ljp@llornkcor.com>
** copyright : (C) 2002 by ljp
email : 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 "bartender.h"
#include <qpe/qpeapplication.h>
+#include <opie2/oapplicationfactory.h>
-//Bartender *bart;
-int main( int argc, char ** argv )
-{
- QPEApplication a( argc, argv );
-
- Bartender bart;
- a.showMainWidget( &bart );
-
- return a.exec();
-}
+OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<Bartender> )