libopie API Documentation

sharp_compat.cpp

00001 /*
00002  * This file contains hacks or workarounds, that make it possible to use a normal
00003  * libopie arm build (iPAQ or OZ) directly on the Sharp retail ROM.
00004  * This way, we only need one 'official' libopie binary for all platforms.
00005  */
00006 
00007 
00008 // 1) Opie's libqpe.so has an additional function in Sound, which is utilized
00009 //    in ODevice:
00010 
00011 // ok this is really evil ;), but Sound::isFinished is only needed in the
00012 // iPAQ part of ODevice, which is never called on Z's
00013 // we add a "weak" symbol here. This will be used, if ld.so does not find
00014 // a normal ("hard") symbol of the same name - hence only on the retail Z
00015 
00016 struct Sound { bool Sound::isFinished ( ) const __attribute__(( weak )); };
00017 bool Sound::isFinished ( ) const { return true; }
00018 
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:45 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001