author | zecke <zecke> | 2004-11-14 21:58:26 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-14 21:58:26 (UTC) |
commit | 3e23af22643ac0ff3740f37803a94f81d6b15fe1 (patch) (side-by-side diff) | |
tree | 1f08bde3533ac0ea7fc6f5bc470bc910fe6cc172 /noncore/apps/opie-bartender/main.cpp | |
parent | 7a8f86ed0f1d160e9c2a4794e297ba49fd9ac712 (diff) | |
download | opie-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.cpp | 12 |
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> ) |