Qualifying RPC functions as const

This patch makes use of the recently added support for const RPC
functions by turning 'Framebuffer::Session::mode()' and
'Input::Session::is_pending()' into const functions.
This commit is contained in:
Norman Feske
2012-01-25 23:04:50 +01:00
parent 210eb98598
commit d880386091
17 changed files with 19 additions and 19 deletions

View File

@ -98,7 +98,7 @@ namespace Input {
/**
* Return true if input is pending
*/
bool input_pending() { return connected() && _client.is_pending(); }
bool input_pending() const { return connected() && _client.is_pending(); }
/**
* Return event buffer
@ -215,7 +215,7 @@ namespace Input {
Genode::Dataspace_capability dataspace() { return _ev_ds.cap(); }
bool is_pending()
bool is_pending() const
{
return _source_registry.any_source_has_pending_input();
}