summaryrefslogtreecommitdiff
path: root/src/configfile.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-04-09 14:45:53 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-04-09 14:45:53 +0200
commit2b35cdf78038a4ecc4573fcbef5fbad0c8403cb1 (patch)
tree61c6a99bf6b037882a3738ee64dad1f65abd7757 /src/configfile.h
parentad8c3a178ddbf561e08d800372979eaf54986a9c (diff)
Review comments.
Diffstat (limited to 'src/configfile.h')
-rw-r--r--src/configfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configfile.h b/src/configfile.h
index 1513897..0934f46 100644
--- a/src/configfile.h
+++ b/src/configfile.h
@@ -33,6 +33,7 @@
class ConfigFile
{
public:
+ // TODO: west-const
ConfigFile(std::string const& filename);
virtual ~ConfigFile();
@@ -47,6 +48,7 @@ protected:
std::string filename;
std::fstream current_file;
+ // TODO: Does this have to be virtual?
virtual bool open(std::ios_base::openmode mode);
std::string readLine();
bool parseLine(const std::string& line);