diff --git a/src/blackinput/keyboard.h b/src/blackinput/keyboard.h index 3e6d3aa06..d13ff1237 100644 --- a/src/blackinput/keyboard.h +++ b/src/blackinput/keyboard.h @@ -41,15 +41,12 @@ namespace BlackInput void keyCombinationChanged(const BlackMisc::Input::CHotkeyCombination &); protected: - - /*! - * Initializes the platform keyboard device - */ + //! Initializes the platform keyboard device virtual bool init() = 0; private: static IKeyboard *m_instance; }; -} +} // ns #endif // guard diff --git a/src/blackinput/macos/keyboardmacos.h b/src/blackinput/macos/keyboardmacos.h index db25555f6..cfb83a33b 100644 --- a/src/blackinput/macos/keyboardmacos.h +++ b/src/blackinput/macos/keyboardmacos.h @@ -38,12 +38,10 @@ namespace BlackInput virtual void processKeyEvent(CGEventType type, CGEventRef event); protected: - //! \copydoc IKeyboard::init() virtual bool init() override; private: - friend class IKeyboard; //! Constructor @@ -55,9 +53,9 @@ namespace BlackInput CGEventRef event, void *refcon); - BlackMisc::Input::CHotkeyCombination m_keyCombination; //!< Current status of pressed keys; + BlackMisc::Input::CHotkeyCombination m_keyCombination; //!< Current status of pressed keys; CFMachPortRef m_eventTap; }; -} +} // ns -#endif // BLACKINPUT_KEYBOARDMACOS_H +#endif // guard