From ede3f512cd884145a2eb1bd8f847d68a21d54456 Mon Sep 17 00:00:00 2001 From: Jan Schuffenhauer Date: Mon, 20 Jan 2020 20:05:51 +0100 Subject: [PATCH] lets go with datamanager --- src/IntelliHelper/IntelliDatamanager.cpp | 16 ++++++++++++++++ src/IntelliHelper/IntelliDatamanager.h | 17 +++++++++++++++++ src/IntelliPhoto.pro | 2 ++ 3 files changed, 35 insertions(+) create mode 100644 src/IntelliHelper/IntelliDatamanager.cpp create mode 100644 src/IntelliHelper/IntelliDatamanager.h diff --git a/src/IntelliHelper/IntelliDatamanager.cpp b/src/IntelliHelper/IntelliDatamanager.cpp new file mode 100644 index 0000000..38996c2 --- /dev/null +++ b/src/IntelliHelper/IntelliDatamanager.cpp @@ -0,0 +1,16 @@ +#include "IntelliDatamanager.h" + +IntelliDatamanager::IntelliDatamanager() +{ + +} + +void IntelliDatamanager::saveProject(PaintingArea* Canvas, QString filePath){ + + + return; +} + +void IntelliDatamanager::loadProject(PaintingArea* Canvas, QString filePath){ + return; +} diff --git a/src/IntelliHelper/IntelliDatamanager.h b/src/IntelliHelper/IntelliDatamanager.h new file mode 100644 index 0000000..a70fbe5 --- /dev/null +++ b/src/IntelliHelper/IntelliDatamanager.h @@ -0,0 +1,17 @@ +#ifndef INTELLIDATAMANAGER_H +#define INTELLIDATAMANAGER_H + +#include "Layer/PaintingArea.h" +#include + +class IntelliDatamanager +{ +private: + +public: + void loadProject(PaintingArea* Canvas, QString filePath = "unnamed.idf"); + void saveProject(PaintingArea* Canvas, QString filePath = "unnamed.idf"); + IntelliDatamanager(); +}; + +#endif // INTELLIDATAMANAGER_H diff --git a/src/IntelliPhoto.pro b/src/IntelliPhoto.pro index faf6c86..2b1d4d5 100755 --- a/src/IntelliPhoto.pro +++ b/src/IntelliPhoto.pro @@ -22,6 +22,7 @@ SOURCES += \ Image/IntelliRasterImage.cpp \ Image/IntelliShapedImage.cpp \ IntelliHelper/IntelliColorPicker.cpp \ + IntelliHelper/IntelliDatamanager.cpp \ IntelliHelper/IntelliRenderSettings.cpp \ IntelliHelper/IntelliToolsettings.cpp \ IntelliHelper/IntelliTriangulation.cpp \ @@ -43,6 +44,7 @@ HEADERS += \ Image/IntelliRasterImage.h \ Image/IntelliShapedImage.h \ IntelliHelper/IntelliColorPicker.h \ + IntelliHelper/IntelliDatamanager.h \ IntelliHelper/IntelliRenderSettings.h \ IntelliHelper/IntelliToolsettings.h \ IntelliHelper/IntelliTriangulation.h \