diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-20 22:11:05 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-07-20 22:11:05 -0700 |
commit | 261bf12c91286ffca9fcb0bf761d6d1666359dc7 (patch) | |
tree | 4b6d388843bad1aadae666fa8597c9f0d50488b0 /env.h | |
parent | b08fb866378693d2e75f17fdfe5e60401a29136a (diff) |
Lots of miscellaneous cleanup. Unified the path_get_cd_path, path_allocate_cd_path, etc. functions
Diffstat (limited to 'env.h')
-rw-r--r-- | env.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -183,14 +183,17 @@ int env_set_pwd(); class env_vars_snapshot_t { std::map<wcstring, wcstring> vars; + bool is_current() const; public: env_vars_snapshot_t(const wchar_t * const * keys); env_vars_snapshot_t(void); - const wchar_t *get(const wchar_t *key) const; env_var_t get(const wcstring &key) const; + // Returns the fake snapshot representing the live variables array + static const env_vars_snapshot_t ¤t(); + // vars necessary for highlighting static const wchar_t * const highlighting_keys[]; }; |