summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpn_NN.cpp
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/vpn/vpn_NN.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/vpn/vpn_NN.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/noncore/settings/networksettings2/vpn/vpn_NN.cpp b/noncore/settings/networksettings2/vpn/vpn_NN.cpp
index 6c7b308..9d3b6e7 100644
--- a/noncore/settings/networksettings2/vpn/vpn_NN.cpp
+++ b/noncore/settings/networksettings2/vpn/vpn_NN.cpp
@@ -1,18 +1,17 @@
1#include "vpn_NN.h" 1#include "vpn_NN.h"
2#include "vpn_NNI.h" 2#include "vpn_NNI.h"
3 3
4static const char * VPNNeeds[] = 4static const char * VPNNeeds[] =
5 { "connection", 5 { 0
6 0
7 }; 6 };
8 7
9/** 8/**
10 * Constructor, find all of the possible interfaces 9 * Constructor, find all of the possible interfaces
11 */ 10 */
12VPNNetNode::VPNNetNode() : ANetNode(tr("VPN Connection")) { 11VPNNetNode::VPNNetNode() : ANetNode(tr("VPN Connection")) {
13} 12}
14 13
15/** 14/**
16 * Delete any interfaces that we own. 15 * Delete any interfaces that we own.
17 */ 16 */
18VPNNetNode::~VPNNetNode(){ 17VPNNetNode::~VPNNetNode(){
@@ -29,34 +28,23 @@ const QString VPNNetNode::nodeDescription(){
29ANetNodeInstance * VPNNetNode::createInstance( void ) { 28ANetNodeInstance * VPNNetNode::createInstance( void ) {
30 return new AVPN( this ); 29 return new AVPN( this );
31} 30}
32 31
33const char ** VPNNetNode::needs( void ) { 32const char ** VPNNetNode::needs( void ) {
34 return VPNNeeds; 33 return VPNNeeds;
35} 34}
36 35
37const char * VPNNetNode::provides( void ) { 36const char * VPNNetNode::provides( void ) {
38 return "connection"; 37 return "connection";
39} 38}
40 39
41bool VPNNetNode::generateProperFilesFor(
42 ANetNodeInstance * ) {
43 return 0;
44}
45
46bool VPNNetNode::generateDeviceDataForCommonFile(
47 SystemFile & ,
48 long ) {
49 return 0;
50}
51
52void VPNNetNode::setSpecificAttribute( QString & , QString & ) { 40void VPNNetNode::setSpecificAttribute( QString & , QString & ) {
53} 41}
54 42
55void VPNNetNode::saveSpecificAttribute( QTextStream & ) { 43void VPNNetNode::saveSpecificAttribute( QTextStream & ) {
56} 44}
57 45
58extern "C" { 46extern "C" {
59void create_plugin( QList<ANetNode> & PNN ) { 47void create_plugin( QList<ANetNode> & PNN ) {
60 PNN.append( new VPNNetNode() ); 48 PNN.append( new VPNNetNode() );
61} 49}
62} 50}