diff options
author | Evan Martin <martine@danga.com> | 2011-12-07 16:59:08 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-07 16:59:08 (GMT) |
commit | f66f2e80eee4a9df52b9f3f0298548c039d1d122 (patch) | |
tree | 5468044265498a8861e1407eaf0d4f3f2a753b71 /src/state.h | |
parent | 5394fefc2bc297e3c7bc13d8c54823f34d82877c (diff) | |
download | Ninja-f66f2e80eee4a9df52b9f3f0298548c039d1d122.zip Ninja-f66f2e80eee4a9df52b9f3f0298548c039d1d122.tar.gz Ninja-f66f2e80eee4a9df52b9f3f0298548c039d1d122.tar.bz2 |
more whitespace
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h index 6b8d8b2..cdab131 100644 --- a/src/state.h +++ b/src/state.h @@ -37,13 +37,17 @@ struct State { void AddRule(const Rule* rule); const Rule* LookupRule(const string& rule_name); + Edge* AddEdge(const Rule* rule); + Node* GetNode(const string& path); Node* LookupNode(const string& path); Node* SpellcheckNode(const string& path); + void AddIn(Edge* edge, const string& path); void AddOut(Edge* edge, const string& path); bool AddDefault(const string& path, string* error); + /// Reset state. Keeps all nodes and edges, but restores them to the /// state where we haven't yet examined the disk for dirty state. void Reset(); |