added the datafile loader_func typedefs.
2001-02-11 Michael Natterer <mitch@gimp.org> * app/apptypes.h: added the datafile loader_func typedefs. * app/datafiles.h: removed from here. * app/gimpcontainer.[ch]: emit "freeze" and "thaw" signals to get rid of those blah_select_[freeze|thaw]_all() stuff. * app/gimpdatalist.[ch]: new function gimp_data_list_load() which takes a va_list of GimpDataObjectLoaderFuncs and file extensions and is almost a replacement for the four files below. * app/brushes.c * app/gradients.c * app/palettes.c * app/patterns.c: very simple now. It may be worth thinking about making all GimpData subclasses managed by a descriptive array in the context_manager.
This commit is contained in:

committed by
Michael Natterer

parent
68216c6ff9
commit
6fc9702bb3
@ -24,15 +24,13 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
|
||||
typedef enum
|
||||
{
|
||||
INCLUDE_TEMP_DIR = 1 << 0,
|
||||
MODE_EXECUTABLE = 1 << 1
|
||||
} GimpDataFileFlags;
|
||||
|
||||
typedef void (* GimpDataFileLoaderFunc) (const gchar *filename,
|
||||
gpointer loader_data);
|
||||
|
||||
|
||||
gboolean datafiles_check_extension (const gchar *filename,
|
||||
const gchar *extension);
|
||||
|
Reference in New Issue
Block a user