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
