Files
pilotclient/src/blackcore/context/contextaudioimpl.cpp
Klaus Basan ff33b59683 Ref T739, make member of CAfvClient a "pointer"
* we can use forward declaration for m_voiceClient
* make IContextAudio -> BlackMisc::CIdentifiable
* removed delayedInitMicrophone, RR will move it to another place
2019-10-11 19:00:48 +01:00

36 lines
1.0 KiB
C++

/* Copyright (C) 2013
* swift Project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution. No part of swift project, including this file, may be copied, modified, propagated,
* or distributed except according to the terms contained in the LICENSE file.
*/
#include "blackcore/context/contextaudioimpl.h"
#include "blackmisc/dbusserver.h"
#include <QTimer>
#include <QtGlobal>
#include <QPointer>
using namespace BlackMisc;
namespace BlackCore
{
namespace Context
{
CContextAudio::CContextAudio(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime) :
IContextAudio(mode, runtime)
{ }
CContextAudio *CContextAudio::registerWithDBus(CDBusServer *server)
{
if (!server || m_mode != CCoreFacadeConfig::LocalInDBusServer) { return this; }
server->addObject(IContextAudio::ObjectPath(), this);
return this;
}
} // namespace
} // namespace