DRDE/AusRegEPPTK/se/CommandExtension.hpp

24 lines
511 B
C++
Raw Normal View History

2013-12-31 19:36:07 +00:00
#ifndef __COMMAND_EXTENSION_HPP_
#define __COMMAND_EXTENSION_HPP_
#include <string>
class Command;
/**
* Any classes that implement an EPP command extension should implement this
* interface. The responsibility of implementor is to construct the subtree
* under the command extension element.
*/
class CommandExtension
{
public:
CommandExtension() { }
virtual ~CommandExtension() { }
virtual void addToCommand(const Command &command) const = 0;
};
#endif /* __COMMAND_EXTENSION_HPP_ */