Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

@@ -0,0 +1,37 @@
/**
* @RDE_HEADER@
* ChooseStreamOverview
* $Id$
* $HeadURL$
* $Author$
* Created by Christian Fröbel, NLSE, 2018-03-28
*/
#include "choose_stream_overview.h"
#include <AudioVideoManagement/iava_comm.h>
namespace AudioVideoManagement
{
namespace AvaCommands
{
ChooseStreamOverview::ChooseStreamOverview(IAvaComm *comm, IAvaCommandDoneObserver *observer, const QString &dialogId, const QStringList &streamNames, bool muted)
: SimpleCommand(QLatin1String("ChooseStreamOverview"), comm, observer, [=] (IAvaComm *comm) { comm->chooseStreamOverview(dialogId, streamNames, muted); } )
, m_dialogId(dialogId)
{
}
bool ChooseStreamOverview::nullifies(ICommand *other) const
{
Q_ASSERT(other);
ChooseStreamOverview *other_ = dynamic_cast<ChooseStreamOverview*>(other);
if (!other_)
return false;
return m_dialogId == other_->m_dialogId;
}
} // namespace AvaCommands
} // namespace AudioVideoManagement