Updated comments and fixed tabbing
[profile/ivi/automotive-message-broker.git] / plugins / common / abstractio.hpp
1 #ifndef _ABSTRACTIO_H_
2 #define _ABSTRACTIO_H_
3
4 #include <string>
5
6 class AbstractIo
7 {
8 public:
9
10         virtual bool open() = 0;
11         virtual bool close() = 0;
12         virtual bool isOpen() =0;
13         virtual std::string read() = 0;
14         virtual void write(std::string data) = 0;
15
16         virtual int fileDescriptor() = 0;
17 };
18
19 #endif