2 * Copyright (C) 2015 Samsung Electronics Co., Ltd All Rights Reserved
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License version 2.1 as published by the Free Software Foundation.
8 * This library 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 GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 * @author Lukasz Pawelczyk (l.pawelczyk@samsumg.com)
21 * @brief Terminal configuration
24 #ifndef LXCPP_TERMINAL_CONFIG_HPP
25 #define LXCPP_TERMINAL_CONFIG_HPP
27 #include "config/config.hpp"
28 #include "config/fields.hpp"
37 struct TerminalConfig {
38 config::FileDescriptor masterFD;
45 TerminalConfig(const int masterFD, const std::string &ptsName)
57 struct TerminalsConfig {
59 std::vector<TerminalConfig> PTYs;
61 TerminalsConfig(const int count = 1)
76 #endif // LXCPP_TERMINAL_CONFIG_HPP