summaryrefslogtreecommitdiffstats
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorLuboš Doležel <lubos@dolezel.info>2016-10-07 10:00:58 +0200
committerGitHub <noreply@github.com>2016-10-07 10:00:58 +0200
commit78118a7bcf5fdbf3ceea368d44c321631baa8d24 (patch)
treefc84640122cd8a86f5709273c2a631b84e7d51a4 /src/gui/gui.h
parent38ff020afe607a08b147bd281a30b3b16527d802 (diff)
parentb7a591acf16e18cf5258a70f3e0115d3318f8434 (diff)
downloadtwinkle-78118a7bcf5fdbf3ceea368d44c321631baa8d24.tar
twinkle-78118a7bcf5fdbf3ceea368d44c321631baa8d24.tar.gz
twinkle-78118a7bcf5fdbf3ceea368d44c321631baa8d24.tar.lz
twinkle-78118a7bcf5fdbf3ceea368d44c321631baa8d24.tar.xz
twinkle-78118a7bcf5fdbf3ceea368d44c321631baa8d24.zip
Merge pull request #84 from fbriere/issue/82-gui-thread-call-show-hide
Have --call/show/hide invoke methods in the GUI thread
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 306404f..3538afb 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -171,6 +171,10 @@ private slots:
void gui_do_dtmf(const QString &digits);
void gui_do_user(const QString &profile_name);
QString gui_get_current_profile();
+
+ void gui_cmd_call(const string &destination, bool immediate);
+ void gui_cmd_show(void);
+ void gui_cmd_hide(void);
public:
t_gui(t_phone *_phone);
virtual ~t_gui();