2
* Copyright (C) 2015 Canonical, Ltd.
4
* This program is free software: you can redistribute it and/or modify it under
5
* the terms of the GNU Lesser General Public License version 3, as published by
6
* the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
10
* SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
* Lesser General Public License for more details.
13
* You should have received a copy of the GNU Lesser General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
#include "mock_mir_session.h"
24
MockSession::MockSession()
29
MockSession::MockSession(const std::string &sessionName, pid_t processId)
30
: m_sessionName(sessionName), m_sessionId(processId)
34
MockSession::~MockSession()
38
std::string MockSession::name() const
43
pid_t MockSession::process_id() const
48
void MockSession::resume_prompt_session() {}
50
void MockSession::suspend_prompt_session() {}
52
void MockSession::stop_prompt_session() {}
54
void MockSession::start_prompt_session() {}
56
std::shared_ptr<scene::Surface> MockSession::surface_after(const std::shared_ptr<scene::Surface> &) const
61
void MockSession::configure_streams(scene::Surface &, const std::vector<mir::shell::StreamSpecification> &) {}