| 43 | { |
| 44 | public: |
| 45 | class indev |
| 46 | { |
| 47 | public: |
| 48 | indev(); |
| 49 | indev(FILE* fp, const char* fn, const char* fn_display); |
| 50 | void init(FILE* fp, const char* fn, const char* fn_display); |
| 51 | void init(const indev& src); |
| 52 | //~indev(); |
| 53 | void copy_from(const indev* src); |
| 54 | Firebird::PathName fileName(bool display) const; |
| 55 | void close(); |
| 56 | void drop(); |
| 57 | void getPos(fpos_t* out) const; |
| 58 | void setPos(const fpos_t* in); |
| 59 | FILE* indev_fpointer; |
| 60 | int indev_line; |
| 61 | int indev_aux; |
| 62 | indev* indev_next; |
| 63 | |
| 64 | private: |
| 65 | void makeFullFileName(); |
| 66 | |
| 67 | Firebird::PathName indev_fn, indev_fn_display; |
| 68 | |
| 69 | void operator=(const void*); // prevent surprises. |
| 70 | }; |
| 71 | |
| 72 | InputDevices(); |
| 73 | explicit InputDevices(Firebird::MemoryPool&); |