Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2016-12-04 15:28:02 +0300
committerGitHub <noreply@github.com>2016-12-04 15:28:02 +0300
commit681ecf60c025fc8aa20cda028d43daf2b720f7ce (patch)
treec3ed9c2aef9543ddb986c306ef68e1a336252918 /src/LogEmitter.h
parentec0ed4efca86082abedb75bbf277cc4ccc64355d (diff)
parentcd8f6b75e0efd9982807e9d5b119dd908a1a89e9 (diff)
Merge PR #2697: Refactor LogEmitter from Murmur into its own file in src/.
Diffstat (limited to 'src/LogEmitter.h')
-rw-r--r--src/LogEmitter.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/LogEmitter.h b/src/LogEmitter.h
new file mode 100644
index 000000000..a6335bbb7
--- /dev/null
+++ b/src/LogEmitter.h
@@ -0,0 +1,20 @@
+// Copyright 2005-2016 The Mumble Developers. All rights reserved.
+// Use of this source code is governed by a BSD-style license
+// that can be found in the LICENSE file at the root of the
+// Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+#ifndef MUMBLE_LOGEMITTER_H_
+#define MUMBLE_LOGEMITTER_H_
+
+class LogEmitter : public QObject {
+ private:
+ Q_OBJECT
+ Q_DISABLE_COPY(LogEmitter)
+ signals:
+ void newLogEntry(const QString &msg);
+ public:
+ LogEmitter(QObject *parent = NULL);
+ void addLogEntry(const QString &msg);
+};
+
+#endif