Mir
no_prompt_shell.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored By: Alan Griffiths <alan@octopull.co.uk>
17  */
18 
19 #ifndef MIR_FRONTEND_NO_PROMPT_SHELL_H_
20 #define MIR_FRONTEND_NO_PROMPT_SHELL_H_
21 
22 #include "shell_wrapper.h"
23 
24 namespace mir
25 {
26 namespace frontend
27 {
29 {
30 public:
31 
33 
34  std::shared_ptr<PromptSession> start_prompt_session_for(
35  std::shared_ptr<Session> const& session,
36  scene::PromptSessionCreationParameters const& params) override;
37 
39  std::shared_ptr<PromptSession> const& prompt_session,
40  std::shared_ptr<Session> const& session) override;
41 
43  std::shared_ptr<PromptSession> const& prompt_session) override;
44 };
45 }
46 }
47 
48 #endif /* MIR_FRONTEND_NO_PROMPT_SHELL_H_ */
All things Mir.
Definition: atomic_callback.h:25
std::shared_ptr< PromptSession > start_prompt_session_for(std::shared_ptr< Session > const &session, scene::PromptSessionCreationParameters const &params) override
Definition: no_prompt_shell.cpp:31
ShellWrapper(std::shared_ptr< Shell > const &wrapped)
Definition: shell_wrapper.h:31
Definition: shell_wrapper.h:28
void stop_prompt_session(std::shared_ptr< PromptSession > const &prompt_session) override
Definition: no_prompt_shell.cpp:45
Definition: no_prompt_shell.h:28
void add_prompt_provider_for(std::shared_ptr< PromptSession > const &prompt_session, std::shared_ptr< Session > const &session) override
Definition: no_prompt_shell.cpp:38
Definition: prompt_session_creation_parameters.h:29

Copyright © 2012-2015 Canonical Ltd.
Generated on Wed Mar 30 00:29:56 UTC 2016