author | zecke <zecke> | 2003-06-11 09:46:50 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-06-11 09:46:50 (UTC) |
commit | 4d05b57498f6b2f135ecd55e5fde5e6ebc21c160 (patch) (unidiff) | |
tree | a5b52535c5e24da86acaf5b753dfa886d808cab0 /libopie | |
parent | 22be97432c25bad67b4fb241977670657facb3af (diff) | |
download | opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.zip opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.tar.gz opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.tar.bz2 |
add the virtual hook in HEAD as well
-rw-r--r-- | libopie/odevice.cpp | 4 | ||||
-rw-r--r-- | libopie/odevice.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index d6e6892..993aedf 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -784,9 +784,9 @@ const QStrList &ODevice::allowedCpuFrequencies ( ) const | |||
784 | 784 | ||
785 | 785 | ||
786 | /** | 786 | /** |
787 | * Set desired CPU frequency | 787 | * Set desired CPU frequency |
788 | * | 788 | * |
789 | * @param index index into d->m_cpu_frequencies of the frequency to be set | 789 | * @param index index into d->m_cpu_frequencies of the frequency to be set |
790 | */ | 790 | */ |
791 | bool ODevice::setCurrentCpuFrequency(uint index) | 791 | bool ODevice::setCurrentCpuFrequency(uint index) |
792 | { | 792 | { |
@@ -919,9 +919,11 @@ void ODevice::remapHeldAction ( int button, const OQCopMessage &action ) | |||
919 | //buttonFile. writeEntry ( "HeldActionArgs", decodeBase64 ( b. heldAction ( ). data ( ))); | 919 | //buttonFile. writeEntry ( "HeldActionArgs", decodeBase64 ( b. heldAction ( ). data ( ))); |
920 | 920 | ||
921 | QCopEnvelope ( "QPE/System", "deviceButtonMappingChanged()" ); | 921 | QCopEnvelope ( "QPE/System", "deviceButtonMappingChanged()" ); |
922 | } | 922 | } |
923 | void ODevice::virtual_hook( int id, void* data ) { | ||
923 | 924 | ||
925 | } | ||
924 | 926 | ||
925 | 927 | ||
926 | 928 | ||
927 | /************************************************** | 929 | /************************************************** |
diff --git a/libopie/odevice.h b/libopie/odevice.h index f2f6467..a232d69 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h | |||
@@ -239,8 +239,10 @@ private slots: | |||
239 | void systemMessage ( const QCString &, const QByteArray & ); | 239 | void systemMessage ( const QCString &, const QByteArray & ); |
240 | 240 | ||
241 | protected: | 241 | protected: |
242 | void reloadButtonMapping ( ); | 242 | void reloadButtonMapping ( ); |
243 | /* ugly virtual hook */ | ||
244 | virtual void virtual_hook( int id, void* data ); | ||
243 | }; | 245 | }; |
244 | 246 | ||
245 | } | 247 | } |
246 | 248 | ||