#ifndef FILEHANDLE_H #define FILEHANDLE_H #include class DLL_PUBLIC FileHandle { public: FileHandle(int fd); ~FileHandle(); FileHandle(const FileHandle &) = delete; void operator=(const FileHandle &) = delete; operator int() const; private: const int fd; }; #endif