Removed the newline from the messages sent
[simple_comm.git] / src / port.h
blobf32b0fd62a4eeb96c9691ba058a73f2468c8cfff
1 /*******************************************************************************
2 ********************************************************************************
4 Copyright (c) 2008 Ahmed S. Badran
6 Licensed under the FreeBSD License (see LICENSE)
8 Filename: port.h
9 Description: A port class.
10 Created: 12/20/2008 07:01:52 PM PST
11 Author: Ahmed S. Badran (Ahmed B.), ahmed.badran@gmail.com
13 ********************************************************************************
14 *******************************************************************************/
15 #ifndef PORT_INC
16 #define PORT_INC
17 #include "port_if.h"
18 namespace simple_comm
21 class port: public port_if
23 public:
24 port(u16 n);
25 u16 get() const;
26 private:
27 u16 port_num;
31 #endif // ----- #ifndef PORT_INC -----