This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit 9454ff5bbe205269b8a9fcf1f1096d93dd666127
Author: Mihai Moldovan <io...@ionic.de>
Date:   Sat May 7 02:58:01 2016 +0200

    src/pulsemanager.{cpp,h}: add debugging setter and private variable.
---
 debian/changelog     |    1 +
 src/pulsemanager.cpp |    7 ++++++-
 src/pulsemanager.h   |    2 ++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 8a78669..031940d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -268,6 +268,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - src/pulsemanager.cpp: fix compile error due to typo.
     - src/pulsemanager.cpp: hide Windows-only code behind #ifdefs. Otherwise
       we'll get compile failures on non-Windows platforms.
+    - src/pulsemanager.{cpp,h}: add debugging setter and private variable.
 
  -- X2Go Release Manager <git-ad...@x2go.org>  Mon, 19 Sep 2016 09:07:07 +0200
 
diff --git a/src/pulsemanager.cpp b/src/pulsemanager.cpp
index 21049ca..6fe8418 100644
--- a/src/pulsemanager.cpp
+++ b/src/pulsemanager.cpp
@@ -43,7 +43,8 @@ PulseManager::PulseManager () : app_dir_ 
(QApplication::applicationDirPath ()),
                                 pulse_version_micro_ (0),
                                 pulse_version_misc_ (""),
                                 record_ (true),
-                                playback_ (true) {
+                                playback_ (true),
+                                debug_ (false) {
   pulse_dir_ = QDir (QDir::homePath ());
   pulse_dir_.mkpath (pulse_dir_.absolutePath () + pulse_X2Go_ + "/tmp");
   pulse_dir_.cd (pulse_X2Go_.mid (1));
@@ -698,6 +699,10 @@ bool PulseManager::set_playback (bool playback) {
   return (ret);
 }
 
+void PulseManager::set_debug (bool debug) {
+  debug_ = debug;
+}
+
 void PulseManager::restart () {
   if (pulse_server_ && is_server_running ())
     shutdown ();
diff --git a/src/pulsemanager.h b/src/pulsemanager.h
index 4c82f19..1d06de0 100644
--- a/src/pulsemanager.h
+++ b/src/pulsemanager.h
@@ -58,6 +58,7 @@ class PulseManager: public QObject {
     bool set_esd_port (std::uint16_t esd_port);
     bool set_record (bool record);
     bool set_playback (bool playback);
+    bool set_debug (bool debug);
 
 
   public slots:
@@ -120,6 +121,7 @@ class PulseManager: public QObject {
 
     bool record_;
     bool playback_;
+    bool debug_;
 };
 
 #ifdef NDEBUG_DEFINE

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email 
on /srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-commits

Reply via email to