cmState: Add Snapshot Type accessor.
This commit is contained in:
parent
f0005bb484
commit
0a01e6c6e7
|
@ -847,6 +847,11 @@ cmState::Snapshot::Snapshot(cmState* state, PositionType position)
|
|||
|
||||
}
|
||||
|
||||
cmState::SnapshotType cmState::Snapshot::GetType() const
|
||||
{
|
||||
return this->Position->SnapshotType;
|
||||
}
|
||||
|
||||
const char* cmState::Directory::GetCurrentSource() const
|
||||
{
|
||||
return this->DirectoryState->Location.c_str();
|
||||
|
|
|
@ -56,6 +56,7 @@ public:
|
|||
bool IsValid() const;
|
||||
Snapshot GetBuildsystemDirectoryParent() const;
|
||||
Snapshot GetCallStackParent() const;
|
||||
SnapshotType GetType() const;
|
||||
|
||||
void InitializeFromParent();
|
||||
|
||||
|
|
Loading…
Reference in New Issue