Make the Property name protected so that subclasses can use it.
Makes subclasses more dry in upcoming patches.
This commit is contained in:
parent
61d641dccb
commit
b3a7e19ee4
|
@ -31,6 +31,9 @@ public:
|
||||||
bool HandleArguments(std::vector<std::string> const& args,
|
bool HandleArguments(std::vector<std::string> const& args,
|
||||||
const char *prop, ArgumentFlags flags = NO_FLAGS);
|
const char *prop, ArgumentFlags flags = NO_FLAGS);
|
||||||
|
|
||||||
|
protected:
|
||||||
|
std::string Property;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual void HandleImportedTarget(const std::string &tgt) = 0;
|
virtual void HandleImportedTarget(const std::string &tgt) = 0;
|
||||||
virtual void HandleMissingTarget(const std::string &name) = 0;
|
virtual void HandleMissingTarget(const std::string &name) = 0;
|
||||||
|
@ -51,7 +54,6 @@ private:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
cmTarget *Target;
|
cmTarget *Target;
|
||||||
std::string Property;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue