|
a/src/query/docseqhist.h |
|
b/src/query/docseqhist.h |
|
... |
|
... |
46 |
DocSequenceHistory(Rcl::Db *d, RclDynConf *h, const string &t)
|
46 |
DocSequenceHistory(Rcl::Db *d, RclDynConf *h, const string &t)
|
47 |
: DocSequence(t), m_db(d), m_hist(h), m_prevnum(-1), m_prevtime(-1) {}
|
47 |
: DocSequence(t), m_db(d), m_hist(h), m_prevnum(-1), m_prevtime(-1) {}
|
48 |
virtual ~DocSequenceHistory() {}
|
48 |
virtual ~DocSequenceHistory() {}
|
49 |
|
49 |
|
50 |
virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
|
50 |
virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
|
51 |
virtual Rcl::Db *getDb();
|
|
|
52 |
virtual int getResCnt();
|
51 |
virtual int getResCnt();
|
53 |
virtual string getDescription() {return m_description;}
|
52 |
virtual string getDescription() {return m_description;}
|
54 |
void setDescription(const string& desc) {m_description = desc;}
|
53 |
void setDescription(const string& desc) {m_description = desc;}
|
|
|
54 |
protected:
|
|
|
55 |
virtual Rcl::Db *getDb();
|
55 |
private:
|
56 |
private:
|
56 |
Rcl::Db *m_db;
|
57 |
Rcl::Db *m_db;
|
57 |
RclDynConf *m_hist;
|
58 |
RclDynConf *m_hist;
|
58 |
int m_prevnum;
|
59 |
int m_prevnum;
|
59 |
long m_prevtime;
|
60 |
long m_prevtime;
|
60 |
string m_description; // This is just an nls translated 'doc history'
|
61 |
string m_description; // This is just an nls translated 'doc history'
|