diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-09 16:02:04 +0800 |
---|---|---|
committer | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-17 14:58:53 +0800 |
commit | f1b375b042ad1564d00645579a54bb28ba3e30d1 (patch) | |
tree | 4f58775472a7c7fa70e5d628018e714cc2c8e261 /io.h | |
parent | 4e672427bc7fb0709a57335c9315f9afdc6e49ed (diff) |
Split out io_close_t
Diffstat (limited to 'io.h')
-rw-r--r-- | io.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -116,6 +116,17 @@ public: } }; +class io_close_t : public io_data_t +{ +public: + io_close_t(int f) : + io_data_t(IO_CLOSE, f) + { + } + + virtual void print() const; +}; + class io_chain_t : public std::vector<shared_ptr<io_data_t> > { public: |