summaryrefslogtreecommitdiff
authorzecke <zecke>2003-06-11 09:46:50 (UTC)
committer zecke <zecke>2003-06-11 09:46:50 (UTC)
commit4d05b57498f6b2f135ecd55e5fde5e6ebc21c160 (patch) (side-by-side diff)
treea5b52535c5e24da86acaf5b753dfa886d808cab0
parent22be97432c25bad67b4fb241977670657facb3af (diff)
downloadopie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.zip
opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.tar.gz
opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.tar.bz2
add the virtual hook in HEAD as well
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp4
-rw-r--r--libopie/odevice.h2
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
@@ -782,13 +782,13 @@ const QStrList &ODevice::allowedCpuFrequencies ( ) const
return *d->m_cpu_frequencies;
}
/**
* Set desired CPU frequency
- *
+ *
* @param index index into d->m_cpu_frequencies of the frequency to be set
*/
bool ODevice::setCurrentCpuFrequency(uint index)
{
if (index >= d->m_cpu_frequencies->count())
return false;
@@ -917,13 +917,15 @@ void ODevice::remapHeldAction ( int button, const OQCopMessage &action )
buttonFile. writeEntry ( "HeldActionMessage", (const char *) b. heldAction ( ). message ( ));
// buttonFile. writeEntry ( "HeldActionArgs", decodeBase64 ( b. heldAction ( ). data ( )));
QCopEnvelope ( "QPE/System", "deviceButtonMappingChanged()" );
}
+void ODevice::virtual_hook( int id, void* data ) {
+}
/**************************************************
*
* iPAQ
diff --git a/libopie/odevice.h b/libopie/odevice.h
index f2f6467..a232d69 100644
--- a/libopie/odevice.h
+++ b/libopie/odevice.h
@@ -237,12 +237,14 @@ signals:
private slots:
void systemMessage ( const QCString &, const QByteArray & );
protected:
void reloadButtonMapping ( );
+ /* ugly virtual hook */
+ virtual void virtual_hook( int id, void* data );
};
}
#endif