"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "character.h" between
ocrad-0.24.tar.gz and ocrad-0.25.tar.gz

About: GNU Ocrad is an OCR (Optical Character Recognition) program.

character.h  (ocrad-0.24):character.h  (ocrad-0.25)
/* GNU Ocrad - Optical Character Recognition program /* GNU Ocrad - Optical Character Recognition program
Copyright (C) 2003-2014 Antonio Diaz Diaz. Copyright (C) 2003-2015 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or the Free Software Foundation, either version 2 of the License, or
(at your option) any later version. (at your option) any later version.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
skipping to change at line 74 skipping to change at line 74
void insert_guess( const int i, const int code, const int value ); void insert_guess( const int i, const int code, const int value );
void delete_guess( const int i ); void delete_guess( const int i );
void only_guess( const int code, const int value ) void only_guess( const int code, const int value )
{ gv.clear(); gv.push_back( Guess( code, value ) ); } { gv.clear(); gv.push_back( Guess( code, value ) ); }
bool set_merged_guess( const int code1, const int right1, bool set_merged_guess( const int code1, const int right1,
const int code2, const int blob_index ); const int code2, const int blob_index );
void swap_guesses( const int i, const int j ); void swap_guesses( const int i, const int j );
const Guess & guess( const int i ) const; const Guess & guess( const int i ) const;
int guesses() const { return gv.size(); } int guesses() const { return gv.size(); }
bool maybe( const int code ) const; bool maybe( const int code ) const;
bool isalnum() const
{ return ( gv.size() > 0 && UCS::isalnum( gv[0].code ) ); }
// bool maybe_digit() const; // bool maybe_digit() const;
// bool maybe_letter() const; // bool maybe_letter() const;
void join( Character & c ); void join( Character & c );
unsigned char byte_result() const; unsigned char byte_result() const;
const char * utf8_result() const; const char * utf8_result() const;
void print( const Control & control ) const; void print( const Control & control ) const;
void dprint( const Control & control, const Rectangle & charbox, void dprint( const Control & control, const Rectangle & charbox,
const bool graph, const bool recursive ) const; const bool graph, const bool recursive ) const;
void xprint( const Control & control ) const; void xprint( const Control & control ) const;
void recognize1( const Charset & charset, const Rectangle & charbox ); void recognize1( const Charset & charset, const Rectangle & charbox );
void apply_filter( const Filter::Type filter ); void apply_filter( const Filter::Type filter );
void apply_user_filter( const User_filter & user_filter );
}; };
 End of changes. 3 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS