summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/network/networkrun.h
blob: 522a912ce844b16ef46408ec4a0e953d00e8808e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <asconnection.h>
#include "networkdata.h"

class NetworkRun  : public AsConnection {

public :

      NetworkRun( ANetNodeInstance * NNI, 
                  NetworkData & Data ) : AsConnection( NNI )
        { }

      virtual AsConnection * asConnection( void ) 
        { return (AsConnection *)this; }

protected :

      void detectState( NodeCollection * );
      bool setState( NodeCollection * ,Action_t A, bool );
      bool canSetState( State_t , Action_t A );

      bool handlesInterface( const QString & I );

};