-rw-r--r-- | core/obex/obex.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/obex/obex.h b/core/obex/obex.h index b948ce4..745f1c2 100644 --- a/core/obex/obex.h +++ b/core/obex/obex.h | |||
@@ -60,54 +60,50 @@ namespace OpieObex { | |||
60 | virtual void setReceiveEnabled( bool = false ); | 60 | virtual void setReceiveEnabled( bool = false ); |
61 | signals: | 61 | signals: |
62 | 62 | ||
63 | /** | 63 | /** |
64 | * a signal | 64 | * a signal |
65 | * @param path The path to the received file | 65 | * @param path The path to the received file |
66 | */ | 66 | */ |
67 | void receivedFile( const QString& path); | 67 | void receivedFile( const QString& path); |
68 | /** | 68 | /** |
69 | * error signal if the program couldn't be started or the | 69 | * error signal if the program couldn't be started or the |
70 | * the connection timed out | 70 | * the connection timed out |
71 | */ | 71 | */ |
72 | void error( int ); | 72 | void error( int ); |
73 | /** | 73 | /** |
74 | * The current try to receive data | 74 | * The current try to receive data |
75 | */ | 75 | */ |
76 | void currentTry(unsigned int); | 76 | void currentTry(unsigned int); |
77 | /** | 77 | /** |
78 | * signal sent The file got beamed to the remote location | 78 | * signal sent The file got beamed to the remote location |
79 | */ | 79 | */ |
80 | void sent(bool); | 80 | void sent(bool); |
81 | void done(bool); | 81 | void done(bool); |
82 | 82 | ||
83 | private: | 83 | private: |
84 | uint m_count; | ||
85 | QString m_file; | ||
86 | QString m_outp; | ||
87 | Opie::Core::OProcess *m_send; | 84 | Opie::Core::OProcess *m_send; |
88 | ObexServer* m_rec; //The OBEX server | 85 | ObexServer* m_rec; //The OBEX server |
89 | bool m_receive : 1; | ||
90 | void shutDownReceive(); | 86 | void shutDownReceive(); |
91 | 87 | ||
92 | private slots: | 88 | private slots: |
93 | 89 | ||
94 | /** | 90 | /** |
95 | * send over palm obex | 91 | * send over palm obex |
96 | */ | 92 | */ |
97 | 93 | ||
98 | //void send(const QString&); | 94 | //void send(const QString&); |
99 | 95 | ||
100 | // the process exited | 96 | // the process exited |
101 | void slotExited(Opie::Core::OProcess* proc) ; | 97 | void slotExited(Opie::Core::OProcess* proc) ; |
102 | void slotStdOut(Opie::Core::OProcess*, char*, int); | 98 | void slotStdOut(Opie::Core::OProcess*, char*, int); |
103 | virtual void slotError(); | 99 | virtual void slotError(); |
104 | 100 | ||
105 | private: | 101 | private: |
106 | void sendNow(); | 102 | void sendNow(); |
107 | QString parseOut(); | 103 | QString parseOut(); |
108 | void received(); | 104 | void received(); |
109 | void sendEnd(); | 105 | void sendEnd(); |
110 | 106 | ||
111 | }; | 107 | }; |
112 | }; | 108 | }; |
113 | 109 | ||