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/obexhandler.h | |
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/obexhandler.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/core/obex/obexhandler.h b/core/obex/obexhandler.h new file mode 100644 index 0000000..230c4f0 --- a/dev/null +++ b/core/obex/obexhandler.h | |||
@@ -0,0 +1,39 @@ | |||
1 | #ifndef OPIE_OBEX_HANDLER_H | ||
2 | #define OPIE_OBEX_HANDLER_H | ||
3 | |||
4 | #include <qobject.h> | ||
5 | #include <qstring.h> | ||
6 | |||
7 | namespace OpieObex { | ||
8 | /* | ||
9 | * The handler is responsible for handling receiving | ||
10 | * and sending | ||
11 | * It will connect to the IrDa QCOP channel and then | ||
12 | * wait for activation... | ||
13 | */ | ||
14 | class SendWidget; | ||
15 | class Receiver; | ||
16 | class ObexHandler : public QObject { | ||
17 | Q_OBJECT | ||
18 | public: | ||
19 | ObexHandler(); | ||
20 | ~ObexHandler(); | ||
21 | |||
22 | private slots: | ||
23 | void doSend(const QString&,const QString& ); | ||
24 | void doReceive(bool b); | ||
25 | void slotSent(); | ||
26 | |||
27 | private slots: // QCOP message | ||
28 | void irdaMessage( const QCString&, const QByteArray& ); | ||
29 | |||
30 | private: | ||
31 | SendWidget* m_sender; | ||
32 | Receiver* m_receiver; | ||
33 | bool m_wasRec : 1; | ||
34 | |||
35 | }; | ||
36 | } | ||
37 | |||
38 | |||
39 | #endif | ||