Switch to unified view

a/src/query/history.h b/src/query/history.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _HISTORY_H_INCLUDED_
17
#ifndef _HISTORY_H_INCLUDED_
18
#define _HISTORY_H_INCLUDED_
18
#define _HISTORY_H_INCLUDED_
19
/* @(#$Id: history.h,v 1.5 2006-09-11 12:05:39 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: history.h,v 1.6 2006-10-02 12:33:13 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
/**
21
/**
22
 * Dynamic configuration storage
22
 * Dynamic configuration storage
23
 *
23
 *
24
 * The term "history" is a misnomer as this code is now used to save
24
 * The term "history" is a misnomer as this code is now used to save
...
...
44
using namespace std;
44
using namespace std;
45
#endif
45
#endif
46
46
47
class HistoryEntry {
47
class HistoryEntry {
48
 public:
48
 public:
49
    virtual ~HistoryEntry() {}
49
    virtual bool decode(const string &value) = 0;
50
    virtual bool decode(const string &value) = 0;
50
    virtual bool encode(string& value) = 0;
51
    virtual bool encode(string& value) = 0;
51
    virtual bool equal(const HistoryEntry &other) = 0;
52
    virtual bool equal(const HistoryEntry &other) = 0;
52
};
53
};
53
54