1 // Copyright 2005-2019 The Mumble Developers. All rights reserved.
2 // Use of this source code is governed by a BSD-style license
3 // that can be found in the LICENSE file at the root of the
4 // Mumble source tree or at <https://www.mumble.info/LICENSE>.
5 
6 #ifndef MUMBLE_LOGEMITTER_H_
7 #define MUMBLE_LOGEMITTER_H_
8 
9 #include <QtCore/QObject>
10 #include <QtCore/QString>
11 
12 class LogEmitter : public QObject {
13 	private:
14 		Q_OBJECT
15 		Q_DISABLE_COPY(LogEmitter)
16 	signals:
17 		void newLogEntry(const QString &msg);
18 	public:
19 		LogEmitter(QObject *parent = NULL);
20 		void addLogEntry(const QString &msg);
21 };
22 
23 #endif
24