diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-07-30 09:53:00 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-07-30 09:53:00 -0700 |
commit | dc4bd2c05375cece9d1c1281cbebbef40a09c4e4 (patch) | |
tree | 1ad940cb817d22726b1e1f763f12b0e11f3a5acc /src/cstore/cstore.hpp | |
parent | 56dc9db80960f62f021958baba29c49dda895b03 (diff) | |
download | vyatta-cfg-dc4bd2c05375cece9d1c1281cbebbef40a09c4e4.tar.gz vyatta-cfg-dc4bd2c05375cece9d1c1281cbebbef40a09c4e4.zip |
add default status observers
Diffstat (limited to 'src/cstore/cstore.hpp')
-rw-r--r-- | src/cstore/cstore.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cstore/cstore.hpp b/src/cstore/cstore.hpp index 1d4ffe2..1d8a295 100644 --- a/src/cstore/cstore.hpp +++ b/src/cstore/cstore.hpp @@ -172,6 +172,8 @@ public: vector<string>& values, bool active_cfg = false); bool cfgPathGetComment(const vector<string>& path_comps, string& comment, bool active_cfg = false); + bool cfgPathDefault(const vector<string>& path_comps, + bool active_cfg = false); /* observers for working AND active configs (at the same time). * MUST ONLY be used during config session. */ @@ -304,13 +306,13 @@ private: // observers for current work path virtual bool marked_changed() = 0; - virtual bool marked_display_default() = 0; // observers for current work path or active path virtual bool read_value_vec(vector<string>& vvec, bool active_cfg) = 0; virtual bool cfg_node_exists(bool active_cfg) = 0; virtual bool marked_deactivated(bool active_cfg) = 0; virtual bool get_comment(string& comment, bool active_cfg) = 0; + virtual bool marked_display_default(bool active_cfg) = 0; // observers during commit operation virtual bool marked_committed(const vtw_def& def, bool is_set) = 0; |