diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 00:39:25 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-12-03 00:39:25 +0100 |
commit | f6e27c2abe9da2ed1159cfc30618afc66bfbab79 (patch) | |
tree | 511a2b15828a5b431bc54a6c95d0986453d48753 /Kernel/Keyboard.h | |
parent | d824442e3e4961e6df18aeb625f645a98760ac2a (diff) | |
download | serenity-f6e27c2abe9da2ed1159cfc30618afc66bfbab79.zip |
More coding style changes.
Diffstat (limited to 'Kernel/Keyboard.h')
-rw-r--r-- | Kernel/Keyboard.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Keyboard.h b/Kernel/Keyboard.h index 923c3ab9aa..6b207fcc60 100644 --- a/Kernel/Keyboard.h +++ b/Kernel/Keyboard.h @@ -30,16 +30,16 @@ public: virtual ~Keyboard() override; Keyboard(); - void setClient(KeyboardClient* client) { m_client = client; } + void set_client(KeyboardClient* client) { m_client = client; } private: // ^IRQHandler - virtual void handleIRQ() override; + virtual void handle_irq() override; // ^CharacterDevice virtual ssize_t read(byte* buffer, size_t) override; virtual ssize_t write(const byte* buffer, size_t) override; - virtual bool hasDataAvailableForRead() const override; + virtual bool has_data_available_for_reading() const override; void emit(byte); @@ -51,5 +51,5 @@ private: class KeyboardClient { public: virtual ~KeyboardClient(); - virtual void onKeyPress(Keyboard::Key) = 0; + virtual void on_key_pressed(Keyboard::Key) = 0; }; |