summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog7
-rw-r--r--library/qpeapplication.h13
2 files changed, 17 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 913dc15..ff579d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -11,2 +11,3 @@
--------
+ * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl)
@@ -19,4 +20,4 @@
* PackageManager supports src/gz feeds (drw,wimpie)
- * Add a syslog information tab to sysinfo (mickeyl)
- * Add new, more consistent, PIM icons + a GIMP teplate (ar)
+ * Added a syslog information tab to sysinfo (mickeyl)
+ * Added new, more consistent, PIM icons + a GIMP teplate (ar)
@@ -31,3 +32,3 @@
* n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw)
- * n.a. - Battery Applet - fix sizing of battery info popup
+ * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl)
diff --git a/library/qpeapplication.h b/library/qpeapplication.h
index 00d3d31..849d5b3 100644
--- a/library/qpeapplication.h
+++ b/library/qpeapplication.h
@@ -222,2 +222,15 @@ inline void QPEApplication::setCurrentRotation( int r )
+/*
+ * Qtopia 1.7 SDK compatibility macros
+ * FIXME: Support Opie Quicklaunch Interface
+ */
+#define QTOPIA_ADD_APPLICATION(NAME,IMPLEMENTATION) \
+ int main( int argc, char** argv ) \
+ { \
+ QPEApplication app = QPEApplication( argc, argv ); \
+ IMPLEMENTATION* mw = new IMPLEMENTATION(); \
+ app.showMainWidget( mw ); \
+ app.exec(); \
+ }
+#define QTOPIA_MAIN // Bee-Bop-Alula