summaryrefslogtreecommitdiff
path: root/Source/cmInstallCommandArguments.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-24 14:27:18 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-08-24 14:27:18 -0400
commit938ed7710ab15ad13f51bd17243cfe20cf8285eb (patch)
tree4234154b94405fba1de7ed626af9d9fdc4b7a33d /Source/cmInstallCommandArguments.h
parent9220e974017e34b53ba0650ec45c1a16566b6b88 (diff)
downloadcmake-938ed7710ab15ad13f51bd17243cfe20cf8285eb.tar.gz
STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member of
cmInstallCommandArguments instead of deriving from it Alex
Diffstat (limited to 'Source/cmInstallCommandArguments.h')
-rw-r--r--Source/cmInstallCommandArguments.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/cmInstallCommandArguments.h b/Source/cmInstallCommandArguments.h
index 936aa460ac..2547877aba 100644
--- a/Source/cmInstallCommandArguments.h
+++ b/Source/cmInstallCommandArguments.h
@@ -21,15 +21,17 @@
#include "cmStandardIncludes.h"
#include "cmCommandArgumentsHelper.h"
-class cmInstallCommandArguments : public cmCommandArgumentsHelper
+class cmInstallCommandArguments
{
public:
cmInstallCommandArguments();
void SetGenericArguments(cmInstallCommandArguments* args)
{this->GenericArguments = args;}
- // Compute destination path.
+ void Parse(const std::vector<std::string>* args,
+ std::vector<std::string>* unconsumedArgs);
+
+ // Compute destination path.and check permissions
bool Finalize();
- cmCommandArgumentGroup ArgumentGroup;
const std::string& GetDestination() const;
const std::string& GetComponent() const;
@@ -45,6 +47,8 @@ class cmInstallCommandArguments : public cmCommandArgumentsHelper
std::string& absDest);
static bool CheckPermissions(const std::string& onePerm,
std::string& perm);
+ cmCommandArgumentsHelper Parser;
+ cmCommandArgumentGroup ArgumentGroup;
private:
cmCAString Destination;
cmCAString Component;