- Main Page
- Data Structures
- Files

- File List
- Globals

# E:/DevIL/src-IL/include/il_register.h

    00001 //-----------------------------------------------------------------------------
    00002 //
    00003 // ImageLib Sources
    00004 // Copyright (C) 2000-2002 by Denton Woods
    00005 // Last modified: 05/25/2001 <--Y2K Compliant! =]
    00006 //
    00007 // Filename: src-IL/include/il_register.h
    00008 //
    00009 // Description: Allows the caller to specify user-defined callback functions
    00010 //                               to open files DevIL does not support, to parse files
    00011 //                               differently, or anything else a person can think up.
    00012 //
    00013 //-----------------------------------------------------------------------------
    00014
    00015
    00016 #ifndef REGISTER_H
    00017 #define REGISTER_H
    00018
    00019 #include "il_internal.h"
    00020
    00021 typedef struct iFormatL
    00022 {
    00023         ILstring        Ext;
    00024         IL_LOADPROC     Load;
    00025         struct iFormatL *Next;
    00026 } iFormatL;
    00027
    00028 typedef struct iFormatS
    00029 {
    00030         ILstring        Ext;
    00031         IL_SAVEPROC     Save;
    00032         struct iFormatS *Next;
    00033 } iFormatS;
    00034
    00035 #define I_LOAD_FUNC 0
    00036 #define I_SAVE_FUNC 1
    00037
    00038 ILboolean iRegisterLoad(ILconst_string FileName);
    00039 ILboolean iRegisterSave(ILconst_string FileName);
    00040
    00041 #endif//REGISTER_H