author | zecke <zecke> | 2004-03-14 17:37:48 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 17:37:48 (UTC) |
commit | d69b11f67e3118f86d068c38c422984d754e13cc (patch) (unidiff) | |
tree | 9733e26ab49003bead06d820d70a14babd0c09f0 /core/obex/obeximpl.cpp | |
parent | 64820b76cc9d1c06a6967cd34114f3b95896aaeb (diff) | |
download | opie-d69b11f67e3118f86d068c38c422984d754e13cc.zip opie-d69b11f67e3118f86d068c38c422984d754e13cc.tar.gz opie-d69b11f67e3118f86d068c38c422984d754e13cc.tar.bz2 |
Updatet the applets
-rw-r--r-- | core/obex/obeximpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/obex/obeximpl.cpp b/core/obex/obeximpl.cpp index 5b53644..ca6ce7b 100644 --- a/core/obex/obeximpl.cpp +++ b/core/obex/obeximpl.cpp | |||
@@ -1,27 +1,29 @@ | |||
1 | #include "obexhandler.h" | 1 | #include "obexhandler.h" |
2 | #include "obeximpl.h" | 2 | #include "obeximpl.h" |
3 | 3 | ||
4 | |||
5 | |||
4 | using namespace OpieObex; | 6 | using namespace OpieObex; |
5 | 7 | ||
6 | /* TRANSLATOR OpieObex::ObexImpl */ | 8 | /* TRANSLATOR OpieObex::ObexImpl */ |
7 | 9 | ||
8 | ObexImpl::ObexImpl() { | 10 | ObexImpl::ObexImpl() { |
9 | m_handler = new ObexHandler; | 11 | m_handler = new ObexHandler; |
10 | } | 12 | } |
11 | ObexImpl::~ObexImpl() { | 13 | ObexImpl::~ObexImpl() { |
12 | delete m_handler; | 14 | delete m_handler; |
13 | } | 15 | } |
14 | QRESULT ObexImpl::queryInterface( const QUuid& uuid, QUnknownInterface **iface ) { | 16 | QRESULT ObexImpl::queryInterface( const QUuid& uuid, QUnknownInterface **iface ) { |
15 | *iface = 0; | 17 | *iface = 0; |
16 | if ( uuid == IID_QUnknown ) { | 18 | if ( uuid == IID_QUnknown ) { |
17 | *iface = this; | 19 | *iface = this; |
18 | }else if ( uuid == IID_ObexInterface ) | 20 | }else if ( uuid == IID_ObexInterface ) |
19 | *iface = this; | 21 | *iface = this; |
20 | else | 22 | else |
21 | return QS_FALSE; | 23 | return QS_FALSE; |
22 | 24 | ||
23 | if (*iface) | 25 | if (*iface) |
24 | (*iface)->addRef(); | 26 | (*iface)->addRef(); |
25 | 27 | ||
26 | return QS_OK; | 28 | return QS_OK; |
27 | } | 29 | } |