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

This is a prop filter for the CES system. Its function is to 
  provide text attribute application. 
 
 <Apr 10, 2002> Dan
 <Dec 16, 2003> Dan, added proptypes
 
 
***************************************************************/

#ifndef _CONTENTFILTER

#define _CONTENTFILTER

#include "cestypes.h"
#include "propaccumulator.h"
#include "proptypes.h"

class PropFilter {

 public:

  PropFilter(PropAccum * source = NULL);
  
  // setup classes
  CESError_t SetSource ( PropAccum * source = NULL );
  CESError_t SetStyle  ( int style = 31 ); 
    
  // content search
  
  // content modify

  
  // content retrieve 
  CESError_t Colourize( char * LineBuff, char * PropBuff, long buffersizes, long accumulatorPos );
  
  ~PropFilter();
  
 private:
  PropAccum * SourceData;
  int CursorStyle;
};


#endif
