summaryrefslogtreecommitdiff
authorzecke <zecke>2004-01-27 18:48:09 (UTC)
committer zecke <zecke>2004-01-27 18:48:09 (UTC)
commitfbe767bcc9f46f1d9bf680dc91eba983bc39fdeb (patch) (side-by-side diff)
tree453b0a48a4e40316ea377b0b4a05a39a16849136
parent068604863e009b20790cd2aa482e216eb40b8876 (diff)
downloadopie-fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb.zip
opie-fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb.tar.gz
opie-fbe767bcc9f46f1d9bf680dc91eba983bc39fdeb.tar.bz2
Funny what my SDK all triggers
Ok the reason to use a bool as return type is that you can say that something worked or not worked. So if we don't implement the given interface don't lie!!
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/batteryapplet/batteryappletimpl.cpp2
-rw-r--r--core/applets/cardmon/cardmonimpl.cpp2
-rw-r--r--core/applets/clipboardapplet/clipboardappletimpl.cpp2
-rw-r--r--core/applets/clockapplet/clockappletimpl.cpp2
-rw-r--r--core/applets/homeapplet/home.cpp2
-rw-r--r--core/applets/irdaapplet/irdaappletimpl.cpp2
-rw-r--r--core/applets/logoutapplet/logout.cpp2
-rw-r--r--core/applets/multikeyapplet/multikeyappletimpl.cpp2
-rw-r--r--core/applets/restartapplet/restartappletimpl.cpp2
-rw-r--r--core/applets/restartapplet2/restart.cpp2
-rw-r--r--core/applets/rotateapplet/rotate.cpp2
-rw-r--r--core/applets/screenshotapplet/screenshotappletimpl.cpp2
-rw-r--r--core/applets/suspendapplet/suspend.cpp2
-rw-r--r--core/applets/vmemo/vmemoimpl.cpp2
-rw-r--r--core/applets/volumeapplet/volumeappletimpl.cpp2
-rw-r--r--core/applets/vtapplet/vt.cpp2
-rw-r--r--core/obex/obeximpl.cpp2
17 files changed, 34 insertions, 0 deletions
diff --git a/core/applets/batteryapplet/batteryappletimpl.cpp b/core/applets/batteryapplet/batteryappletimpl.cpp
index 3f3079a..9ad0382 100644
--- a/core/applets/batteryapplet/batteryappletimpl.cpp
+++ b/core/applets/batteryapplet/batteryappletimpl.cpp
@@ -52,2 +52,4 @@ QRESULT BatteryAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/cardmon/cardmonimpl.cpp b/core/applets/cardmon/cardmonimpl.cpp
index 0aa55de..265214e 100644
--- a/core/applets/cardmon/cardmonimpl.cpp
+++ b/core/applets/cardmon/cardmonimpl.cpp
@@ -29,2 +29,4 @@ QRESULT CardMonitorImpl::queryInterface( const QUuid &uuid, QUnknownInterface **
*iface = this;
+ } else {
+ return QS_FALSE;
}
diff --git a/core/applets/clipboardapplet/clipboardappletimpl.cpp b/core/applets/clipboardapplet/clipboardappletimpl.cpp
index 8080690..8fcf117 100644
--- a/core/applets/clipboardapplet/clipboardappletimpl.cpp
+++ b/core/applets/clipboardapplet/clipboardappletimpl.cpp
@@ -52,2 +52,4 @@ QRESULT ClipboardAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterfac
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/clockapplet/clockappletimpl.cpp b/core/applets/clockapplet/clockappletimpl.cpp
index 8bf1baf..2b9cc05 100644
--- a/core/applets/clockapplet/clockappletimpl.cpp
+++ b/core/applets/clockapplet/clockappletimpl.cpp
@@ -53,2 +53,4 @@ QRESULT ClockAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/homeapplet/home.cpp b/core/applets/homeapplet/home.cpp
index 017de27..36307ab 100644
--- a/core/applets/homeapplet/home.cpp
+++ b/core/applets/homeapplet/home.cpp
@@ -73,2 +73,4 @@ QRESULT HomeApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **ifac
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/irdaapplet/irdaappletimpl.cpp b/core/applets/irdaapplet/irdaappletimpl.cpp
index 02443db..3617698 100644
--- a/core/applets/irdaapplet/irdaappletimpl.cpp
+++ b/core/applets/irdaapplet/irdaappletimpl.cpp
@@ -52,2 +52,4 @@ QRESULT IrdaAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **i
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/logoutapplet/logout.cpp b/core/applets/logoutapplet/logout.cpp
index 1769ae6..8d3cdba 100644
--- a/core/applets/logoutapplet/logout.cpp
+++ b/core/applets/logoutapplet/logout.cpp
@@ -113,2 +113,4 @@ QRESULT LogoutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **if
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/multikeyapplet/multikeyappletimpl.cpp b/core/applets/multikeyapplet/multikeyappletimpl.cpp
index 4644556..adf92c4 100644
--- a/core/applets/multikeyapplet/multikeyappletimpl.cpp
+++ b/core/applets/multikeyapplet/multikeyappletimpl.cpp
@@ -46,2 +46,4 @@ QRESULT MultikeyAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/restartapplet/restartappletimpl.cpp b/core/applets/restartapplet/restartappletimpl.cpp
index e675c0b..5b0092d 100644
--- a/core/applets/restartapplet/restartappletimpl.cpp
+++ b/core/applets/restartapplet/restartappletimpl.cpp
@@ -53,2 +53,4 @@ QRESULT RestartAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/restartapplet2/restart.cpp b/core/applets/restartapplet2/restart.cpp
index caed9e5..576087b 100644
--- a/core/applets/restartapplet2/restart.cpp
+++ b/core/applets/restartapplet2/restart.cpp
@@ -95,2 +95,4 @@ QRESULT RestartApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **i
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/rotateapplet/rotate.cpp b/core/applets/rotateapplet/rotate.cpp
index 906063e..b676c74 100644
--- a/core/applets/rotateapplet/rotate.cpp
+++ b/core/applets/rotateapplet/rotate.cpp
@@ -244,2 +244,4 @@ QRESULT RotateApplet::queryInterface( const QUuid &uuid, QUnknownInterface **ifa
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/screenshotapplet/screenshotappletimpl.cpp b/core/applets/screenshotapplet/screenshotappletimpl.cpp
index a537162..4a7512e 100644
--- a/core/applets/screenshotapplet/screenshotappletimpl.cpp
+++ b/core/applets/screenshotapplet/screenshotappletimpl.cpp
@@ -52,2 +52,4 @@ QRESULT ScreenshotAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterfa
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/suspendapplet/suspend.cpp b/core/applets/suspendapplet/suspend.cpp
index 4bdc8fb..63f16b8 100644
--- a/core/applets/suspendapplet/suspend.cpp
+++ b/core/applets/suspendapplet/suspend.cpp
@@ -73,2 +73,4 @@ QRESULT SuspendApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **i
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/vmemo/vmemoimpl.cpp b/core/applets/vmemo/vmemoimpl.cpp
index ef4a3a6..71d47e5 100644
--- a/core/applets/vmemo/vmemoimpl.cpp
+++ b/core/applets/vmemo/vmemoimpl.cpp
@@ -49,2 +49,4 @@ QRESULT VMemoAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface **
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/volumeapplet/volumeappletimpl.cpp b/core/applets/volumeapplet/volumeappletimpl.cpp
index 47506cc..80b3e74 100644
--- a/core/applets/volumeapplet/volumeappletimpl.cpp
+++ b/core/applets/volumeapplet/volumeappletimpl.cpp
@@ -53,2 +53,4 @@ QRESULT VolumeAppletImpl::queryInterface( const QUuid &uuid, QUnknownInterface *
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/applets/vtapplet/vt.cpp b/core/applets/vtapplet/vt.cpp
index 4cc2d60..cdd3c97 100644
--- a/core/applets/vtapplet/vt.cpp
+++ b/core/applets/vtapplet/vt.cpp
@@ -150,2 +150,4 @@ QRESULT VTApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface
*iface = this;
+ else
+ return QS_FALSE;
diff --git a/core/obex/obeximpl.cpp b/core/obex/obeximpl.cpp
index 5bfc779..5b53644 100644
--- a/core/obex/obeximpl.cpp
+++ b/core/obex/obeximpl.cpp
@@ -19,2 +19,4 @@ QRESULT ObexImpl::queryInterface( const QUuid& uuid, QUnknownInterface **iface )
*iface = this;
+ else
+ return QS_FALSE;