| Line 26... |
Line 26... |
| 26 |
#include "QDebug"
|
26 |
#include "QDebug"
|
| 27 |
#define printf qDebug
|
27 |
#define printf qDebug
|
| 28 |
|
28 |
|
| 29 |
#include "qmconfig.h"
|
29 |
#include "qmconfig.h"
|
| 30 |
|
30 |
|
| 31 |
extern class QmConfig config; /* Working configuration */
|
31 |
extern class QmConfig config; /* Working configuration */
|
| 32 |
extern int parallel_legs; /* Legs run in Parallel */
|
32 |
extern int parallel_legs; /* Legs run in Parallel */
|
| 33 |
extern ty_check_error check_error;
|
33 |
extern ty_check_error check_error;
|
| 34 |
extern char confile[20]; /* Name of the config file */
|
- |
|
| 35 |
extern char datfile[20]; /* Name of the data file */
|
34 |
extern QString DatFile; /* Name of the data file */
|
| 36 |
extern char filebase[20]; /* Event file name base */
|
35 |
extern QString FileBase; /* Event file name base */
|
| 37 |
extern char filepath[300]; /* Base dir for input and output */
|
36 |
extern QString FilePath; /* Base dir for input and output */
|
| 38 |
//extern int team; /* Current team number */
|
37 |
//extern int team; /* Current team number */
|
| 39 |
//extern team_type team_buf; /* Holds team data currently under display */
|
38 |
//extern team_type team_buf; /* Holds team data currently under display */
|
| 40 |
//extern int n_lines; /* Number of lines on the screen */
|
39 |
//extern int n_lines; /* Number of lines on the screen */
|
| 41 |
//extern int n_cols;
|
40 |
//extern int n_cols;
|
| 42 |
//extern int rubout; /* users rubout character */
|
41 |
//extern int rubout; /* users rubout character */
|
| Line 116... |
Line 115... |
| 116 |
void ls_team( int *last, t_legs * data );
|
115 |
void ls_team( int *last, t_legs * data );
|
| 117 |
int sort_legs( const void * a, const void * b );
|
116 |
int sort_legs( const void * a, const void * b );
|
| 118 |
|
117 |
|
| 119 |
//void do_menu( const char *header, const char *prompt, menu_table * table );
|
118 |
//void do_menu( const char *header, const char *prompt, menu_table * table );
|
| 120 |
|
119 |
|
| 121 |
bool open_printer( const char *name, const char *ext, int width, report_type html, const char * title );
|
120 |
bool open_printer( const QString name, const char *ext, int width, report_type html, const char * title );
|
| 122 |
bool open_printer_name( const char *pname, int width, report_type html, const char * title );
|
121 |
bool open_printer_name( const QString pname, int width, report_type html, const char * title );
|
| 123 |
bool close_printer( void );
|
122 |
bool close_printer( void );
|
| 124 |
int print( const char *format, ... );
|
123 |
int print( const char *format, ... );
|
| 125 |
void printbanner( const char *title );
|
124 |
void printbanner( const char *title );
|
| 126 |
void print_underline( bool on );
|
125 |
void print_underline( bool on );
|
| 127 |
void print_bold( bool on );
|
126 |
void print_bold( bool on );
|
| Line 208... |
Line 207... |
| 208 |
//int lookup_class( const char *text, MARA_CFG *config );
|
207 |
//int lookup_class( const char *text, MARA_CFG *config );
|
| 209 |
|
208 |
|
| 210 |
bool t_parse_number( char **linep, int *number );
|
209 |
bool t_parse_number( char **linep, int *number );
|
| 211 |
bool t_parse_text( char **linep, char *text );
|
210 |
bool t_parse_text( char **linep, char *text );
|
| 212 |
char p_eol( const char *c );
|
211 |
char p_eol( const char *c );
|
| 213 |
char * p_filename( const char *filename, const char *suffix, const char *ext );
|
212 |
QString p_filename( const QString filename, const QString suffix, const QString ext );
|
| 214 |
void print_colour( long colour );
|
213 |
void print_colour( long colour );
|
| 215 |
char *tprintf( const char *format, ... );
|
214 |
char *tprintf( const char *format, ... );
|
| 216 |
int raw_print( const char *format, ... );
|
215 |
int raw_print( const char *format, ... );
|
| 217 |
void console_prompt( char prompt );
|
216 |
void console_prompt( char prompt );
|
| 218 |
void console_clreol( void );
|
217 |
void console_clreol( void );
|
| 219 |
void calc_class_summary( t_class_summary * ptr );
|
218 |
void calc_class_summary( t_class_summary * ptr );
|
| 220 |
int csv_print( const char *format, ... );
|
219 |
int csv_print( const char *format, ... );
|
| 221 |
void set_commands ( char * cptr);
|
220 |
void set_commands ( char * cptr);
|
| 222 |
void tdnload_store(void);
|
221 |
void tdnload_store(void);
|
| 223 |
char *url_encode(const char *str);
|
222 |
char * url_encode(const QString str);
|
| 224 |
const QString &getPrinterFile(void);
|
223 |
const QString &getPrinterFile(void);
|
| 225 |
char *setHref( const char *format, ... );
|
224 |
char *setHref( const char *format, ... );
|
| 226 |
|
225 |
|
| 227 |
/********************************* EOF ***********************************/
|
226 |
/********************************* EOF ***********************************/
|