summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/advancedfm/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/advancedfm/main.cpp b/noncore/apps/advancedfm/main.cpp
index 8cacc4a..51e38dc 100644
--- a/noncore/apps/advancedfm/main.cpp
+++ b/noncore/apps/advancedfm/main.cpp
@@ -7,21 +7,27 @@
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 <qpe/qpeapplication.h>
#include "advancedfm.h"
+#ifdef NOQUICKLAUNCH
int main(int argc, char *argv[])
{
QPEApplication a(argc, argv);
AdvancedFm advencedFm;
a.showMainWidget( &advencedFm);
return a.exec();
}
+#else
+#include <opie/oapplicationfactory.h>
+OPIE_EXPORT_APP( OApplicationFactory<AdvancedFm> )
+
+#endif