Diffstat (limited to 'noncore/net/opietooth/manager/pppdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/pppdialog.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/noncore/net/opietooth/manager/pppdialog.h b/noncore/net/opietooth/manager/pppdialog.h index 05894e2..565fe1e 100644 --- a/noncore/net/opietooth/manager/pppdialog.h +++ b/noncore/net/opietooth/manager/pppdialog.h | |||
@@ -11,5 +11,10 @@ class QMultiLineEdit; | |||
11 | class QLineEdit; | 11 | class QLineEdit; |
12 | 12 | #define NCONNECTS 10 //Maximal | |
13 | 13 | ||
14 | namespace OpieTooth { | 14 | namespace OpieTooth { |
15 | typedef struct { | ||
16 | Opie::Core::OProcess proc; //Connection process | ||
17 | QString btAddr; //MAC address | ||
18 | int port; //port | ||
19 | } Connection; | ||
15 | 20 | ||
@@ -20,3 +25,3 @@ namespace OpieTooth { | |||
20 | public: | 25 | public: |
21 | PPPDialog( QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0, const QString& device = 0); | 26 | PPPDialog(const QString& device = 0, int port = 0, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0); |
22 | ~PPPDialog(); | 27 | ~PPPDialog(); |
@@ -26,2 +31,8 @@ namespace OpieTooth { | |||
26 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); | 31 | void fillOutPut( Opie::Core::OProcess* pppDial, char* cha, int len ); |
32 | void fillErr(Opie::Core::OProcess*, char*, int); | ||
33 | void slotProcessExited(Opie::Core::OProcess* proc); | ||
34 | void closeEvent(QCloseEvent* e); | ||
35 | public: | ||
36 | //Array of connections indexed by rfcomm device number | ||
37 | static Connection conns[NCONNECTS]; | ||
27 | protected: | 38 | protected: |
@@ -34,2 +45,3 @@ namespace OpieTooth { | |||
34 | QString m_device; | 45 | QString m_device; |
46 | int m_port; | ||
35 | }; | 47 | }; |