~mir-team/mir/in-process-egl+input-conglomeration

« back to all changes in this revision

Viewing changes to include/test/mir_test_doubles/mock_drm.h

Merged trunk and fixed issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
{
85
85
public:
86
86
    MockDRM();
87
 
    ~MockDRM();
 
87
    ~MockDRM() noexcept;
88
88
 
89
89
    MOCK_METHOD2(drmOpen, int(const char *name, const char *busid));
90
90
    MOCK_METHOD1(drmClose, int(int fd));
121
121
    MOCK_METHOD1(drmSetMaster, int(int fd));
122
122
    MOCK_METHOD1(drmDropMaster, int(int fd));
123
123
 
 
124
    MOCK_METHOD5(drmModeSetCursor, int (int fd, uint32_t crtcId, uint32_t bo_handle, uint32_t width, uint32_t height));
 
125
    MOCK_METHOD4(drmModeMoveCursor,int (int fd, uint32_t crtcId, int x, int y));
 
126
 
124
127
    FakeDRMResources fake_drm;
125
128
};
126
129