summaryrefslogtreecommitdiff
path: root/core/applets/obex/obex.h
authorzecke <zecke>2003-02-16 15:49:02 (UTC)
committer zecke <zecke>2003-02-16 15:49:02 (UTC)
commit30a098530260176ac20d75ba6cb7abfb3d998c13 (patch) (unidiff)
treeee5c08ca67fa00574414153921ab2de654c60421 /core/applets/obex/obex.h
parent7fab90d46144843d32e476ada8d0a5f40f50aa60 (diff)
downloadopie-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
Diffstat (limited to 'core/applets/obex/obex.h') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/obex/obex.h85
1 files changed, 0 insertions, 85 deletions
diff --git a/core/applets/obex/obex.h b/core/applets/obex/obex.h
deleted file mode 100644
index 781fca2..0000000
--- a/core/applets/obex/obex.h
+++ b/dev/null
@@ -1,85 +0,0 @@
1
2
3#ifndef OpieObex_H
4#define OpieObex_H
5
6#include <qobject.h>
7
8class OProcess;
9class QCopChannel;
10namespace OpieObex {
11 class Obex : public QObject {
12 Q_OBJECT
13 public:
14 /**
15 * Obex c'tor look
16 */
17 Obex( QObject *parent, const char* name);
18 /**
19 * d'tor
20 */
21 ~Obex();
22
23 /**
24 * Starting listening to irda after enabled by the applet
25 * a signal gets emitted when recieved a file
26 */
27 void receive();
28 void send( const QString& );
29 void setReceiveEnabled( bool = false );
30 signals:
31
32 /**
33 * a signal
34 * @param path The path to the recieved file
35 */
36 void receivedFile( const QString& path);
37 /**
38 * error signal if the program couldn't be started or the
39 * the connection timed out
40 */
41 void error( int );
42 /**
43 * The current try to receive data
44 */
45 void currentTry(unsigned int);
46 /**
47 * signal sent The file got beamed to the remote location
48 */
49 void sent();
50 // private slots
51 void done(bool);
52
53 private:
54 uint m_count;
55 QString m_file;
56 QString m_outp;
57 OProcess *m_send;
58 OProcess *m_rec;
59 bool m_receive : 1;
60 void shutDownReceive();
61
62private slots:
63
64 /**
65 * send over palm obex
66 */
67
68 //void send(const QString&);
69
70 // the process exited
71 void slotExited(OProcess* proc) ;
72 void slotStdOut(OProcess*, char*, int);
73 void slotError();
74
75 private:
76 void sendNow();
77 QString parseOut();
78 void received();
79 void sendEnd();
80
81 };
82};
83
84
85#endif