summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings2/networksettings2/systemfile.h
Unidiff
Diffstat (limited to 'noncore/settings/networksettings2/networksettings2/systemfile.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings2/networksettings2/systemfile.h11
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
@@ -14,15 +14,25 @@ public :
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
@@ -45,6 +55,7 @@ private :
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