Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

profile_NN.cpp

Go to the documentation of this file.
00001 #include <resources.h>
00002 #include "profile_NN.h"
00003 #include "profile_NNI.h"
00004 
00005 #include "netnodeinterface.h"
00006 
00007 static const char * ProfileNeeds[] = 
00008     { "connection", 
00009       0
00010     };
00011 static const char * ProfileProvides[] = 
00012     { "fullsetup", 
00013       0
00014     };
00015 
00019 ProfileNetNode::ProfileNetNode() : ANetNode( tr("Regular connection profile")) {
00020 
00021     NSResources->addSystemFile(
00022       "interfaces", "/etc/network/interfaces", 1 );
00023 
00024 }
00025 
00029 ProfileNetNode::~ProfileNetNode(){
00030 }
00031 
00032 const QString ProfileNetNode::nodeDescription(){
00033       return tr("\
00034 <p>Define use of an IP connection.</p>\
00035 <p>Configure if and when this connection needs to be established</p>\
00036 "
00037 );
00038 }
00039 
00040 ANetNodeInstance * ProfileNetNode::createInstance( void ) {
00041       return new AProfile( this );
00042 }
00043 
00044 const char ** ProfileNetNode::needs( void ) {
00045       return ProfileNeeds;
00046 }
00047 
00048 const char ** ProfileNetNode::provides( void ) {
00049       return ProfileProvides;
00050 }
00051 
00052 void ProfileNetNode::setSpecificAttribute( QString & , QString & ) {
00053 }
00054 
00055 void ProfileNetNode::saveSpecificAttribute( QTextStream & ) {
00056 }
00057 
00058 OPIE_NS2_PLUGIN( NetNodeInterface_T<ProfileNetNode> )

Generated on Sat Nov 5 16:17:56 2005 for OPIE by  doxygen 1.4.2