summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/wlan/wlan_NNI.h
blob: e3251c7be2a6cb3c06fb3610065a4b532e0fb0be (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
#ifndef WLAN_H
#define WLAN_H

#include <netnode.h>
#include "wlandata.h"
#include "wlanrun.h"

class WLanNetNode;
class WLanEdit;

class AWLan : public ANetNodeInstance {

public :

      AWLan( WLanNetNode * PNN );

      RuntimeInfo * runtime( void ) 
        { return
            ( RT ) ? RT : ( RT = new WLanRun( this, Data ) );
        }

      QWidget * edit( QWidget * parent );
      QString acceptable( void );
      void commit( void );

      virtual void  * data( void ) 
        { return (void *)&Data; }

      virtual short generateFileEmbedded( SystemFile & Sf,
                                         long DevNr ); 

protected :

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

private :

      WLanEdit * GUI;
      WLanData Data;
      WLanRun * RT;

};

#endif