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:26:46 +0300
committerMikkel Krautz <mikkel@krautz.dk>2016-12-04 15:26:46 +0300
commitcd8f6b75e0efd9982807e9d5b119dd908a1a89e9 (patch)
treec3ed9c2aef9543ddb986c306ef68e1a336252918 /src/LogEmitter.cpp
parentec0ed4efca86082abedb75bbf277cc4ccc64355d (diff)
Refactor LogEmitter from Murmur into its own file in src/.
It's a natural refactoring and it'd be nice to be able to use LogEmitter in Mumble as well.
Diffstat (limited to 'src/LogEmitter.cpp')
-rw-r--r--src/LogEmitter.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/LogEmitter.cpp b/src/LogEmitter.cpp
new file mode 100644
index 000000000..68bc47ad4
--- /dev/null
+++ b/src/LogEmitter.cpp
@@ -0,0 +1,15 @@
+// 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>.
+
+#include "murmur_pch.h"
+
+#include "LogEmitter.h"
+
+LogEmitter::LogEmitter(QObject *p) : QObject(p) {
+};
+
+void LogEmitter::addLogEntry(const QString &msg) {
+ emit newLogEntry(msg);
+};