mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #317 IKeyboard implementation fixes
- private constructor - deleted public copy constructor - deleted public assignment operator
This commit is contained in:
@@ -28,6 +28,12 @@ namespace BlackInput
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
//! \brief Copy Constructor
|
||||
CKeyboardWindows(CKeyboardWindows const&) = delete;
|
||||
|
||||
//! \brief Assignment operator
|
||||
void operator=(CKeyboardWindows const&) = delete;
|
||||
|
||||
//! \brief Destructor
|
||||
virtual ~CKeyboardWindows();
|
||||
|
||||
@@ -48,22 +54,16 @@ namespace BlackInput
|
||||
|
||||
protected:
|
||||
|
||||
//! \copydoc IKeyboard::init()
|
||||
virtual bool init() override;
|
||||
|
||||
private:
|
||||
|
||||
friend class IKeyboard;
|
||||
|
||||
//! \brief Constructor
|
||||
CKeyboardWindows(QObject *parent = nullptr);
|
||||
|
||||
//! \brief Copy Constructor
|
||||
CKeyboardWindows(CKeyboardWindows const&);
|
||||
|
||||
//! \copydoc IKeyboard::init()
|
||||
virtual bool init() override;
|
||||
|
||||
//! \brief Assignment operator
|
||||
void operator=(CKeyboardWindows const&);
|
||||
|
||||
private:
|
||||
|
||||
/*!
|
||||
* \brief Constructor
|
||||
* \param keySet
|
||||
|
||||
Reference in New Issue
Block a user