~unity-system-compositor-team/unity-system-compositor/trunk

« back to all changes in this revision

Viewing changes to src/system_compositor.h

  • Committer: Tarmac
  • Author(s): Alexandros Frantzis
  • Date: 2015-04-28 06:59:14 UTC
  • mfrom: (203.2.7 powerd-mediator)
  • Revision ID: tarmac-20150428065914-y1hs68oib8m0nzpy
Reimplement PowerdMediator without Qt. Fixes: https://bugs.launchpad.net/bugs/1389187.

Approved by Alberto Aguirre, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <memory>
24
24
 
 
25
namespace mir
 
26
{
 
27
namespace input
 
28
{
 
29
class EventFilter;
 
30
}
 
31
}
 
32
 
25
33
namespace usc
26
34
{
27
35
 
29
37
class DMConnection;
30
38
class Spinner;
31
39
class ScreenEventHandler;
32
 
class MirScreen;
 
40
class Screen;
 
41
class UnityScreenService;
33
42
 
34
43
class SystemCompositor
35
44
{
38
47
    void run();
39
48
 
40
49
private:
41
 
    void qt_main();
42
 
 
43
50
    std::shared_ptr<Server> const server;
44
51
    std::shared_ptr<DMConnection> dm_connection;
45
52
    std::shared_ptr<Spinner> const spinner;
46
 
    std::shared_ptr<MirScreen> mir_screen;
47
 
    std::shared_ptr<ScreenEventHandler> screen_event_handler;
 
53
    std::shared_ptr<Screen> screen;
 
54
    std::shared_ptr<mir::input::EventFilter> screen_event_handler;
 
55
    std::shared_ptr<UnityScreenService> unity_screen_service;
48
56
};
49
57
 
50
58
}