connectivity-cpp  0.0.1
service/vpn/service.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2013 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser 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 Lesser General Public License for more details.
12  *
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/>.
15  *
16  * Authors:
17  * Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
18  */
19 
20 #ifndef COM_UBUNTU_CONNECTIVITY_NETWORKING_SERVICE_VPN_SERVICE
21 #define COM_UBUNTU_CONNECTIVITY_NETWORKING_SERVICE_VPN_SERVICE
22 
24 
25 namespace com {
26 namespace ubuntu {
27 namespace connectivity {
28 namespace networking {
29 namespace service {
30 namespace vpn {
31 
33 class
34 Service : public com::ubuntu::connectivity::networking::Service
35 {
36 public:
37  typedef std::shared_ptr<Service> Ptr;
38  virtual ~Service() = default;
39 
40  virtual const core::Property<std::shared_ptr<Link>> &establishedOver() = 0;
41 
42 protected:
43  Service() = default;
44 };
45 
46 }
47 }
48 }
49 }
50 }
51 }
52 
53 #endif