From 71232a4e45f78041c2ab138edf45903bbf2b34ce Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 02 Jan 2005 15:20:41 +0000 Subject: Add the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers --- diff --git a/ChangeLog b/ChangeLog index 913dc15..ff579d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ Internal -------- + * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) 2004-11-26 Opie 1.1.8 @@ -17,8 +18,8 @@ * PackageManager supports installation of local ipkg files (drw) * PackageManager supports linking of applications to root (drw) * 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) Fixed Bugs ---------- @@ -29,7 +30,7 @@ * #1493 - Fixed one column layout bug of the launcher (hrw) * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) * 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) Internal -------- diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 00d3d31..849d5b3 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h @@ -220,6 +220,19 @@ inline void QPEApplication::setCurrentRotation( int r ) #endif } +/* + * 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 /* * -remove me -- cgit v0.9.0.2