Switch to side-by-side view

--- a/src/query/sortseq.h
+++ b/src/query/sortseq.h
@@ -16,16 +16,16 @@
  */
 #ifndef _SORTSEQ_H_INCLUDED_
 #define _SORTSEQ_H_INCLUDED_
-/* @(#$Id: sortseq.h,v 1.6 2006-04-20 09:20:10 dockes Exp $  (C) 2004 J.F.Dockes */
+/* @(#$Id: sortseq.h,v 1.7 2006-09-21 09:37:28 dockes Exp $  (C) 2004 J.F.Dockes */
 
 #include <vector>
 #include <string>
 
 #include "docseq.h"
 
-class RclSortSpec {
+class DocSeqSortSpec {
  public:
-    RclSortSpec() : sortwidth(0) {}
+    DocSeqSortSpec() : sortwidth(0) {}
     int sortwidth; // We only re-sort the first sortwidth most relevant docs
     enum Field {RCLFLD_URL, RCLFLD_IPATH, RCLFLD_MIMETYPE, RCLFLD_MTIME};
     void addCrit(Field fld, bool desc = false) {
@@ -42,14 +42,14 @@
  */
 class DocSeqSorted : public DocSequence {
  public:
-    DocSeqSorted(DocSequence &iseq, RclSortSpec &sortspec, 
+    DocSeqSorted(DocSequence &iseq, DocSeqSortSpec &sortspec, 
 		 const std::string &t);
     virtual ~DocSeqSorted() {}
     virtual bool getDoc(int num, Rcl::Doc &doc, int *percent, string *sh = 0);
     virtual int getResCnt() {return m_spec.sortwidth;}
 
  private:
-    RclSortSpec m_spec;
+    DocSeqSortSpec m_spec;
     std::vector<Rcl::Doc> m_docs;
     std::vector<Rcl::Doc *> m_docsp;
 };