00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Dale Ducharme 00008 * Side Effects 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: IMG_Error.h (C++) 00015 * 00016 * COMMENTS: 00017 * This class is used to store IMG errors or warnings. 00018 * 00019 */ 00020 00021 #ifndef __IMG_Error__ 00022 #define __IMG_Error__ 00023 00024 enum IMG_ErrorCodes 00025 { 00026 IMG_ERR_NO_SUCH_FILE = 0, // file doesn't exist 00027 IMG_ERR_INVALID_FILE = 1, // unknown file type 00028 IMG_ERR_FAILED_CREATE = 2, // couldn't create file 00029 IMG_ERR_NO_TRANSLATOR = 3, // unsupported translation required 00030 IMG_ERR_FAILED_READ = 4, // scanline read failed 00031 IMG_ERR_FAILED_WRITE = 5, // scanline write failed 00032 IMG_ERR_FAILED_CLOSE = 6, // close operation failed 00033 IMG_ERR_READ_WRITEFILE = 7, // tried to read a write mode file 00034 IMG_ERR_WRITE_READFILE = 8, // tried to write a read mode file 00035 IMG_ERR_YUV_WRONG_RES = 9, // tried to save .yuv at wrong res 00036 IMG_WARN_PIC_VERSION = 10 // pic is higher version than reader 00037 }; 00038 00039 #endif
1.5.9