Commit ba1f7733 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Make some getters in ClientConnection const

parent b545c99c
......@@ -114,7 +114,7 @@ wl_resource *ClientConnection::getResource(quint32 id)
return wl_client_get_object(d->client, id);
}
wl_client *ClientConnection::client()
wl_client *ClientConnection::client() const
{
return d->client;
}
......@@ -129,7 +129,7 @@ ClientConnection::operator wl_client*() const
return d->client;
}
Display *ClientConnection::display()
Display *ClientConnection::display() const
{
return d->display;
}
......
......@@ -60,11 +60,11 @@ public:
/**
* @returns the native wl_client this ClientConnection represents.
**/
wl_client *client();
wl_client *client() const;
/**
* @returns The Display this ClientConnection is connected to
**/
Display *display();
Display *display() const;
/**
* The pid of the ClientConnection endpoint.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment