summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/networksettings2/systemfile.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/systemfile.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/networksettings2/systemfile.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/systemfile.h b/noncore/settings/networksettings2/networksettings2/systemfile.h
new file mode 100644
index 0000000..8b6bcb9
--- a/dev/null
+++ b/noncore/settings/networksettings2/networksettings2/systemfile.h
@@ -0,0 +1,39 @@
1#ifndef __SYSTEMFILE__H
2#define __SYSTEMFILE__H
3
4#include <qstring.h>
5#include <qtextstream.h>
6
7class QFile;
8class ANetNodeInstance;
9
10class SystemFile : public QTextStream {
11
12public :
13
14 SystemFile( const QString & Name, const QString & Path );
15 ~SystemFile( void );
16
17 const QString & name( void )
18 { return Name; }
19
20 bool open( void );
21 bool close( void );
22
23 bool preSection( void );
24 bool postSection( void );
25 bool preNodeSection( ANetNodeInstance * NNI, long DevNr );
26 bool postNodeSection( ANetNodeInstance * NNI, long DevNr );
27
28private :
29
30 QString Name;
31 QString Path;
32 QFile * F;
33 bool hasPreSection;
34 bool hasPreNodeSection;
35 bool hasPostSection;
36 bool hasPostNodeSection;
37
38};
39#endif