--- a/src/display.h Sun Jun 01 00:47:45 2008 +0000 +++ b/src/display.h Sun Jul 06 04:52:37 2008 +0000 @@ -23,7 +23,9 @@ #define GL_GLEXT_PROTOTYPES 1 #include +#include #include +#include #include "lxdream.h" #ifdef APPLE_BUILD #include @@ -98,6 +100,11 @@ typedef struct display_driver { char *name; /** + * Short (<60 chars) description of the driver. This should be marked for + * localization. + */ + char *description; + /** * Initialize the driver. This is called only once at startup time, and * is guaranteed to be called before any other methods. * @return TRUE if the driver was successfully initialized, otherwise @@ -178,6 +185,10 @@ } *display_driver_t; +/** + * Print the configured video drivers to the output stream, one to a line. + */ +void print_display_drivers( FILE *out ); display_driver_t get_display_driver_by_name( const char *name ); gboolean display_set_driver( display_driver_t driver );