author | zecke <zecke> | 2003-02-16 15:49:02 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-16 15:49:02 (UTC) |
commit | 30a098530260176ac20d75ba6cb7abfb3d998c13 (patch) (unidiff) | |
tree | ee5c08ca67fa00574414153921ab2de654c60421 /core/obex/obeximpl.cpp | |
parent | 7fab90d46144843d32e476ada8d0a5f40f50aa60 (diff) | |
download | opie-30a098530260176ac20d75ba6cb7abfb3d998c13.zip opie-30a098530260176ac20d75ba6cb7abfb3d998c13.tar.gz opie-30a098530260176ac20d75ba6cb7abfb3d998c13.tar.bz2 |
disable snd in IrDaApplet it hangs on my machine..
Remove the hacky OBEX Implementation
Add a more cleaned up more appealing (not yet working) version
which will even be able to do OBEX over Bluetooth in the future
-It handles receive better
let's you choose what to do with custom files and created a DocLnk
-Send lets you beam to multiple devices
this needs the IrDa Applet to be present
-rw-r--r-- | core/obex/obeximpl.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/obex/obeximpl.cpp b/core/obex/obeximpl.cpp new file mode 100644 index 0000000..12a078f --- a/dev/null +++ b/core/obex/obeximpl.cpp | |||
@@ -0,0 +1,28 @@ | |||
1 | #include "obexhandler.h" | ||
2 | #include "obeximpl.h" | ||
3 | |||
4 | using namespace OpieObex; | ||
5 | |||
6 | ObexImpl::ObexImpl() { | ||
7 | m_handler = new ObexHandler; | ||
8 | } | ||
9 | ObexImpl::~ObexImpl() { | ||
10 | delete m_handler; | ||
11 | } | ||
12 | QRESULT ObexImpl::queryInterface( const QUuid& uuid, QUnknownInterface **iface ) { | ||
13 | *iface = 0; | ||
14 | if ( uuid == IID_QUnknown ) { | ||
15 | *iface = this; | ||
16 | }else if ( uuid == IID_ObexInterface ) | ||
17 | *iface = this; | ||
18 | |||
19 | if (*iface) | ||
20 | (*iface)->addRef(); | ||
21 | |||
22 | return QS_OK; | ||
23 | } | ||
24 | |||
25 | |||
26 | Q_EXPORT_INTERFACE() { | ||
27 | Q_CREATE_INSTANCE( ObexImpl ) | ||
28 | } | ||