scene::Session => scene::Application

Gerry Boland gerry.boland at canonical.com
Tue Jun 3 14:39:23 UTC 2014


On 02/06/14 10:08, Alan Griffiths wrote:
> With the current review of "trust session" it is clear that "Session" is
> a bad name for what the scene::Session class represents.
> 
> I suggest that we rename it to "Application" as that seems to better
> reflect its role.
> 
> Clearly that has the potential to break some downstream projects - but
> that could be mitigated by the temporary introduction of some typedefs
> and forwarding functions to give us API compatibility while we update
> those projects.
> 
> Any opinions on the desirability of doing this rename?
> 

Your reasons for why Session is a bad name would help the discussion.

I've always thought that since Mir is a server, why not refer to clients
as "Client" - I interpret Application as a client that creates a window
for a user to interact with - but configuration tools & snapshotting
tools may not create a window (i.e. for scripting)
-G



More information about the Mir-devel mailing list