From 5334b639c9f97793bcae4f50f7b47c7a2ada4e2f Mon Sep 17 00:00:00 2001 From: wimpie Date: Fri, 02 Apr 2004 18:29:49 +0000 Subject: First import of NS2 app --- (limited to 'noncore/settings/networksettings2/profile/profile_NN.h') diff --git a/noncore/settings/networksettings2/profile/profile_NN.h b/noncore/settings/networksettings2/profile/profile_NN.h new file mode 100644 index 0000000..2b469c7 --- a/dev/null +++ b/noncore/settings/networksettings2/profile/profile_NN.h @@ -0,0 +1,44 @@ +#ifndef PROFILE_NETNODE_H +#define PROFILE_NETNODE_H + +#include "netnode.h" + +class AProfile; + +class ProfileNetNode : public ANetNode{ + + Q_OBJECT + +public: + + ProfileNetNode(); + virtual ~ProfileNetNode(); + + virtual const QString pixmapName() + { return "commprofile"; } + + virtual const QString nodeName() + { return tr("Regular profile"); } + + 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