[gq-commit] gq/src syntax.h,1.5,1.6
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2002-07-09 10:28:03
|
Update of /cvsroot/gqclient/gq/src In directory usw-pr-cvs1:/tmp/cvs-serv17254 Modified Files: syntax.h Log Message: * Preparation for the new "change display-type on-the-fly" feature. Every displaytype handler now has its own name (still need to think about I18N) and the information if it should be selectable or not (partially because it may be abstract). * Now all the "selectable" displaytypes are also kept in a GList accessible via get_selectable_displaytypes() Index: syntax.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/syntax.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** syntax.h 8 Jun 2002 05:46:44 -0000 1.5 --- syntax.h 9 Jul 2002 10:27:58 -0000 1.6 *************** *** 44,47 **** --- 44,49 ---- typedef struct _display_type_handler { + char *name; + gboolean selectable; GtkWidget* (*get_widget)(struct formfill *form, GByteArray *data, *************** *** 70,73 **** --- 72,78 ---- void init_syntaxes(void); + + /* Return a list of _display_type_handler objects selectable by the user */ + GList *get_selectable_displaytypes(); /* Utility functions */ |