summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 07:46:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:29:30 (GMT)
commit9058e27a431b01319b18cc4099780fa017ada113 (patch)
treeb79fc44b5223b45d94f4fe98b6344341812aef43 /Source/cmState.h
parent1c48edf8fc8cec71c780cbb1c587f10df0ab7185 (diff)
downloadCMake-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.h10
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;