summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/profile/profile_NN.h
blob: b64a6dd4156fd8e53b2dde8fee595657caa54bde (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
37
38
39
40
41
42
43
44
45
46
#ifndef PROFILE_NETNODE_H
#define PROFILE_NETNODE_H

#include "netnode.h"

class AProfile;

class ProfileNetNode : public ANetNode{

    Q_OBJECT

public:

    ProfileNetNode();
    virtual ~ProfileNetNode();

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

    virtual const QString nodeName() 
      { return tr("Regular profile"); }

    virtual const QString nodeDescription() ;

    virtual ANetNodeInstance * createInstance( void );

    virtual const char ** needs( void );
    virtual const char * provides( void );

    virtual bool generateProperFilesFor( ANetNodeInstance * NNI );
    virtual bool hasDataFor( const QString & S, bool DS );
    virtual bool generateDataForCommonFile( 
        SystemFile & SF, long DevNr, ANetNodeInstance * NNI );
    virtual bool generateDeviceDataForCommonFile( 
        SystemFile & SF, long DevNr, ANetNodeInstance * NNI );

private:

};

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

#endif