diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-06-06 07:46:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-06-07 07:29:30 (GMT) |
commit | 9058e27a431b01319b18cc4099780fa017ada113 (patch) | |
tree | b79fc44b5223b45d94f4fe98b6344341812aef43 /Source/cmState.h | |
parent | 1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (diff) | |
download | CMake-9058e27a431b01319b18cc4099780fa017ada113.zip CMake-9058e27a431b01319b18cc4099780fa017ada113.tar.gz CMake-9058e27a431b01319b18cc4099780fa017ada113.tar.bz2 |
Constify property definition API.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 60b024f..b06f77c 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -102,12 +102,14 @@ public: bool chain = false); // get property definition - cmPropertyDefinition *GetPropertyDefinition - (const std::string& name, cmProperty::ScopeType scope); + cmPropertyDefinition const* GetPropertyDefinition + (const std::string& name, cmProperty::ScopeType scope) const; // Is a property defined? - bool IsPropertyDefined(const std::string& name, cmProperty::ScopeType scope); - bool IsPropertyChained(const std::string& name, cmProperty::ScopeType scope); + bool IsPropertyDefined(const std::string& name, + cmProperty::ScopeType scope) const; + bool IsPropertyChained(const std::string& name, + cmProperty::ScopeType scope) const; void SetLanguageEnabled(std::string const& l); bool GetLanguageEnabled(std::string const& l) const; |