summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/iolayerbase.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/iolayerbase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/iolayerbase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/iolayerbase.h b/noncore/apps/opie-console/iolayerbase.h
index 214a35c..7d304a1 100644
--- a/noncore/apps/opie-console/iolayerbase.h
+++ b/noncore/apps/opie-console/iolayerbase.h
@@ -14,25 +14,26 @@ class IOLayerBase : public QWidget {
14 14
15 Q_OBJECT 15 Q_OBJECT
16 16
17public: 17public:
18 enum Flow { Hardware, Software, None }; 18 enum Flow { Hardware, Software, None };
19 enum Parity{ Odd =2 , Even =1, NonePar =0 }; 19 enum Parity{ Odd =2 , Even =1, NonePar =0 };
20 enum Speed{ Baud_115200, 20 enum Speed{ Baud_115200,
21 Baud_57600, 21 Baud_57600,
22 Baud_38400, 22 Baud_38400,
23 Baud_19200, 23 Baud_19200,
24 Baud_9600, 24 Baud_9600,
25 Baud_4800, 25 Baud_4800,
26 Baud_2400 }; 26 Baud_2400,
27 Baud_1200 };
27 enum Data { Data_Five =5, Data_Six =6, Data_Seven=7, Data_Eight=8 }; 28 enum Data { Data_Five =5, Data_Six =6, Data_Seven=7, Data_Eight=8 };
28 enum Stop { Stop_One =1, Stop_OnePointFive=15, Stop_Two=2 }; 29 enum Stop { Stop_One =1, Stop_OnePointFive=15, Stop_Two=2 };
29 30
30 IOLayerBase( QWidget* base, const char* name = 0l); 31 IOLayerBase( QWidget* base, const char* name = 0l);
31 ~IOLayerBase(); 32 ~IOLayerBase();
32 33
33 void setFlow( Flow flo ); 34 void setFlow( Flow flo );
34 void setParity( Parity par ); 35 void setParity( Parity par );
35 void setSpeed( Speed speed ); 36 void setSpeed( Speed speed );
36 void setData( Data data ); 37 void setData( Data data );
37 void setStop( Stop stop ); 38 void setStop( Stop stop );
38 39