error.h

00001 
00002 // protect multiple inclusion
00003 #ifndef _ERROR_H_INCLUDED_
00004 #define _ERROR_H_INCLUDED_
00005 
00006 
00007 // all functions shall return a status
00008 typedef unsigned char ERR_TYPE;
00009 
00010 
00011 #define ERR_OK                                                                          0
00012 #define ERR_UNKWON                                                                      1
00013 #define ERR_YES                                                                         2
00014 #define ERR_NO                                                                          3
00015 #define ERR_IRRLICHT_INIT_FAILED                                        10
00016 #define ERR_IRRLICHT_UPDATE_FAILED                                      11
00017 #define ERR_PHYSX_INIT_FAILED                                           20
00018 #define ERR_PHYSX_UPDATE_FAILED                                         21
00019 #define ERR_PHOTO_LOAD_FAILED                                           30
00020 #define ERR_PHOTO_CREATEACTOR_FAILED                            31
00021 #define ERR_PHOTO_CREATEPARTICEL_FAILED                         32
00022 #define ERR_TABLE_LOAD_FAILED                                           40
00023 #define ERR_TABLE_CREATEACTOR_FAILED                            41
00024 #define ERR_EVENT_CONSUMED                                                      100
00025 #define ERR_REGISTRY_OPEN_KEY_FAILED                            120
00026 #define ERR_REGISTRY_CREATE_KEY_FAILED                          121
00027 #define ERR_REGISTRY_NAME_NOT_FOUND                                     122
00028 #define ERR_REGISTRY_GET_EXE_PATH_FAILED                        123
00029 #define ERR_PHOTOCOLLECTION_MAX_NUM_PHOTOS_REACHED      130
00030 #define ERR_PHOTOCOLLECTION_PHOTO_NOT_FOUND                     131
00031 #define ERR_MOUSE_CREATE_JOINT_FAILED                           140
00032 #define ERR_MOUSE_CREATE_MOUSE_FAILED                           141
00033 #define ERR_VIDEOTEXTURE_VIDEO_FINISHED                         150
00034 #define ERR_VIDEOTEXTURE_WAIT_FOR_SYNC                          151
00035 
00036 
00037 
00038 
00039 #endif // #ifndef _ERROR_H_INCLUDED_

Generated on Sun Dec 2 03:10:22 2007 for TableTop by  doxygen 1.5.4