]> git.mxchange.org Git - flightgear.git/blob - utils/fgcom/utils.hxx
Canvas: generate keypress event for text input.
[flightgear.git] / utils / fgcom / utils.hxx
1 /*
2  * fgcom - VoIP-Client for the FlightGear-Radio-Infrastructure
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of the
7  * License, or (at your option) any later version.
8  * 
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * General Public License for more details.
13  * 
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17  * MA  02110-1301, USA.
18  *
19  */
20
21 #ifndef __UTILS_H__
22 #define __UTILS_H__
23
24 /* Initialize the file parser. */
25 int parser_init(const char *filename);
26
27 /* Exits parser. */
28 void parser_exit(void);
29
30 int parser_get_next_value(double *value);
31
32 extern int is_file_or_directory( const char * path ); /* 1=file, 2=dir, else 0 */
33 extern void trim_base_path_ib( char *path ); /* trim to base path IN BUFFER */
34 extern int get_data_path_per_os( char *path, size_t len ); /* get data path per OS - 0=ok, 1=error */
35
36 #endif