~robertcarr/mir/add-log-all-option

« back to all changes in this revision

Viewing changes to examples/demo-inprocess-surface-client/inprocess_egl_client.h

  • Committer: Tarmac
  • Author(s): Alan Griffiths
  • Date: 2013-11-01 10:09:33 UTC
  • mfrom: (1182.1.9 mir2)
  • Revision ID: tarmac-20131101100933-oxdyp7o5o02pgon0
shell: avoid publishing some internal headers.

Approved by PS Jenkins bot, Alexandros Frantzis.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class InputReceiverThread;
36
36
}
37
37
}
38
 
namespace graphics
39
 
{
40
 
class Platform;
41
 
}
42
 
namespace shell
43
 
{
44
 
class SessionManager;
45
 
}
 
38
namespace graphics  { class Platform; }
 
39
namespace shell     { class FocusController; }
 
40
namespace frontend  { class Shell; }
46
41
 
47
42
namespace examples
48
43
{
51
46
class InprocessEGLClient
52
47
{
53
48
public:
54
 
    InprocessEGLClient(std::shared_ptr<graphics::Platform> const& graphics_platform,
55
 
                       std::shared_ptr<shell::SessionManager> const& session_manager);
 
49
    InprocessEGLClient(
 
50
        std::shared_ptr<graphics::Platform> const& graphics_platform,
 
51
        std::shared_ptr<frontend::Shell> const& shell,
 
52
        std::shared_ptr<shell::FocusController> const& focus_controller);
56
53
 
57
54
    ~InprocessEGLClient();
58
55
 
62
59
 
63
60
private:
64
61
    std::shared_ptr<graphics::Platform> const graphics_platform;
65
 
    std::shared_ptr<shell::SessionManager> const session_manager;
 
62
    std::shared_ptr<frontend::Shell> const shell;
 
63
    std::shared_ptr<shell::FocusController> const focus_controller;
66
64
 
67
65
    std::thread client_thread;
68
66