From a3da855cddff3c3c71311af6ce3e7629a459024d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 22 Jul 2017 23:18:26 +0200 Subject: Add application config for GUI QT5 stored in .config/org.the_jk/tp.Monitor.conf on Linux GTK stored in dconf --- src/gui_main.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui_main.hh') diff --git a/src/gui_main.hh b/src/gui_main.hh index af35106..83c0f8d 100644 --- a/src/gui_main.hh +++ b/src/gui_main.hh @@ -10,6 +10,7 @@ #include "gui_attrtext.hh" #include "gui_window.hh" +class Config; class GuiListModel; class GuiMenu; class GuiStatusBar; @@ -59,6 +60,8 @@ public: virtual void add_to_clipboard(std::string const& data, std::string const& mimetype = "") = 0; + virtual Config* config() = 0; + protected: GuiMain() {} }; -- cgit v1.2.3-70-g09d2