Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
DisplayInvalidException.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2018 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7#pragma once
8
9#include <stdexcept>
10
11#ifdef __APPLE__
12#include <string>
13#endif
14
15class DisplayInvalidException : public std::runtime_error
16{
17#ifdef __APPLE__
18public:
19 explicit DisplayInvalidException(const std::string &msg) : std::runtime_error(msg)
20 {
21 // do nothing
22 }
23#endif
24};
Definition DisplayInvalidException.h:16