diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2016-12-04 15:26:46 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-12-04 15:26:46 +0300 |
commit | cd8f6b75e0efd9982807e9d5b119dd908a1a89e9 (patch) | |
tree | c3ed9c2aef9543ddb986c306ef68e1a336252918 /src/LogEmitter.cpp | |
parent | ec0ed4efca86082abedb75bbf277cc4ccc64355d (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.cpp | 15 |
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); +}; |