~ubuntu-branches/ubuntu/wily/mir/wily-proposed

« back to all changes in this revision

Viewing changes to tests/include/mir_test_framework/stub_server_platform_factory.h

  • Committer: Package Import Robot
  • Author(s): CI Train Bot
  • Date: 2015-05-12 13:12:55 UTC
  • mto: This revision was merged to the branch mainline in revision 96.
  • Revision ID: package-import@ubuntu.com-20150512131255-y7z12i8n4pbvo70x
Tags: upstream-0.13.0+15.10.20150512
ImportĀ upstreamĀ versionĀ 0.13.0+15.10.20150512

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include "mir/geometry/rectangle.h"
23
23
 
24
24
#include "mir/graphics/platform.h"
 
25
#include "mir/module_deleter.h"
25
26
#include <vector>
 
27
#include <memory>
 
28
#include <string>
26
29
 
27
30
namespace geom = mir::geometry;
28
31
 
32
35
{
33
36
class Platform;
34
37
}
 
38
namespace input
 
39
{
 
40
class InputDeviceInfo;
 
41
}
35
42
}
36
43
 
37
44
namespace mg = mir::graphics;
38
45
 
39
46
namespace mir_test_framework
40
47
{
 
48
class FakeInputDevice;
41
49
 
42
50
std::shared_ptr<mg::Platform> make_stubbed_server_graphics_platform(std::vector<geom::Rectangle> const& display_rects);
43
51
 
44
52
void set_next_display_rects(std::unique_ptr<std::vector<geom::Rectangle>>&& display_rects);
45
53
 
46
54
void set_next_preset_display(std::shared_ptr<mir::graphics::Display> const& display);
47
 
 
 
55
 
 
56
mir::UniqueModulePtr<FakeInputDevice> add_fake_input_device(mir::input::InputDeviceInfo const& info);
48
57
}
49
58
#endif /* MIR_TEST_FRAMEWORK_STUB_SERVER_PLATFORM_FACTORY_ */