Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* @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
|
||||
Reference in new issue
Block a user