summaryrefslogtreecommitdiff
path: root/src/gui_config.hh
blob: 97b343f9af1bf89c45c6583317e424f5cbbdf287 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// -*- mode: c++; c-basic-offset: 2; -*-

#ifndef GUI_CONFIG_HH
#define GUI_CONFIG_HH

#include "config.hh"

class GuiConfig : public Config {
public:
  bool load_name(std::string const& name) override;
  bool load_file(std::string const& filename) override;
  bool get(std::string const& key, bool fallback) override;

  bool good() const override;
  std::string const& last_error() const override;

private:
  static const std::string EMPTY;
};

#endif  // GUI_CONFIG_HH