Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IServerConfig.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 <QFile>
10#include <QString>
11
12#include "ScreenList.h"
13
14namespace deskflow::gui {
15
17{
18public:
19 virtual ~IServerConfig() = default;
20 virtual bool isFull() const = 0;
21 virtual bool screenExists(const QString &screenName) const = 0;
22 virtual bool save(const QString &fileName) const = 0;
23 virtual void save(QFile &file) const = 0;
24 virtual const ScreenList &screens() const = 0;
25};
26
27} // namespace deskflow::gui
Definition ScreenList.h:12
Definition IServerConfig.h:17
virtual bool isFull() const =0
virtual ~IServerConfig()=default
virtual void save(QFile &file) const =0
virtual const ScreenList & screens() const =0
virtual bool save(const QString &fileName) const =0
virtual bool screenExists(const QString &screenName) const =0
Definition IServerConfig.h:14