"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/filter.h" between
bed-3.0.3.src.tar.xz and bed-3.1.0.src.tar.xz

About: bed is an adjustable data format binary editor.

filter.h  (bed-3.0.3.src.tar.xz):filter.h  (bed-3.1.0.src.tar.xz)
skipping to change at line 47 skipping to change at line 47
name(fil.name), name(fil.name),
label(fil.label), label(fil.label),
bytesscreen(fil.bytesscreen), bytesscreen(fil.bytesscreen),
bytesfile(fil.bytesfile), bytesfile(fil.bytesfile),
err(fil.err) err(fil.err)
{ {
} }
//Filter(Filter &fil) ; //Filter(Filter &fil) ;
virtual int setpart(ScreenPart *p); virtual int setpart(ScreenPart *p);
virtual char *convstr(void) ; virtual char *convstr(void) const ;
virtual int error(void) ; virtual int error(void) ;
virtual int chbytes(int bytes)=0; //set sized with bytes on fileside give n, returns bytes on screen side virtual int chbytes(int bytes)=0; //set sized with bytes on fileside give n, returns bytes on screen side
virtual int chbytesback(int bytes)=0; //set sized with bytes on screen si de given, returns bytes on file side virtual int chbytesback(int bytes)=0; //set sized with bytes on screen si de given, returns bytes on file side
virtual Filter *newone(void) const =0; virtual Filter *newone(void) const =0;
virtual ~Filter(); virtual ~Filter();
virtual int fromfile(const unsigned char * const input,int &len,unsigned char *const output) const { virtual int fromfile(const unsigned char * const input,int &len,unsigned char *const output) const {
return fromfile(input,output); return fromfile(input,output);
}; };
virtual int tofile(const unsigned char * const input,int &len,unsigned ch ar * const output) { virtual int tofile(const unsigned char * const input,int &len,unsigned ch ar * const output) {
return tofile(input,output) ; return tofile(input,output) ;
}; };
virtual int fromfile(const unsigned char * const input,unsigned char * co nst output) const { virtual int fromfile(const unsigned char * const input,unsigned char * co nst output) const {
assert(false ); assert(false );
return 0; return 0;
}; };
virtual int tofile(const unsigned char * const input,unsigned char * cons t output) { virtual int tofile(const unsigned char * const input,unsigned char * cons t output) {
assert(false ); assert(false );
return 0; return 0;
}; };
virtual int equal(Filter *fil); virtual int equal(const Filter *fil) const;
virtual int wantaway(void) {return 1;} virtual int wantaway(void) {return 1;}
virtual int screen2filepos(int pos) ; virtual int screen2filepos(int pos) ;
virtual int file2screenpos(int pos) ; virtual int file2screenpos(int pos) ;
}; };
typedef Filter *(*Filterprocptr)(int,int,const char*,ScreenPart *); typedef Filter *(*Filterprocptr)(int,int,const char*,ScreenPart *);
extern int filtersmaxlen,filtersnr; extern int filtersmaxlen,filtersnr;
//extern char **filtersnames; //extern char **filtersnames;
//extern Filter *(**filtersfuncs)(int,int,char*,ScreenPart *) ; //extern Filter *(**filtersfuncs)(int,int,char*,ScreenPart *) ;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)