/** * @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