Files
qt5-legatus-legacy/Lts/Services/AudioVideoManagement/ivd_command_done_observer.h
T
2026-08-13 18:33:10 +02:00

43 lines
750 B
C++
Executable File

/**
* @RDE_HEADER@
* IVdCommandDoneObserver
* $Id$
* $HeadURL$
* $Author$
* Created by Astrid Müller, SGAS, 2018-02-26
*/
#pragma once
namespace AudioVideoManagement
{
class ICommand;
namespace AvaCommands
{
class VdSetScript;
}
/**
* This interface is needed in order to mock VdControl in UnitTests.
*
* @author Christian Fröbel
*/
class IVdCommandDoneObserver
{
public:
virtual ~IVdCommandDoneObserver() = default;
virtual void done(ICommand *cmd) = 0;
virtual void done(AvaCommands::VdSetScript *cmd) = 0;
virtual void failed(ICommand *cmd) = 0;
/**
* Tell the observer that the command is not done yet but still alive.
*/
virtual void alive(ICommand *cmd) = 0;
};
} // namespace AudioVideoManagement