summaryrefslogtreecommitdiff
path: root/libopie2
Side-by-side diff
Diffstat (limited to 'libopie2') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_abstractmobiledevice.cpp8
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.cpp4
2 files changed, 10 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp b/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp
index fe5864b..dbe9364 100644
--- a/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp
+++ b/libopie2/opiecore/device/odevice_abstractmobiledevice.cpp
@@ -65,3 +65,5 @@ bool OAbstractMobileDevice::suspend() {
+ {
QCopEnvelope( "QPE/System", "aboutToSuspend()" );
+ }
@@ -84,4 +86,3 @@ bool OAbstractMobileDevice::suspend() {
- return res;
-
+ {
QCopEnvelope( "QPE/System", "returnFromSuspend()" );
@@ -89,2 +90,5 @@ bool OAbstractMobileDevice::suspend() {
+ return res;
+}
+
//#include <linux/fb.h> better not rely on kernel headers in userspace ...
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp
index 4a80a7e..5d48488 100644
--- a/libopie2/opiecore/device/odevice_zaurus.cpp
+++ b/libopie2/opiecore/device/odevice_zaurus.cpp
@@ -714,3 +714,5 @@ bool Zaurus::suspend() {
bool res = false;
+ {
QCopEnvelope( "QPE/System", "aboutToSuspend()" );
+ }
@@ -734,3 +736,5 @@ bool Zaurus::suspend() {
+ {
QCopEnvelope( "QPE/System", "returnFromSuspend()" );
+ }