~bregma/qtmir/use-ual-info

« back to all changes in this revision

Viewing changes to tests/framework/mock_display.h

  • Committer: Stephen M. Webb
  • Date: 2016-03-02 00:43:03 UTC
  • mfrom: (434.2.18 qtmir)
  • Revision ID: stephen.webb@canonical.com-20160302004303-13zlk74v5zgzqniu
synch with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#include <mir/graphics/display.h>
21
21
#include <mir/graphics/gl_context.h>
 
22
#include <mir/version.h>
 
23
 
 
24
#if MIR_SERVER_VERSION >= MIR_VERSION_NUMBER(0, 20, 0)
 
25
#include <mir/graphics/virtual_output.h>
 
26
#endif
22
27
 
23
28
#include <gmock/gmock.h>
24
29
#include "gmock_fixes.h"
52
57
    MOCK_METHOD0(resume, void());
53
58
    MOCK_METHOD1(create_hardware_cursor, std::shared_ptr<mir::graphics::Cursor>(std::shared_ptr<mir::graphics::CursorImage> const&));
54
59
    MOCK_METHOD0(create_gl_context, std::unique_ptr<mir::graphics::GLContext>());
 
60
 
 
61
#if MIR_SERVER_VERSION >= MIR_VERSION_NUMBER(0, 20, 0)
 
62
    MOCK_METHOD2(create_virtual_output, std::unique_ptr<mir::graphics::VirtualOutput> (int width, int height));
 
63
#endif
55
64
};
56
65
 
57
66
#endif // MOCKDISPLAY_H