| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- //-----------------------------------------------------------------------------
- //
- // ImageLib Sources
- // Copyright (C) 2000-2002 by Denton Woods
- // Last modified: 05/25/2001 <--Y2K Compliant! =]
- //
- // Filename: src-IL/include/il_register.h
- //
- // Description: Allows the caller to specify user-defined callback functions
- // to open files DevIL does not support, to parse files
- // differently, or anything else a person can think up.
- //
- //-----------------------------------------------------------------------------
- #ifndef REGISTER_H
- #define REGISTER_H
- #include "il_internal.h"
- typedef struct iFormatL
- {
- ILstring Ext;
- IL_LOADPROC Load;
- struct iFormatL *Next;
- } iFormatL;
- typedef struct iFormatS
- {
- ILstring Ext;
- IL_SAVEPROC Save;
- struct iFormatS *Next;
- } iFormatS;
- #define I_LOAD_FUNC 0
- #define I_SAVE_FUNC 1
- ILboolean iRegisterLoad(ILconst_string FileName);
- ILboolean iRegisterSave(ILconst_string FileName);
- #endif//REGISTER_H
|