summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-04 20:38:37 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-14 18:36:28 (GMT)
commit48a9e91b02090ba263cd46ef5c33ba3d2aa873ba (patch)
treee67fd8ea4cf03b01d1db6fa077d602e9de91f41d /Source/cmState.h
parente7f7c2e208a62c60e4a20ef115ba47a2ff7194a1 (diff)
downloadCMake-48a9e91b02090ba263cd46ef5c33ba3d2aa873ba.zip
CMake-48a9e91b02090ba263cd46ef5c33ba3d2aa873ba.tar.gz
CMake-48a9e91b02090ba263cd46ef5c33ba3d2aa873ba.tar.bz2
cmState: Add an accessor for Parent snapshot and a validity check.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index d10fae3..ed58c64 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -36,6 +36,9 @@ public:
const char* GetCurrentBinaryDirectory() const;
void SetCurrentBinaryDirectory(std::string const& dir);
+ bool IsValid() const;
+ Snapshot GetParent() const;
+
private:
friend class cmState;
cmState* State;