diff options
Autocommit at 28.05.2022 @ 15:33
1 files changed, 4 insertions, 1 deletions
| -rw-r--r-- | src/Models/Cell.h | 5 |
diff --git a/src/Models/Cell.h b/src/Models/Cell.h index 2c614de..4bf26bd 100644 --- a/src/Models/Cell.h +++ b/src/Models/Cell.h @@ -1,14 +1,17 @@ #ifndef HEADER_CELL #define HEADER_CELL +#include <fstream> #include "../Generic/String/String.h" class Cell { public: virtual String getValueForPrint() = 0; virtual void parseAndSetValue(const char* str) = 0; - virtual void readFromFile(const char* filePath) = 0; + virtual void readFromFile(std::ifstream& filePath) = 0; virtual void saveToFile(const char* filePath) = 0; + + virtual ~Cell() = default; }; #endif |
