Switch to unified view

a/src/conftree.hxx b/src/conftree.hxx
...
...
223
     */
223
     */
224
    virtual vector<string> getSubKeys(bool) const 
224
    virtual vector<string> getSubKeys(bool) const 
225
    {
225
    {
226
    return getSubKeys();
226
    return getSubKeys();
227
    }
227
    }
228
    virtual vector<string> getSubKeys_unsorted(bool = false) const 
229
    {
230
  return m_subkeys_unsorted;
231
    }
228
    virtual vector<string> getSubKeys() const;
232
    virtual vector<string> getSubKeys() const;
229
    /** Test for subkey existence */
233
    /** Test for subkey existence */
230
    virtual bool hasSubKey(const string& sk) const
234
    virtual bool hasSubKey(const string& sk) const
231
    {
235
    {
232
    return m_submaps.find(sk) != m_submaps.end();
236
    return m_submaps.find(sk) != m_submaps.end();
...
...
272
    string                            m_filename; 
276
    string                            m_filename; 
273
    time_t                            m_fmtime;
277
    time_t                            m_fmtime;
274
    // Configuration data submaps (one per subkey, the main data has a
278
    // Configuration data submaps (one per subkey, the main data has a
275
    // null subkey)
279
    // null subkey)
276
    map<string, map<string, string> > m_submaps;
280
    map<string, map<string, string> > m_submaps;
281
    vector<string> m_subkeys_unsorted;
277
    // Presentation data. We keep the comments, empty lines and
282
    // Presentation data. We keep the comments, empty lines and
278
    // variable and subkey ordering information in there (for
283
    // variable and subkey ordering information in there (for
279
    // rewriting the file while keeping hand-edited information)
284
    // rewriting the file while keeping hand-edited information)
280
    vector<ConfLine>                    m_order;
285
    vector<ConfLine>                    m_order;
281
    // Control if we're writing to the backing store
286
    // Control if we're writing to the backing store