From d27d9f27df792e2afa5fc16cd43d0efd919e0367 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 15:33:49 +0300 Subject: Autocommit at 28.05.2022 @ 15:33 --- src/Models/Cell.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Models/Cell.h') 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 #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 -- cgit v1.3.1-23-gd82d