author | mickeyl <mickeyl> | 2005-01-02 15:20:41 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-02 15:20:41 (UTC) |
commit | 71232a4e45f78041c2ab138edf45903bbf2b34ce (patch) (side-by-side diff) | |
tree | 6c51dc86163e656c7ac6a3cd6ea7e7e0f1ab89c0 | |
parent | 226a83c4b4334648de408249dba61bd1f7e6dba3 (diff) | |
download | opie-71232a4e45f78041c2ab138edf45903bbf2b34ce.zip opie-71232a4e45f78041c2ab138edf45903bbf2b34ce.tar.gz opie-71232a4e45f78041c2ab138edf45903bbf2b34ce.tar.bz2 |
Add the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | library/qpeapplication.h | 13 |
2 files changed, 17 insertions, 3 deletions
@@ -8,18 +8,19 @@ * #1501 - Fixing bug in todo sql backend (eilers) 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 New Features ------------ * 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 ---------- * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) @@ -28,9 +29,9 @@ * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) * #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 -------- * Moved libopie1 to unsupported (mickeyl) diff --git a/library/qpeapplication.h b/library/qpeapplication.h index 00d3d31..849d5b3 100644 --- a/library/qpeapplication.h +++ b/library/qpeapplication.h @@ -219,8 +219,21 @@ inline void QPEApplication::setCurrentRotation( int r ) setDefaultRotation( 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 */ |