~ci-train-bot/qtmir/qtmir-ubuntu-zesty-2457

« back to all changes in this revision

Viewing changes to src/modules/Unity/Application/surfacemanager.h

  • Committer: Bileto Bot
  • Author(s): Daniel d'Andrada
  • Date: 2017-02-23 11:18:40 UTC
  • mfrom: (606.1.2 byeSessionManager)
  • Revision ID: ci-train-bot@canonical.com-20170223111840-3pvx8w1eqy5i2v2n
Make TaskController absorb SessionManager

So that we can later on provide fake, internal, mir clients for tests
just by replacing the TaskController with a fake implementation.

Approved by: Gerry Boland, Unity8 CI Bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2016 Canonical, Ltd.
 
2
 * Copyright (C) 2016,2017 Canonical, Ltd.
3
3
 *
4
4
 * This program is free software: you can redistribute it and/or modify it under
5
5
 * the terms of the GNU Lesser General Public License version 3, as published by
31
31
namespace qtmir {
32
32
 
33
33
class MirSurface;
34
 
class SessionManager;
35
34
class WindowControllerInterface;
36
35
 
37
36
class SurfaceManager : public unity::shell::application::SurfaceManagerInterface
66
65
    QVector<MirSurface*> m_allSurfaces;
67
66
 
68
67
    WindowControllerInterface *m_windowController;
69
 
    SessionManager* m_sessionManager;
70
68
};
71
69
 
72
70
} // namespace qtmir