Dynamically load GTK as a module. This way:

1: If GTK isn't available, we can fall back on another LoadingWindow, and
2: ldd ./stepmania doesn't list lots of extra libraries that we only
use on startup.
This is somewhat experimental.  I don't intend to modularize much in this
way.
This commit is contained in:
Glenn Maynard
2003-09-05 06:53:50 +00:00
parent d87e61b7c7
commit dde370f2db
2 changed files with 56 additions and 0 deletions
@@ -0,0 +1,8 @@
#ifndef LOADING_WINDOW_MODULE_GTK
#define LOADING_WINDOW_MODULE_GTK
typedef const char *(*INIT)(int *argc, char ***argv);
typedef void (*SHUTDOWN)();
typedef void (*SETTEXT)( const char *s );
#endif