mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-30 17:24:08 +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
|