/** * @file ethernet.hpp * * @brief Ethernet settings plugin. * * Connman-based ethernet settings plugin. * * @author Ossama Othman @ * * @copyright @par * Copyright 2012, 2013 Intel Corporation All Rights Reserved. * @par * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * @par * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * @par * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA * * @note This header is internal. Settings provider plugin implementors * should write their own library/symbol export macros as * needed. */ #ifndef IVI_SETTINGS_CONNMAN_ETHERNET_HPP #define IVI_SETTINGS_CONNMAN_ETHERNET_HPP #include #include "technology.hpp" namespace ivi { namespace settings { /** * @class ethernet * * @brief Connman-based ethernet settings. * * This class implements all connman-based ethernet settings. */ class ethernet : public plugin { public: /// Constructor. ethernet(event_callback const & e); /// Destructor. virtual ~ethernet(); /** * @name Settings Plugin API * * Interface defined by the @c ivi::settings::plugin abstract * base class. * * @see settingsd/plugin.hpp */ //@{ virtual std::string const & id() const; virtual void handle_request(std::string request, response_callback response); //@} private: /// Underlying connman proxy. technology technology_; }; } } #endif /* IVI_SETTINGS_CONNMAN_ETHERNET_HPP */ // Local Variables: // mode:c++ // c-basic-offset:2 // indent-tabs-mode: nil // End: