summaryrefslogtreecommitdiff
path: root/libopie
authorzecke <zecke>2003-10-08 08:01:46 (UTC)
committer zecke <zecke>2003-10-08 08:01:46 (UTC)
commit5517443d9ebe96ff9c30d91b2254418964d5c410 (patch) (unidiff)
treedf0b7d5ca0bade7efba6182224402a30ffceec4b /libopie
parentb941b5b3e805e9d57cda58be73a6d4255fcb9e8b (diff)
downloadopie-5517443d9ebe96ff9c30d91b2254418964d5c410.zip
opie-5517443d9ebe96ff9c30d91b2254418964d5c410.tar.gz
opie-5517443d9ebe96ff9c30d91b2254418964d5c410.tar.bz2
include QPEApplication if you need it
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/oapplicationfactory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/oapplicationfactory.h b/libopie/oapplicationfactory.h
index 418a82e..ab88d80 100644
--- a/libopie/oapplicationfactory.h
+++ b/libopie/oapplicationfactory.h
@@ -230,6 +230,8 @@ struct OApplicationFactory< Opie::Typelist<Product, ProductListTail > >
230#define OPIE_EXPORT_APP( factory ) Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( factory ) } 230#define OPIE_EXPORT_APP( factory ) Q_EXPORT_INTERFACE() { Q_CREATE_INSTANCE( factory ) }
231#else 231#else
232 232
233#include <qpe/qpeapplication.h>
234
233#define OPIE_EXPORT_APP( Factory ) \ 235#define OPIE_EXPORT_APP( Factory ) \
234int main( int argc, char **argv ) { \ 236int main( int argc, char **argv ) { \
235 QPEApplication a(argc, argv ); \ 237 QPEApplication a(argc, argv ); \