From 4ea2f227d3fb0d9591bb4f18555420ac47f3397d Mon Sep 17 00:00:00 2001 From: wimpie Date: Fri, 02 Apr 2004 18:30:55 +0000 Subject: first import of NS2 app --- (limited to 'noncore/settings/networksettings2/cable/cable_NN.h') diff --git a/noncore/settings/networksettings2/cable/cable_NN.h b/noncore/settings/networksettings2/cable/cable_NN.h new file mode 100644 index 0000000..401317b --- a/dev/null +++ b/noncore/settings/networksettings2/cable/cable_NN.h @@ -0,0 +1,44 @@ +#ifndef CABLE_NETNODE_H +#define CABLE_NETNODE_H + +#include "netnode.h" + +class ACable; + +class CableNetNode : public ANetNode { + + Q_OBJECT + +public: + + CableNetNode(); + virtual ~CableNetNode(); + + virtual const QString pixmapName() + { return "cable"; } + + virtual const QString nodeName() + { return tr("Cable Connection"); } + + 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 ); + virtual bool generateDataForCommonFile( + SystemFile & SF, long DevNr, ANetNodeInstance * NNI ); + +private: + +}; + +extern "C" +{ + void create_plugin( QList & PNN ); +}; + +#endif -- cgit v0.9.0.2