2014-01-23 21:06:09 +00:00
|
|
|
#ifndef _LPE_CHK_EXTENSION_HPP_
|
|
|
|
#define _LPE_CHK_EXTENSION_HPP_
|
|
|
|
|
|
|
|
#include "se/DomainCheckCommand.hpp"
|
|
|
|
#include "LPLaunch.hpp"
|
|
|
|
|
|
|
|
class LPCheck : public DomainCheckCommand
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
LPLaunch *draft_tan_epp_launchphase_12;
|
|
|
|
void setExtension ();
|
|
|
|
|
2014-01-24 16:38:51 +00:00
|
|
|
std::auto_ptr<LPLaunch> createData;
|
|
|
|
|
2014-01-23 21:06:09 +00:00
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Check the availability of the single identified domain.
|
|
|
|
*
|
|
|
|
* @param name The name of the domain to check the availability of.
|
|
|
|
*/
|
|
|
|
LPCheck (const std::string &name )
|
|
|
|
: DomainCheckCommand (name) { setExtension(); }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Check the availability of at least one domain.
|
|
|
|
*
|
|
|
|
* @param names The names of the domains to check the availability of.
|
|
|
|
*/
|
|
|
|
LPCheck (std::vector<std::string> &names )
|
2014-01-24 16:38:51 +00:00
|
|
|
: DomainCheckCommand ( names ) { setExtension();}
|
|
|
|
|
|
|
|
virtual void addToCommand(const Command &command) const;
|
2014-01-23 21:06:09 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _LPE_COMMAND_EXTENSION_HPP_ */
|