FileHelper.h 328 B

12345678910111213141516
  1. #ifndef FILEHELPER_H
  2. #define FILEHELPER_H
  3. #include <iostream>
  4. #include <fstream>
  5. class FileHelper
  6. {
  7. public:
  8. FileHelper() {}
  9. virtual ~FileHelper() {}
  10. virtual bool readFile(std::string filename, std::string &fileContent) = 0;
  11. virtual bool writeFile(std::string filename, std::string fileContent) = 0;
  12. };
  13. #endif