~mir-team/qtmir/mir-0.16-rebuild

« back to all changes in this revision

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

  • Committer: Daniel d'Andrada
  • Date: 2014-12-10 10:33:48 UTC
  • mto: This revision was merged to the branch mainline in revision 294.
  • Revision ID: daniel.dandrada@canonical.com-20141210103348-mn2kmwtxxo0y8yyw
removed :PATH from command line

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    }
40
40
}
41
41
 
42
 
class MirServer;
 
42
class MirServerConfiguration;
43
43
 
44
44
namespace qtmir {
45
45
 
53
53
 
54
54
public:
55
55
    explicit MirSurfaceManager(
56
 
        const QSharedPointer<MirServer>& mirServer,
57
 
        MirShell *shell,
 
56
        const QSharedPointer<MirServerConfiguration>& mirConfig,
58
57
        SessionManager* sessionManager,
59
58
        QObject *parent = 0
60
59
    );
69
68
//    void fullscreenSurfaceChanged();
70
69
 
71
70
public Q_SLOTS:
72
 
    void onSessionCreatedSurface(const mir::scene::Session *, const std::shared_ptr<mir::scene::Surface> &, std::shared_ptr<SurfaceObserver> const&);
 
71
    void onSessionCreatedSurface(const mir::scene::Session *, const std::shared_ptr<mir::scene::Surface> &);
73
72
    void onSessionDestroyingSurface(const mir::scene::Session *, const std::shared_ptr<mir::scene::Surface> &);
74
73
 
 
74
    void onSurfaceAttributeChanged(const mir::scene::Surface *, MirSurfaceAttrib, int);
 
75
 
75
76
protected:
 
77
 
76
78
    QHash<const mir::scene::Surface *, MirSurfaceItem *> m_mirSurfaceToItemHash;
77
79
    QMutex m_mutex;
78
80
 
79
81
private:
80
 
    QSharedPointer<MirServer> m_mirServer;
81
 
    MirShell *const m_shell;
 
82
    QSharedPointer<MirServerConfiguration> m_mirConfig;
82
83
    SessionManager* m_sessionManager;
83
84
    static MirSurfaceManager *the_surface_manager;
84
85
};