diff --git a/src/query/docseq.h b/src/query/docseq.h index babaf6f5..35fdd252 100644 --- a/src/query/docseq.h +++ b/src/query/docseq.h @@ -16,7 +16,7 @@ */ #ifndef _DOCSEQ_H_INCLUDED_ #define _DOCSEQ_H_INCLUDED_ -/* @(#$Id: docseq.h,v 1.6 2006-02-07 10:26:49 dockes Exp $ (C) 2004 J.F.Dockes */ +/* @(#$Id: docseq.h,v 1.7 2006-02-21 12:52:48 dockes Exp $ (C) 2004 J.F.Dockes */ #include "rcldb.h" #include "history.h" @@ -27,7 +27,6 @@ history or Db query). We have an interface to make things cleaner. */ class DocSequence { - std::string m_title; public: DocSequence(const std::string &t) : m_title(t) {} virtual ~DocSequence() {} @@ -48,6 +47,9 @@ class DocSequence { = 0; virtual int getResCnt() = 0; virtual std::string title() {return m_title;} + + private: + std::string m_title; }; diff --git a/src/query/sortseq.h b/src/query/sortseq.h index 0e4566d2..83e868be 100644 --- a/src/query/sortseq.h +++ b/src/query/sortseq.h @@ -16,7 +16,7 @@ */ #ifndef _SORTSEQ_H_INCLUDED_ #define _SORTSEQ_H_INCLUDED_ -/* @(#$Id: sortseq.h,v 1.4 2006-01-30 11:15:28 dockes Exp $ (C) 2004 J.F.Dockes */ +/* @(#$Id: sortseq.h,v 1.5 2006-02-21 12:52:48 dockes Exp $ (C) 2004 J.F.Dockes */ #include #include @@ -45,9 +45,8 @@ class DocSeqSorted : public DocSequence { virtual ~DocSeqSorted() {} virtual bool getDoc(int num, Rcl::Doc &doc, int *percent, string *sh = 0); virtual int getResCnt() {return m_count;} - virtual std::string title() {return m_title;} + private: - std::string m_title; int m_count; std::vector m_docs; std::vector m_docsp;