"Fossies" - the Fresh Open Source Software Archive

Member "klavaro-3.13/src/velocity.h" (18 Apr 2021, 1706 Bytes) of package /linux/privat/klavaro-3.13.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "velocity.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 3.12_vs_3.13.

    1 /**************************************************************************/
    2 /*  Klavaro - a flexible touch typing tutor                               */
    3 /*  Copyright (C) 2005-2021 Felipe Emmanuel Ferreira de Castro            */
    4 /*                                                                        */
    5 /*  This file is part of Klavaro, which is a free software: you can       */
    6 /*  redistribute it and/or modify it under the terms of the GNU General   */
    7 /*  Public License as published by the Free Software Foundation, either   */
    8 /*  version 3 of the License, or (at your option) any later version.      */
    9 /*                                                                        */
   10 /*  Klavaro is distributed in the hope that it will be useful,            */
   11 /*  but WITHOUT ANY WARRANTY; without even the implied warranty of        */
   12 /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         */
   13 /*  GNU General Public License for more details (in the file COPYING).    */
   14 /*  You should have received a copy of the GNU General Public License     */
   15 /*  along with Klavaro.  If not, see <https://www.gnu.org/licenses/>      */
   16 /**************************************************************************/
   17 
   18 #define MAX_WORDS 12123
   19 
   20 /*
   21  * Interface functions
   22  */
   23 gchar *velo_get_dict_name (void);
   24 
   25 void velo_reset_dict (void);
   26 
   27 /*
   28  * Auxiliar functions
   29  */
   30 void velo_init (void);
   31 
   32 void velo_init_dict (gchar *);
   33 
   34 void velo_draw_random_words (void);
   35 
   36 gchar *velo_filter_utf8 (gchar * text);
   37 
   38 void velo_text_write_to_file (gchar * text_raw, gboolean overwrite);
   39 
   40 void velo_create_dict (gchar * file_name, gboolean overwrite);
   41 
   42 void velo_comment (gdouble accuracy, gdouble velocity);