diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-18 15:32:44 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-11-18 15:32:44 +0100 |
commit | c323cc9026e787fae2e5303b0632b626ddc3daba (patch) | |
tree | 4f3dc4c265a4299ad7c77818245853d94862bb4b /src/crepe | |
parent | 6b3feac981ce78144fb69e490640a4b07dd29f1d (diff) |
removed some comments
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; /** |