Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Cell.h
diff options
context:
space:
mode:
1 files changed, 4 insertions, 1 deletions
-rw-r--r--src/Models/Cell.h5
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