aboutsummaryrefslogtreecommitdiff
path: root/src/qt/macoshelper.h
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2021-01-06 15:40:47 +0000
committerxiphon <xiphon@protonmail.com>2021-01-11 01:35:54 +0000
commite9b894da1601473eca7706acdb2f8cbb8a7fb12b (patch)
treecb9b2cc56d15e8f560f137066c0e962f2e175100 /src/qt/macoshelper.h
parent9399839d96d3b359a939475ce9cfd23fb28df4ec (diff)
downloadmonzero-gui-e9b894da1601473eca7706acdb2f8cbb8a7fb12b.tar.gz
monzero-gui-e9b894da1601473eca7706acdb2f8cbb8a7fb12b.tar.xz
monzero-gui-e9b894da1601473eca7706acdb2f8cbb8a7fb12b.zip
Transfer: implement 'Grab QR code from screen' functionality
Diffstat (limited to 'src/qt/macoshelper.h')
-rw-r--r--src/qt/macoshelper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/macoshelper.h b/src/qt/macoshelper.h
index e8dabfbe..c8e86b05 100644
--- a/src/qt/macoshelper.h
+++ b/src/qt/macoshelper.h
@@ -29,6 +29,8 @@
#ifndef MACOSHELPER_H
#define MACOSHELPER_H
+#include <QPixmap>
+
class MacOSHelper
{
MacOSHelper() {}
@@ -36,6 +38,7 @@ class MacOSHelper
public:
static bool isCapsLock();
static bool openFolderAndSelectItem(const QUrl &path);
+ static QPixmap screenshot();
static QString bundlePath();
};