summaryrefslogtreecommitdiffhomepage
path: root/compat/check-visible.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/check-visible.hpp')
-rw-r--r--compat/check-visible.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/compat/check-visible.hpp b/compat/check-visible.hpp
new file mode 100644
index 00000000..f5420a39
--- /dev/null
+++ b/compat/check-visible.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "export.hpp"
+#include "util.hpp"
+
+#include <QWidget>
+
+never_inline OTR_COMPAT_EXPORT void set_is_visible(QWidget const& w, bool force = false);
+never_inline OTR_COMPAT_EXPORT bool check_is_visible();