mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
* we can use forward declaration for m_voiceClient * make IContextAudio -> BlackMisc::CIdentifiable * removed delayedInitMicrophone, RR will move it to another place
62 lines
1.7 KiB
C++
62 lines
1.7 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.
|
|
*/
|
|
|
|
//! \file
|
|
|
|
#ifndef BLACKCORE_CONTEXT_CONTEXTAUDIO_IMPL_H
|
|
#define BLACKCORE_CONTEXT_CONTEXTAUDIO_IMPL_H
|
|
|
|
#include "blackcore/context/contextaudio.h"
|
|
#include "blackcore/corefacadeconfig.h"
|
|
#include "blackcore/blackcoreexport.h"
|
|
#include "blackmisc/network/userlist.h"
|
|
|
|
#include <QHash>
|
|
#include <QList>
|
|
#include <QObject>
|
|
#include <QSharedPointer>
|
|
#include <QString>
|
|
#include <memory>
|
|
|
|
// clazy:excludeall=const-signal-or-slot
|
|
|
|
namespace BlackCore
|
|
{
|
|
class CCoreFacade;
|
|
|
|
namespace Context
|
|
{
|
|
//! Audio context implementation
|
|
class BLACKCORE_EXPORT CContextAudio :
|
|
public IContextAudio
|
|
{
|
|
Q_CLASSINFO("D-Bus Interface", BLACKCORE_CONTEXTAUDIO_INTERFACENAME)
|
|
Q_OBJECT
|
|
|
|
friend class BlackCore::CCoreFacade;
|
|
friend class IContextAudio;
|
|
|
|
public slots:
|
|
// Interface implementations
|
|
//! \publicsection
|
|
//! @{
|
|
// ---- FUNCTIONS GO HERE ----
|
|
//! @}
|
|
|
|
protected:
|
|
//! Constructor
|
|
CContextAudio(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime);
|
|
|
|
//! Register myself in DBus
|
|
CContextAudio *registerWithDBus(BlackMisc::CDBusServer *server);
|
|
};
|
|
} // namespace
|
|
} // namespace
|
|
|
|
#endif // guard
|