summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-bartender/main.cpp
authorzecke <zecke>2004-11-14 21:58:26 (UTC)
committer zecke <zecke>2004-11-14 21:58:26 (UTC)
commit3e23af22643ac0ff3740f37803a94f81d6b15fe1 (patch) (side-by-side diff)
tree1f08bde3533ac0ea7fc6f5bc470bc910fe6cc172 /noncore/apps/opie-bartender/main.cpp
parent7a8f86ed0f1d160e9c2a4794e297ba49fd9ac712 (diff)
downloadopie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.zip
opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.tar.gz
opie-3e23af22643ac0ff3740f37803a94f81d6b15fe1.tar.bz2
Make Bartender Quick Launchable
Diffstat (limited to 'noncore/apps/opie-bartender/main.cpp') (more/less context) (ignore 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
@@ -6,18 +6,10 @@
* 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> )