summaryrefslogtreecommitdiff
path: root/include/InPipe.h
blob: b08b35c0c17e9f14fc8e5f7d73252fbd1d9a775f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __INPIPE_H__
#define __INPIPE_H__

#include <Handle.h>

class InPipe : public Handle {
  public:
      InPipe();
      InPipe(const InPipe &);
      virtual ~InPipe();
    void Hook();
    virtual bool CanWrite();
    virtual bool CanRead();
    virtual String GetName();
  private:
    int p[2], hooked;
};

#endif