/***************************************************************

 This is for content specific navigation.
  

 Dan, <Feb 19, 2002>
 dan < nov 29,2002 > created from contentfilter.

***************************************************************/

#ifndef _NAVIGATOR

#define _NAVIGATOR

#include "accumulator2.h"
#include "cestypes.h"

class Navigator {

 public:

  Navigator();
  
  // setup classes
  int       SetAccumulator  ( Accumulator * accum = NULL );
  
  // content search
  long      LinePos         ( ChrOffset position ) ;
  ChrOffset LineEnd         ( ChrOffset position ) ;
  ChrOffset NextLine        ( ChrOffset position ) ;
  ChrOffset PrevLine        ( ChrOffset position ) ;
  
  ~Navigator();
  
 private:
 
  Accumulator * accumulator ;
  
  
};


#endif
