summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/modem/modemrun.h
blob: 491a6775741f26b93744524fd8a7791bdd3974c6 (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
#include <asline.h>
#include "modemdata.h"

class ModemRun  : public AsLine {

public :

      ModemRun( ANetNodeInstance * NNI, 
                ModemData & Data ) : AsLine ( NNI )
        { }

      virtual AsLine * asLine( void ) 
        { return (AsLine *)this; }

      virtual QString deviceFile( void )
        { return QString("/dev/modem"); }

protected :

      void detectState( NodeCollection * )
        { }

      bool setState( NodeCollection *, Action_t, bool )
        { return 0; }

      bool canSetState( State_t, Action_t )
        { return 0; }
};