Make the Property name protected so that subclasses can use it.

Makes subclasses more dry in upcoming patches.
This commit is contained in:
Stephen Kelly 2013-01-29 17:20:45 +01:00
parent 61d641dccb
commit b3a7e19ee4
1 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,9 @@ public:
bool HandleArguments(std::vector<std::string> const& args,
const char *prop, ArgumentFlags flags = NO_FLAGS);
protected:
std::string Property;
private:
virtual void HandleImportedTarget(const std::string &tgt) = 0;
virtual void HandleMissingTarget(const std::string &name) = 0;
@ -51,7 +54,6 @@ private:
private:
cmTarget *Target;
std::string Property;
};
#endif