diff options
Diffstat (limited to 'src/crepe')
-rw-r--r-- | src/crepe/api/IKeyListener.h | 13 | ||||
-rw-r--r-- | src/crepe/api/IMouseListener.h | 21 |
2 files changed, 5 insertions, 29 deletions
diff --git a/src/crepe/api/IKeyListener.h b/src/crepe/api/IKeyListener.h index e170120..3e0e2cb 100644 --- a/src/crepe/api/IKeyListener.h +++ b/src/crepe/api/IKeyListener.h @@ -17,17 +17,12 @@ public: * \param channel The channel ID for event handling. */ IKeyListener(int channel); - - /** - * \brief Default constructor for IKeyListener. - */ IKeyListener(); - - /** - * \brief Destructor. - */ virtual ~IKeyListener(); - + IKeyListener(const IKeyListener &) = delete; + IKeyListener & operator=(const IKeyListener &) = delete; + IKeyListener(IKeyListener &&) = delete; + /** * \brief Pure virtual function to handle key press events. * \param event The key press event to handle. diff --git a/src/crepe/api/IMouseListener.h b/src/crepe/api/IMouseListener.h index 37d2f00..2ec156f 100644 --- a/src/crepe/api/IMouseListener.h +++ b/src/crepe/api/IMouseListener.h @@ -12,35 +12,16 @@ namespace crepe { */ class IMouseListener { public: - /** - * \brief Default constructor. - */ - IMouseListener(); + IMouseListener(); /** * \brief Constructs an IMouseListener with a specified channel. * \param channel The channel ID for event handling. */ IMouseListener(int channel); - - /** - * \brief Destructor. - */ virtual ~IMouseListener(); - - /** - * \brief Copy constructor (deleted). - */ IMouseListener(const IMouseListener &) = delete; - - /** - * \brief Copy assignment operator (deleted). - */ IMouseListener & operator=(const IMouseListener &) = delete; - - /** - * \brief Move constructor (deleted). - */ IMouseListener(IMouseListener &&) = delete; /** |