Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
WaylandWarnings.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2024 Symless Ltd.
4 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
5 */
6
7#pragma once
8
9#include <QWidget>
10
11#include "platform/Wayland.h"
12
13namespace deskflow::gui::core {
14
16{
17public:
18 explicit WaylandWarnings() = default;
19
20 void showOnce(
21 QWidget *parent, bool hasEi = platform::kHasEi, bool hasPortal = platform::kHasPortal,
22 bool hasPortalInputCapture = platform::kHasPortalInputCapture
23 );
24
25private:
26 bool m_errorShown{false};
27};
28
29} // namespace deskflow::gui::core
void showOnce(QWidget *parent, bool hasEi=platform::kHasEi, bool hasPortal=platform::kHasPortal, bool hasPortalInputCapture=platform::kHasPortalInputCapture)
Definition WaylandWarnings.cpp:16
Definition WaylandWarnings.cpp:14
const auto kHasEi
Definition Wayland.h:16
const auto kHasPortalInputCapture
Definition Wayland.h:28
const auto kHasPortal
Definition Wayland.h:22