aboutsummaryrefslogtreecommitdiff
path: root/launcher/screenshots/Screenshot.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2021-07-25 19:11:59 +0200
committerPetr Mrázek <peterix@gmail.com>2021-07-25 19:50:44 +0200
commit20b9f2b42a3b58b6081af271774fbcc34025dccb (patch)
tree064fa59facb3357139b47bd4e60bfc8edb35ca11 /launcher/screenshots/Screenshot.h
parentdd133680858351e3e07690e286882327a4f42ba5 (diff)
downloadPrismLauncher-20b9f2b42a3b58b6081af271774fbcc34025dccb.tar.gz
PrismLauncher-20b9f2b42a3b58b6081af271774fbcc34025dccb.tar.bz2
PrismLauncher-20b9f2b42a3b58b6081af271774fbcc34025dccb.zip
NOISSUE Flatten gui and logic libraries into MultiMC
Diffstat (limited to 'launcher/screenshots/Screenshot.h')
-rw-r--r--launcher/screenshots/Screenshot.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/launcher/screenshots/Screenshot.h b/launcher/screenshots/Screenshot.h
new file mode 100644
index 00000000..9db3a8a1
--- /dev/null
+++ b/launcher/screenshots/Screenshot.h
@@ -0,0 +1,20 @@
+#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;
+ QString m_imgurDeleteHash;
+};
+
+typedef std::shared_ptr<ScreenShot> ScreenshotPtr;