Commit 3b4e09d4 authored by Ming Rui Zhang's avatar Ming Rui Zhang

lrcinstance: add mute dring option in constructor

Change-Id: I3779731c330cc23a7aa7ddc27c76068ab648193c
parent a91bb6da
......@@ -31,8 +31,9 @@
LRCInstance::LRCInstance(migrateCallback willMigrateCb,
migrateCallback didMigrateCb,
const QString& updateUrl,
ConnectivityMonitor* connectivityMonitor)
: lrc_(std::make_unique<Lrc>(willMigrateCb, didMigrateCb))
ConnectivityMonitor* connectivityMonitor,
bool muteDring)
: lrc_(std::make_unique<Lrc>(willMigrateCb, didMigrateCb, muteDring))
, renderer_(std::make_unique<RenderManager>(lrc_->getAVModel()))
, updateManager_(std::make_unique<UpdateManager>(updateUrl, connectivityMonitor, this))
{
......
......@@ -60,7 +60,8 @@ public:
explicit LRCInstance(migrateCallback willMigrateCb = {},
migrateCallback didMigrateCb = {},
const QString& updateUrl = {},
ConnectivityMonitor* connectivityMonitor = {});
ConnectivityMonitor* connectivityMonitor = {},
bool muteDring = false);
~LRCInstance() = default;
void finish();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment