Split out io_close_t

This commit is contained in:
Cheer Xiao
2013-01-09 16:02:04 +08:00
parent 4e672427bc
commit f1b375b042
3 changed files with 17 additions and 4 deletions

11
io.h
View File

@@ -116,6 +116,17 @@ class io_data_t
}
};
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: