2 * @file connman_technology.hpp
4 * @brief Connman Technology-based settings plugin header.
6 * @author Ossama Othman @<ossama.othman@@intel.com@>
9 * Copyright 2013 Intel Corporation All Rights Reserved.
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation;
14 * version 2.1 of the License.
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
24 * Boston, MA 02110-1301 USA
27 #ifndef IVI_SETTINGS_CONNMAN_CONNMAN_TECHNOLOGY_HPP
28 #define IVI_SETTINGS_CONNMAN_CONNMAN_TECHNOLOGY_HPP
30 #include "connman.hpp"
32 #include <settingsd/plugin.hpp>
43 class connman_manager;
46 * @class connman_technology
48 * @brief D-Bus Connman Technology object bridge.
50 * This class exposes the Connman Technology D-Bus API through the
51 * settings daemon WebSocket API.
53 class connman_technology : public plugin
58 connman_technology(GDBusConnection * connection,
59 connman_manager & manager);
62 ~connman_technology();
65 * @name Settings Plugin API
67 * Interface defined by the @c ivi::settings::plugin abstract
70 * @see settingsd/plugin.hpp
73 virtual std::string const & id() const;
74 virtual void handle_request(std::string request,
75 response_callback response);
80 /// The proxy used to access the connman Technology D-Bus API.
83 /// The proxy used to access the connman Manager D-Bus API.
84 connman_manager & manager_;
92 #endif /* IVI_SETTINGS_CONNMAN_CONNMAN_TECHNOLOGY_HPP */
98 // indent-tabs-mode: nil