summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/vpn/vpn_NN.h
blob: c2e43d4336804efb03d601492b8cb16d14a34eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef VPN_NETNODE_H
#define VPN_NETNODE_H

#include "netnode.h"

class AVPN;

class VPNNetNode : public ANetNode{

    Q_OBJECT

public:

    VPNNetNode();
    virtual ~VPNNetNode();

    virtual const QString pixmapName() 
      { return "Devices/vpn"; }

    virtual const QString nodeDescription() ;
    virtual ANetNodeInstance * createInstance( void );
    virtual const char ** needs( void );
    virtual const char ** provides( void );

private:

      virtual void setSpecificAttribute( QString & Attr, QString & Value );
      virtual void saveSpecificAttribute( QTextStream & TS );
};

extern "C"
{
  void create_plugin( QList<ANetNode> & PNN );
};

#endif