summaryrefslogtreecommitdiff
path: root/core/obex/btobex.h
Unidiff
Diffstat (limited to 'core/obex/btobex.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/btobex.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/obex/btobex.h b/core/obex/btobex.h
index 5ab591c..099f04a 100644
--- a/core/obex/btobex.h
+++ b/core/obex/btobex.h
@@ -4,9 +4,12 @@
4#define OpieBtObex_H 4#define OpieBtObex_H
5 5
6#include <qobject.h> 6#include <qobject.h>
7#include <services.h>
8#include <manager.h>
7 9
8namespace Opie {namespace Core {class OProcess;}} 10namespace Opie {namespace Core {class OProcess;}}
9class QCopChannel; 11class QCopChannel;
12using namespace OpieTooth;
10namespace OpieObex { 13namespace OpieObex {
11 // Maybe this should be derved from Obex. 14 // Maybe this should be derved from Obex.
12 class BtObex : public QObject { 15 class BtObex : public QObject {
@@ -55,17 +58,20 @@ namespace OpieObex {
55 QString m_file; 58 QString m_file;
56 QString m_outp; 59 QString m_outp;
57 QString m_bdaddr; 60 QString m_bdaddr;
61 int m_port;
58 Opie::Core::OProcess *m_send; 62 Opie::Core::OProcess *m_send;
59 Opie::Core::OProcess *m_rec; 63 Opie::Core::OProcess *m_rec;
60 bool m_receive : 1; 64 bool m_receive : 1;
65 OpieTooth::Manager* btManager;
61 void shutDownReceive(); 66 void shutDownReceive();
62 67
63private slots: 68private slots:
64 69
65 // the process exited 70 // the process exited
66 void slotExited(Opie::Core::OProcess* proc) ; 71 void slotExited(Opie::Core::OProcess*) ;
67 void slotStdOut(Opie::Core::OProcess*, char*, int); 72 void slotStdOut(Opie::Core::OProcess*, char*, int);
68 void slotError(); 73 void slotError();
74 void slotFoundServices(const QString&, Services::ValueList);
69 75
70 private: 76 private:
71 void sendNow(); 77 void sendNow();