~dandrader/qtmir/coordinateTranslator

« back to all changes in this revision

Viewing changes to src/platforms/mirserver/mirserver.cpp

  • Committer: CI Train Bot
  • Author(s): Alan Griffiths
  • Date: 2016-05-20 08:41:29 UTC
  • mfrom: (484.2.11 qtmir0)
  • Revision ID: ci-train-bot@canonical.com-20160520084129-co95olzpjkt1z4lh
Reduce coupling to MirServer - it has  been misused as a context object.
Approved by: Alan Griffiths, Unity8 CI Bot, Daniel d'Andrada

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
    return static_cast<PromptSessionListener*>(sharedPtr.get());
205
205
}
206
206
 
207
 
MirShell *MirServer::shell()
 
207
mir::shell::Shell *MirServer::shell()
208
208
{
209
 
    std::weak_ptr<MirShell> m_shell = the_shell();
 
209
    std::weak_ptr<mir::shell::Shell> m_shell = the_shell();
210
210
    return m_shell.lock().get();
211
211
}
212
212