mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
15 lines
273 B
C++
15 lines
273 B
C++
#include "globalbroadcaster.h"
|
|
#include <QGlobalStatic>
|
|
|
|
|
|
Q_GLOBAL_STATIC(GlobalBroadcaster, bdcaster)
|
|
GlobalBroadcaster::GlobalBroadcaster(QObject *parent) : QObject(parent)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
GlobalBroadcaster* GlobalBroadcaster::instance() { return bdcaster; }
|
|
|
|
// namespace global
|