deskflow/src/lib/mt/XMT.h

30 lines
593 B
C
Raw Normal View History

2012-06-10 16:50:54 +00:00
/*
* Deskflow -- mouse and keyboard sharing utility
* SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
* SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
* SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
2012-06-10 16:50:54 +00:00
*/
#pragma once
2012-06-10 16:50:54 +00:00
#include "base/XBase.h"
2012-06-10 16:50:54 +00:00
/**
* @brief XMT generic multithreading exception
*/
class XMT : public XBase
{
using XBase::XBase;
};
/**
* @brief XMTThreadUnavailable - Thrown when a thread cannot be created.
*/
class XMTThreadUnavailable : public XMT
{
using XMT::XMT;
2012-06-10 16:50:54 +00:00
protected:
std::string getWhat() const throw() override;
};