summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index d9fd5a2..62eced0 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -3,13 +3,11 @@
#ifndef cmCommand_h
#define cmCommand_h
-#include <cmConfigure.h>
+#include "cmConfigure.h"
+
#include <string>
#include <vector>
-#include "cmCommandArgumentsHelper.h"
-#include "cmPolicies.h"
-
class cmExecutionStatus;
class cmMakefile;
struct cmListFileArgument;
@@ -26,6 +24,8 @@ struct cmListFileArgument;
*/
class cmCommand
{
+ CM_DISABLE_COPY(cmCommand)
+
public:
/**
* Construct the command. By default it has no makefile.
@@ -105,12 +105,8 @@ public:
*/
void SetError(const std::string& e);
- /** Check if the command is disallowed by a policy. */
- bool Disallowed(cmPolicies::PolicyID pol, const char* e);
-
protected:
cmMakefile* Makefile;
- cmCommandArgumentsHelper Helper;
private:
std::string Error;