mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Style
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user