blob: 4a4b08444738ee1b1d37c8519fa761e2852feee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2016 LG Electronics Ltd., author: <mikko.levonmaa@lge.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "mockseat.h"
MockSeat::MockSeat(wl_seat *seat)
: m_seat(seat)
, m_pointer(new MockPointer(seat))
, m_keyboard(new MockKeyboard(seat))
{
}
MockSeat::~MockSeat()
{
wl_seat_destroy(m_seat);
}
|