1 /* */ 2 #ifndef WCALC_OUTPUT_H 3 #define WCALC_OUTPUT_H 4 5 /* These functions should be implemented in any frontend. */ 6 7 #include "variables.h" // for variable_t 8 #include "list.h" // for List 9 10 void display_prefs(void); 11 void show_answer(char *err, 12 int uncertain, 13 char *answer); 14 void display_output_format(int format); 15 void display_status(const char *format, 16 ...); 17 void display_err(const char *format, 18 ...); 19 void display_interactive_help(void); 20 void display_command_help(void); 21 void display_val(const char *name); 22 void display_var(variable_t *v, 23 unsigned count, 24 unsigned digits); 25 void display_expvar_explanation(const char *str, 26 const char *exp, 27 List subvars, 28 const char *desc); 29 void display_valvar_explanation(const char *str, 30 Number *val, 31 const char *desc); 32 void display_explanation(const char *exp, 33 ...); 34 void display_stateline(const char *buf); 35 void display_consts(void); 36 #endif // ifndef WCALC_OUTPUT_H 37 /* vim:set expandtab: */ 38