-rw-r--r-- | core/obex/obex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/obex/obex.h b/core/obex/obex.h index 36ff29a..b948ce4 100644 --- a/core/obex/obex.h +++ b/core/obex/obex.h | |||
@@ -25,24 +25,25 @@ | |||
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | /* | 28 | /* |
29 | * The Infrared OBEX handling class declaration | 29 | * The Infrared OBEX handling class declaration |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #ifndef OpieObex_H | 32 | #ifndef OpieObex_H |
33 | #define OpieObex_H | 33 | #define OpieObex_H |
34 | 34 | ||
35 | #include "obexbase.h" | 35 | #include "obexbase.h" |
36 | #include <qobject.h> | 36 | #include <qobject.h> |
37 | #include "obexserver.h" | ||
37 | 38 | ||
38 | namespace Opie {namespace Core {class OProcess;}} | 39 | namespace Opie {namespace Core {class OProcess;}} |
39 | class QCopChannel; | 40 | class QCopChannel; |
40 | namespace OpieObex { | 41 | namespace OpieObex { |
41 | class Obex : public ObexBase { | 42 | class Obex : public ObexBase { |
42 | Q_OBJECT | 43 | Q_OBJECT |
43 | public: | 44 | public: |
44 | /** | 45 | /** |
45 | * Obex c'tor look | 46 | * Obex c'tor look |
46 | */ | 47 | */ |
47 | Obex( QObject *parent, const char* name); | 48 | Obex( QObject *parent, const char* name); |
48 | /** | 49 | /** |
@@ -75,25 +76,25 @@ namespace OpieObex { | |||
75 | void currentTry(unsigned int); | 76 | void currentTry(unsigned int); |
76 | /** | 77 | /** |
77 | * signal sent The file got beamed to the remote location | 78 | * signal sent The file got beamed to the remote location |
78 | */ | 79 | */ |
79 | void sent(bool); | 80 | void sent(bool); |
80 | void done(bool); | 81 | void done(bool); |
81 | 82 | ||
82 | private: | 83 | private: |
83 | uint m_count; | 84 | uint m_count; |
84 | QString m_file; | 85 | QString m_file; |
85 | QString m_outp; | 86 | QString m_outp; |
86 | Opie::Core::OProcess *m_send; | 87 | Opie::Core::OProcess *m_send; |
87 | Opie::Core::OProcess *m_rec; | 88 | ObexServer* m_rec; //The OBEX server |
88 | bool m_receive : 1; | 89 | bool m_receive : 1; |
89 | void shutDownReceive(); | 90 | void shutDownReceive(); |
90 | 91 | ||
91 | private slots: | 92 | private slots: |
92 | 93 | ||
93 | /** | 94 | /** |
94 | * send over palm obex | 95 | * send over palm obex |
95 | */ | 96 | */ |
96 | 97 | ||
97 | //void send(const QString&); | 98 | //void send(const QString&); |
98 | 99 | ||
99 | // the process exited | 100 | // the process exited |