summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/networksettings2/resources.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/resources.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings2/networksettings2/resources.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/resources.h b/noncore/settings/networksettings2/networksettings2/resources.h
index 23b120e..634cd39 100644
--- a/noncore/settings/networksettings2/networksettings2/resources.h
+++ b/noncore/settings/networksettings2/networksettings2/resources.h
@@ -64,12 +64,17 @@ public :
64 { return AllNodeTypes.find(X)!=0; } 64 { return AllNodeTypes.find(X)!=0; }
65 ANetNode * findNetNode( const QString & N ) 65 ANetNode * findNetNode( const QString & N )
66 { NetNode_t * NNT = AllNodeTypes.find(N); 66 { NetNode_t * NNT = AllNodeTypes.find(N);
67 return (NNT) ? NNT->NetNode : 0; 67 return (NNT) ? NNT->NetNode : 0;
68 } 68 }
69 69
70 // define new plugin (=node)
71 void addNodeType( const QString & ID,
72 const QString & LongName,
73 const QString & Description );
74
70 Name2SystemFile_t & systemFiles( void ) 75 Name2SystemFile_t & systemFiles( void )
71 { return SystemFiles; } 76 { return SystemFiles; }
72 void addSystemFile( const QString & ID, 77 void addSystemFile( const QString & ID,
73 const QString & P, 78 const QString & P,
74 bool KDI ); 79 bool KDI );
75 80
@@ -96,12 +101,13 @@ public :
96 const QString & netNode2Name( const char * Type ); 101 const QString & netNode2Name( const char * Type );
97 const QString & netNode2Description( const char * Type ); 102 const QString & netNode2Description( const char * Type );
98 103
99 void addConnection( NodeCollection * NC ); 104 void addConnection( NodeCollection * NC );
100 void removeConnection( const QString & N ); 105 void removeConnection( const QString & N );
101 NodeCollection * findConnection( const QString & N ); 106 NodeCollection * findConnection( const QString & N );
107 NodeCollection * getConnection( int nr );
102 Name2Connection_t & connections( void ) 108 Name2Connection_t & connections( void )
103 { return ConnectionsMap; } 109 { return ConnectionsMap; }
104 110
105 inline bool userKnown( void ) 111 inline bool userKnown( void )
106 { return CurrentUser.known(); } 112 { return CurrentUser.known(); }
107 CurrentQPEUser & currentUser( void ) 113 CurrentQPEUser & currentUser( void )