summaryrefslogtreecommitdiffstats
path: root/api/logic/screenshots/Screenshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/screenshots/Screenshot.h')
-rw-r--r--api/logic/screenshots/Screenshot.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/api/logic/screenshots/Screenshot.h b/api/logic/screenshots/Screenshot.h
new file mode 100644
index 00000000..b48cbe99
--- /dev/null
+++ b/api/logic/screenshots/Screenshot.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <QDateTime>
+#include <QString>
+#include <QFileInfo>
+#include <memory>
+
+struct ScreenShot
+{
+ ScreenShot(QFileInfo file)
+ {
+ m_file = file;
+ }
+ QFileInfo m_file;
+ QString m_url;
+ QString m_imgurId;
+};
+
+typedef std::shared_ptr<ScreenShot> ScreenshotPtr;