rtEXIEventCode.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00031 #ifndef _RTEXIEVENTCODE_H_
00032 #define _RTEXIEVENTCODE_H_
00033
00034 #include "rtexisrc/rtEXIExternDefs.h"
00035 #include "rtxsrc/rtxContext.h"
00036
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040
00047 typedef struct OSEXIEventCode {
00048 OSINT32 part1;
00049 OSINT32 part2;
00050 OSINT32 part3;
00051 } OSEXIEventCode;
00052
00053
00054 extern const OSEXIEventCode gc_EC_0;
00055 extern const OSEXIEventCode gc_EC_0_0;
00056 extern const OSEXIEventCode gc_EC_0_1;
00057 extern const OSEXIEventCode gc_EC_0_2;
00058 extern const OSEXIEventCode gc_EC_0_3;
00059 extern const OSEXIEventCode gc_EC_0_4;
00060 extern const OSEXIEventCode gc_EC_0_5;
00061 extern const OSEXIEventCode gc_EC_0_6_0;
00062 extern const OSEXIEventCode gc_EC_0_6_1;
00063 extern const OSEXIEventCode gc_EC_1_0;
00064 extern const OSEXIEventCode gc_EC_1_1;
00065 extern const OSEXIEventCode gc_EC_1_2;
00066 extern const OSEXIEventCode gc_EC_1_1_0;
00067 extern const OSEXIEventCode gc_EC_1_1_1;
00068 extern const OSEXIEventCode gc_EC_1_3_0;
00069 extern const OSEXIEventCode gc_EC_1_3_1;
00070 extern const OSEXIEventCode gc_EC_2_0;
00071
00081 EXTERNEXI int rtEXIEventCodeCompare
00082 (const OSEXIEventCode* pec1, const OSEXIEventCode* pec2);
00083
00094 EXTERNEXI OSEXIEventCode*
00095 rtEXIEventCodeCopy (OSCTXT* pctxt, const OSEXIEventCode* pec);
00096
00106 EXTERNEXI OSBOOL rtEXIEventCodesEqual
00107 (const OSEXIEventCode* pec1, const OSEXIEventCode* pec2);
00108
00120 EXTERNEXI char* rtEXIEventCodeToString
00121 (OSCTXT* pctxt, const OSEXIEventCode* pec);
00122
00129 EXTERNEXI OSUINT32 rtEXIEventCodeLength (const OSEXIEventCode* pec);
00130
00139 EXTERNEXI OSEXIEventCode* rtEXINewEventCode1 (OSCTXT* pctxt, OSINT32 part1);
00140
00150 EXTERNEXI OSEXIEventCode* rtEXINewEventCode2
00151 (OSCTXT* pctxt, OSINT32 part1, OSINT32 part2);
00152
00163 EXTERNEXI OSEXIEventCode* rtEXINewEventCode3
00164 (OSCTXT* pctxt, OSINT32 part1, OSINT32 part2, OSINT32 part3);
00165
00172 #define rtEXISetEventCode1(pEventCode,part1) \
00173 rtEXISetEventCode3(pEventCode, part1, OSINT32_MIN, OSINT32_MIN)
00174
00182 #define rtEXISetEventCode2(pEventCode,part1,part2) \
00183 rtEXISetEventCode3(pEventCode, part1, part2, OSINT32_MIN)
00184
00193 EXTERNEXI void rtEXISetEventCode3
00194 (OSEXIEventCode* pEventCode, OSINT32 part1, OSINT32 part2, OSINT32 part3);
00195
00196 #ifndef _COMPACT
00197
00202 EXTERNEXI void rtEXIEventCodePrint (const OSEXIEventCode* pEventCode);
00203 #endif
00204
00205 #ifdef __cplusplus
00206 }
00207 #endif
00208
00211 #endif