compile insert ps_Event_TypeInfo_Equates
/*
   ** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved **
   
   This insert is proprietary and is not  to be used  by or  disclosed
   to others, nor is it to be copied without written permission from
   Revelation Technologies, Inc.
   
   Author   : Wile C Coyote - Super Genius
   Date     : October 2013
   Purpose  : Constants for working with PS Event Type Information
   
   
   Comments
   ========
   
   This should be kept in sync with RevPS_EventTypeInfo.h
   
   
   Amended  Date        Reason
   =======  ====        ======
   Mr C     12 Oct 22   Added PSEF_SUPPRESS_FORCE$
   Mr C     25 Oct 18   Added PSEF_OVERRIDE_FORCE$
   Mr C     26 Jul 16   Added PS_EVPOS_DESCRIPTION$
   Mr C     04 Apr 16   Updated comments
   Mr C     20 Jan 15   Added event arg flags
   Mr C     29 Sep 15   Added QUALIFIEDEVENTS property equates
   Mr C     25 Sep 15   Added PSEF_DEFAULT$
   Mr C     08 Apr 15   Added Event qualifier sync values
   Mr C     11 Feb 15   Added Event Flags type info.
*/
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#ifndef _PS_EVENT_TYPEINFO_EQUATES_
#define _PS_EVENT_TYPEINFO_EQUATES_
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // QUALIFIEDEVENTS property equates
   equ PS_QEL_POS_NAME$           to 1
   equ PS_QEL_POS_QUALIFIER$      to 2
   equ PS_QEL_POS_EVENTNAME$      to 3
   equ PS_QEL_POS_SYNCFLAGS$      to 4
   
   * // QUALIFYEVENT method equates
   equ PS_QEM_POS_ENABLED$        to 1
   equ PS_QEM_POS_QUALIFIER$      to 2
   equ PS_QEM_POS_EVENTNAME$      to 3
   equ PS_QEM_POS_SYNCFLAGS$      to 4
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // Event qualifier sync values
   
   equ PS_EVSF_ASYNC$             to 0;
   equ PS_EVSF_SYNC$              to 1;
   equ PS_EVSF_CALLBACK$          to 2; * // Implies PS_EVSF_SYNC$

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // Event flags 
   equ PSEF_SYNTHETIC$            to 0x00000001
   equ PSEF_FORCE$                to 0x00000002
   equ PSEF_CUSTOM$               to 0x00000004
   equ PSEF_DEFAULT$              to 0x00000008
   equ PSEF_OVERRIDE_FORCE$       to 0x00000010
   equ PSEF_SUPPRESS_FORCE$       to 0x00000020
   
   * // Event Arg Flags
   equ PSEAF_DELIMUP$             to 0x00000001 ; * // Convert @fm:@vm:@svm:@tm:@stm to @rm:@fm:@vm:@svm:@tm  
   equ PSEAF_DELIMDOWN$           to 0x00000020 ; * // Convert @rm:@fm:@vm:@svm:@tm  to @fm:@vm:@svm:@tm:@stm  

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // REFLECTEVENTS equates - same format is used for the ps_TypeInfo 
   * // GETEVENTS method.
   
   equ PS_EVPOS_ID$                to 1
   equ PS_EVPOS_DISPLAYNAME$       to 2
   equ PS_EVPOS_ARGS$              to 3 ; * // @svm'd
   equ PS_EVPOS_ARGTYPES$          to 4 ; * // @svm'd
   equ PS_EVPOS_ARGFLAGS$          to 5 ; * // @svm'd
   equ PS_EVPOS_CATEGORY$          to 6
   equ PS_EVPOS_FLAGS$             to 7
   equ PS_EVPOS_DESCRIPTION$       to 8
   
   
   * // PS_EVPOS_ARGS, PS_EVPOS_ARGTYPES and PS_EVPOS_ARGFLAGS form an AMV 
   * // group

///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // Event categories
   
   equ PSECTG_ACTION$               to "Action"
   equ PSECTG_BEHAVIOR$             to "Behavior"
   equ PSECTG_CUSTOM$               to "Custom"
   equ PSECTG_DATA$                 to "Data"
   equ PSECTG_DRAGDROP$             to "Drag & Drop"
   equ PSECTG_FOCUS$                to "Focus"
   equ PSECTG_KEY$                  to "Key"
   equ PSECTG_LAYOUT$               to "Layout"
   equ PSECTG_MOUSE$                to "Mouse"
   equ PSECTG_OLE$                  to "OLE"
   equ PSECTG_QBF$                  to "Query-By-Form"
   equ PSECTG_VALIDATION$           to "Validation"
    
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

   * // Event Arg types
   
   equ PSEVAT_UNTYPED$       to 0x00000000
   equ PSEVAT_STRING$        to 0x00000001
   equ PSEVAT_INT$           to 0x00000002
   equ PSEVAT_UINT$          to 0x00000004
   equ PSEVAT_FLOAT$         to 0x00000008
   equ PSEVAT_BOOL$          to 0x00000010
   equ PSEVAT_COLOR$         to 0x00000020
   equ PSEVAT_GRADIENT$      to 0x00000040
   equ PSEVAT_FONT$          to 0x00000080
   equ PSEVAT_FILE$          to 0x00000100
   equ PSEVAT_ENTITY$        to 0x00000200
   equ PSEVAT_OBJECT$        to 0x00000400
   equ PSEVAT_SIZE$          to 0x00000800
   equ PSEVAT_XYPOS$         to 0x00001000 
   equ PSEVAT_WH$            to 0x00002000
   equ PSEVAT_DIR$           to 0x00004000
   equ PSEVAT_HEXLIT$        to 0x00008000
   equ PSEVAT_HANDLE$        to 0x00010000
   equ PSEVAT_POINTER$       to 0x00020000
   equ PSEVAT_BINARY$        to 0x00040000
   equ PSEVAT_VOID$          to 0x00080000 
   equ PSEVAT_BYTE$          to 0x00100000
   equ PSEVAT_UNUSED2$       to 0x00200000
   equ PSEVAT_UNUSED3$       to 0x00400000
   equ PSEVAT_UNUSED4$       to 0x00800000
   equ PSEVAT_UNUSED5$       to 0x01000000
   equ PSEVAT_UNUSED6$       to 0x02000000
   equ PSEVAT_UNUSED7$       to 0x04000000
   equ PSEVAT_UNUSED8$       to 0x08000000
   equ PSEVAT_UNUSED9$       to 0x10000000
   equ PSEVAT_ARRAY$         to 0x20000000
   equ PSEVAT_VMLIST$        to 0x40000000
   equ PSEVAT_FMLIST$        to 0x80000000

   // Common combination types
   equ PSEVAT_FILELIST$      to bitAnd( PSEVAT_FILE$, PSEVAT_FMLIST$ )
   equ PSEVAT_COLLIST$       to bitAnd( PSEVAT_STRING$, PSEVAT_FMLIST$ )
   
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
