Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/systemfile.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/networksettings2/systemfile.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/systemfile.h b/noncore/settings/networksettings2/networksettings2/systemfile.h index ceed605..a950c4d 100644 --- a/noncore/settings/networksettings2/networksettings2/systemfile.h +++ b/noncore/settings/networksettings2/networksettings2/systemfile.h | |||
@@ -11,21 +11,31 @@ class SystemFile : public QTextStream { | |||
11 | 11 | ||
12 | public : | 12 | public : |
13 | 13 | ||
14 | SystemFile( const QString & Name, | 14 | SystemFile( const QString & Name, |
15 | const QString & Path, | 15 | const QString & Path, |
16 | bool KnowsDevicesInstances ); | 16 | bool KnowsDevicesInstances ); |
17 | SystemFile( const QString & Name, | ||
18 | bool KnowsDevicesInstances = 0 ); | ||
17 | ~SystemFile( void ); | 19 | ~SystemFile( void ); |
18 | 20 | ||
21 | void setName( const QString & S ) | ||
22 | { Name = S; } | ||
19 | const QString & name( void ) const | 23 | const QString & name( void ) const |
20 | { return Name; } | 24 | { return Name; } |
25 | |||
26 | void setPath( const QString & S ) | ||
27 | { Path = S; } | ||
21 | const QString & path( void ) const | 28 | const QString & path( void ) const |
22 | { return Path; } | 29 | { return Path; } |
30 | |||
23 | bool knowsDeviceInstances( void ) const | 31 | bool knowsDeviceInstances( void ) const |
24 | { return KnowsDeviceInstances; } | 32 | { return KnowsDeviceInstances; } |
25 | 33 | ||
34 | void setAppendMode( bool A) | ||
35 | { InAppend = A; }; | ||
26 | bool open( void ); | 36 | bool open( void ); |
27 | bool close( void ); | 37 | bool close( void ); |
28 | 38 | ||
29 | bool preSection( void ); | 39 | bool preSection( void ); |
30 | bool postSection( void ); | 40 | bool postSection( void ); |
31 | bool preNodeSection( ANetNodeInstance * NNI, long DevNr ); | 41 | bool preNodeSection( ANetNodeInstance * NNI, long DevNr ); |
@@ -42,9 +52,10 @@ private : | |||
42 | bool hasPostSection; | 52 | bool hasPostSection; |
43 | bool hasPreNodeSection; | 53 | bool hasPreNodeSection; |
44 | bool hasPostNodeSection; | 54 | bool hasPostNodeSection; |
45 | bool hasPreDeviceSection; | 55 | bool hasPreDeviceSection; |
46 | bool hasPostDeviceSection; | 56 | bool hasPostDeviceSection; |
47 | bool KnowsDeviceInstances; | 57 | bool KnowsDeviceInstances; |
58 | bool InAppend; | ||
48 | 59 | ||
49 | }; | 60 | }; |
50 | #endif | 61 | #endif |