summaryrefslogtreecommitdiffstats
path: root/src/sys_settings.h
diff options
context:
space:
mode:
authorLuboš Doležel <lubos@dolezel.info>2020-02-23 09:50:24 +0100
committerGitHub <noreply@github.com>2020-02-23 09:50:24 +0100
commit188bd0606473fee9d7a09e17b9980f7a16d4dc31 (patch)
treee3147fbe8243a91893e2e31cf1b7246869604430 /src/sys_settings.h
parente9e1b86afd75cb55c90bc6ce58fc9c2d0c025a3f (diff)
parent3d9fb0ac7490620a49a400b77ab8f851cdd4fcf5 (diff)
downloadtwinkle-188bd0606473fee9d7a09e17b9980f7a16d4dc31.tar
twinkle-188bd0606473fee9d7a09e17b9980f7a16d4dc31.tar.gz
twinkle-188bd0606473fee9d7a09e17b9980f7a16d4dc31.tar.lz
twinkle-188bd0606473fee9d7a09e17b9980f7a16d4dc31.tar.xz
twinkle-188bd0606473fee9d7a09e17b9980f7a16d4dc31.zip
Merge pull request #154 from fbriere/feature/inhibit-idle-session
Add an option to prevent an idle session while a call is in progress
Diffstat (limited to 'src/sys_settings.h')
-rw-r--r--src/sys_settings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sys_settings.h b/src/sys_settings.h
index 906af5e..c118181 100644
--- a/src/sys_settings.h
+++ b/src/sys_settings.h
@@ -159,6 +159,9 @@ private:
string gui_browser_cmd;
//@}
+ // Inhibit idle session
+ bool inhibit_idle_session;
+
// Address book settings
bool ab_show_sip_only;
bool ab_lookup_name;
@@ -299,6 +302,7 @@ public:
int get_gui_auto_show_timeout(void) const;
string get_gui_browser_cmd(void) const;
bool get_gui_show_call_osd() const;
+ bool get_inhibit_idle_session() const;
bool get_ab_show_sip_only(void) const;
bool get_ab_lookup_name(void) const;
bool get_ab_override_display(void) const;
@@ -356,6 +360,7 @@ public:
void set_gui_auto_show_timeout(int timeout);
void set_gui_browser_cmd(const string &s);
void set_gui_show_call_osd(bool b);
+ void set_inhibit_idle_session(bool b);
void set_ab_show_sip_only(bool b);
void set_ab_lookup_name(bool b);
void set_ab_override_display(bool b);