00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 #ifndef ICNS_H
00015 #define ICNS_H
00016 
00017 #include "il_internal.h"
00018 
00019 #ifdef _WIN32
00020         #pragma pack(push, icns_struct, 1)
00021 #endif
00022 typedef struct ICNSHEAD
00023 {
00024         char            Head[4];        
00025         ILint           Size;           
00026 } IL_PACKSTRUCT ICNSHEAD;
00027 
00028 typedef struct ICNSDATA
00029 {
00030         char            ID[4];          
00031         ILint           Size;           
00032 } IL_PACKSTRUCT ICNSDATA;
00033 
00034 #ifdef _WIN32
00035         #pragma pack(pop, icns_struct)
00036 #endif
00037 
00038 ILboolean iIsValidIcns();
00039 ILboolean iLoadIcnsInternal();
00040 ILboolean iIcnsReadData(ILboolean *BaseCreated, ILboolean IsAlpha, ILint Width, ICNSDATA *Entry, ILimage **Image);
00041 
00042 #endif//ICNS_H