summaryrefslogtreecommitdiff
path: root/libopie
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 /libopie
parent22be97432c25bad67b4fb241977670657facb3af (diff)
downloadopie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.zip
opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.tar.gz
opie-4d05b57498f6b2f135ecd55e5fde5e6ebc21c160.tar.bz2
add the virtual hook in HEAD as well
Diffstat (limited to 'libopie') (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp2
-rw-r--r--libopie/odevice.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index d6e6892..993aedf 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -920,7 +920,9 @@ void ODevice::remapHeldAction ( int button, const OQCopMessage &action )
QCopEnvelope ( "QPE/System", "deviceButtonMappingChanged()" );
}
+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
@@ -240,6 +240,8 @@ private slots:
protected:
void reloadButtonMapping ( );
+ /* ugly virtual hook */
+ virtual void virtual_hook( int id, void* data );
};
}