author | zecke <zecke> | 2002-06-13 19:04:05 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-13 19:04:05 (UTC) |
commit | ed10b73df98c1b4c41a0b940e4f8729fe28c2b8a (patch) (side-by-side diff) | |
tree | 9fe7679c82a41b21de3378090ce211c00a8bc178 /core/applets/obex/obex.h | |
parent | 9939c618389465ef5837bf510186d583891e65e3 (diff) | |
download | opie-ed10b73df98c1b4c41a0b940e4f8729fe28c2b8a.zip opie-ed10b73df98c1b4c41a0b940e4f8729fe28c2b8a.tar.gz opie-ed10b73df98c1b4c41a0b940e4f8729fe28c2b8a.tar.bz2 |
Stop receiving when wanting to send
-rw-r--r-- | core/applets/obex/obex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/applets/obex/obex.h b/core/applets/obex/obex.h index 4e78015..2ce44f2 100644 --- a/core/applets/obex/obex.h +++ b/core/applets/obex/obex.h @@ -26,6 +26,7 @@ namespace OpieObex { */ void receive(); void send( const QString& ); + void setReceiveEnabled( bool = false ); signals: /** @@ -55,6 +56,8 @@ namespace OpieObex { QString m_outp; OProcess *m_send; OProcess *m_rec; + bool m_receive : 1; + void shutDownReceive(); private slots: @@ -67,6 +70,7 @@ namespace OpieObex { // the process exited void slotExited(OProcess* proc) ; void slotStdOut(OProcess*, char*, int); + void slotError(); private: void sendNow(); |