summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/bluetooth/bluetoothBNEP_NN.h
blob: 5057e6d9c371f667fc259e96907b3ed49efdbb4f (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
#ifndef BLUETOOTHBNEP_NETNODE_H
#define BLUETOOTHBNEP_NETNODE_H

#include "netnode.h"
#include "bluetoothRFCOMM_NN.h"

class ABluetoothBNEP;

class BluetoothBNEPNetNode : public ANetNode {

      Q_OBJECT

public:

      BluetoothBNEPNetNode();
      virtual ~BluetoothBNEPNetNode();

      virtual QString genNic( long );
      virtual long instanceCount( void )
        { return InstanceCount; }
      virtual const QString pixmapName() 
        { return "Devices/bluetooth"; }

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

private:

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

      // number of interfaces for this device
      long InstanceCount;

};

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

#endif