summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/graphics/drawpad/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/main.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/noncore/graphics/drawpad/main.cpp b/noncore/graphics/drawpad/main.cpp
index 12f8084..87bc621 100644
--- a/noncore/graphics/drawpad/main.cpp
+++ b/noncore/graphics/drawpad/main.cpp
@@ -5,23 +5,15 @@
* (C) 2002 by S. Prud'homme <prudhomme@laposte.net> *
* *
* 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 "drawpad.h"
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main(int argc, char **argv)
-{
- QPEApplication a(argc, argv);
-
- DrawPad mw; // = new DrawPad();;
- a.showMainWidget(&mw );
- mw.finishStartup();
-
- return a.exec();
-}
+OPIE_EXPORT_APP( OApplicationFactory<DrawPad> )