-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 @@ -787,3 +787,3 @@ const QStrList &ODevice::allowedCpuFrequencies ( ) const * Set desired CPU frequency - * + * * @param index index into d->m_cpu_frequencies of the frequency to be set @@ -922,3 +922,5 @@ void ODevice::remapHeldAction ( int button, const OQCopMessage &action ) } +void ODevice::virtual_hook( int id, void* data ) { +} diff --git a/libopie/odevice.h b/libopie/odevice.h index f2f6467..a232d69 100644 --- a/libopie/odevice.h +++ b/libopie/odevice.h @@ -242,2 +242,4 @@ protected: void reloadButtonMapping ( ); + /* ugly virtual hook */ + virtual void virtual_hook( int id, void* data ); }; |