~mir-team/qtmir/trunk

« back to all changes in this revision

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

  • Committer: CI Train Bot
  • Author(s): Daniel d'Andrada
  • Date: 2016-02-12 00:06:46 UTC
  • mfrom: (381.4.16 initialSurfaceGeom)
  • Revision ID: ci-train-bot@canonical.com-20160212000646-kcsjdiesdyazpp53
Let shell decide the initial surface size Fixes: #1532974
Approved by: Nick Dedekind

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
using MirShell = mir::shell::Shell;
28
28
class PromptSessionListener;
29
29
class ScreenController;
 
30
class MirWindowManager;
30
31
 
31
32
// We use virtual inheritance of mir::Server to facilitate derived classes (e.g. testing)
32
33
// calling initialization functions before MirServer is constructed.
61
62
    SessionAuthorizer *sessionAuthorizer();
62
63
    SessionListener *sessionListener();
63
64
    PromptSessionListener *promptSessionListener();
 
65
    MirWindowManager *windowManager();
64
66
    MirShell *shell();
65
67
 
66
68
private:
67
69
    std::weak_ptr<MirShell> m_shell;
68
 
    std::shared_ptr<QtEventFeeder> m_qtEventFeeder;
 
70
    std::weak_ptr<MirWindowManager> m_windowManager;
69
71
    const QSharedPointer<ScreenController> m_screenController;
70
72
};
71
73