API Guide Home (Online version only) |

# SmartTextEngineTraps.h

Go to the documentation of this file.

    00001 /******************************************************************************
    00002  * Copyright (c) 2004 palmOne, Inc. or its subsidiaries.
    00003  * All rights reserved.
    00004  *****************************************************************************/
    00005 /** @ingroup STE
    00006  *
    00007  */
    00008
    00009 /**
    00010  *
    00011  * @file    SmartTextEngineTraps.h
    00012  *
    00013  * @brief   Trap definitions for the Smart Text Engine shared library.
    00014  *
    00015  */
    00016
    00017 //          Trap IDs for the Smart Text Engine Library's public functions.
    00018 //          The order of the traps must be the same as the routines are
    00019 //          listed in SmartTextEngineDispatchTable.c.
    00020
    00021
    00022 #ifndef _SMARTTEXTENGINETRAPS_H_
    00023 #define _SMARTTEXTENGINETRAPS_H_
    00024
    00025
    00026 #define STETrapOpen                         sysLibTrapOpen  /**<Open Trap*/
    00027 #define STETrapClose                        sysLibTrapClose /**<Close Trap*/
    00028
    00029 #define STETrapGetAPIVersion                (sysLibTrapCustom + 0)  /**<Trap ID for Get API function*/
    00030 #define STETrapInitializeEngine             (sysLibTrapCustom + 1)  /**<Trap ID for Initialize Engine function*/
    00031 #define STETrapResetEngine                  (sysLibTrapCustom + 2)  /**<Trap ID for Reset Engine function*/
    00032 #define STETrapReinitializeEngine           (sysLibTrapCustom + 3)  /**<Trap ID for Reinitialize Engine function*/
    00033 #define STETrapAppendTextToEngine           (sysLibTrapCustom + 4)  /**<Trap ID for Append Text to Engine*/
    00034 #define STETrapRemoveLastRecordFromEngine   (sysLibTrapCustom + 5)  /**<Trap ID for Remove last record from engine*/
    00035 #define STETrapRenderList                   (sysLibTrapCustom + 6)  /**<Trap ID for render list*/
    00036 #define STETrapRerenderList                 (sysLibTrapCustom + 7)  /**<Trap ID for Rerender list*/
    00037 #define STETrapHandleEvent                  (sysLibTrapCustom + 8)  /**<Trap ID for Handle Event*/
    00038 #define STETrapHandleSclRepeatEvent         (sysLibTrapCustom + 9)  /**<Trap ID for Handle Scl repeat event*/
    00039 #define STETrapHandlePenDownEvent           (sysLibTrapCustom + 10) /**<Trap ID for Handle pen down event*/
    00040 #define STETrapHandlePenMoveEvent           (sysLibTrapCustom + 11) /**<Trap ID for Handle pen move event*/
    00041 #define STETrapHandlePenUpEvent             (sysLibTrapCustom + 12) /**<Trap ID for Handle pen up event*/
    00042 #define STETrapHandleKeyDownEvent           (sysLibTrapCustom + 13) /**<Trap ID for Handle key down event*/
    00043 #define STETrapGetScroll                    (sysLibTrapCustom + 14) /**<Trap ID for Get scroll*/
    00044 #define STETrapSetScroll                    (sysLibTrapCustom + 15) /**<Trap ID for Set scroll*/
    00045 #define STETrapGetScrollPct                 (sysLibTrapCustom + 16) /**<Trap ID for Get scroll pct*/
    00046 #define STETrapSetScrollPct                 (sysLibTrapCustom + 17) /**<Trap ID for Set scroll pct*/
    00047 #define STETrapSetScrollToRecordNum         (sysLibTrapCustom + 18) /**<Trap ID for Set scroll to record num*/
    00048 #define STETrapSetFlags                     (sysLibTrapCustom + 19) /**<Trap ID for Set Flags*/
    00049 #define STETrapGetNumLines                  (sysLibTrapCustom + 20) /**<Trap ID for Get num lines*/
    00050 #define STETrapGetNumRecords                (sysLibTrapCustom + 21) /**<Trap ID for Get num records*/
    00051 #define STETrapHasHotRectSelection          (sysLibTrapCustom + 22) /**<Trap ID for Has hot rect selection*/
    00052 #define STETrapHasTextSelection             (sysLibTrapCustom + 23) /**<Trap ID for Has text selection*/
    00053 #define STETrapClearCurrentSelection        (sysLibTrapCustom + 24) /**<Trap ID for Clear current selection*/
    00054 #define STETrapSetCurrentTextSelection      (sysLibTrapCustom + 25) /**<Trap ID for Set current text selection*/
    00055 #define STETrapGetCurrentTextSelection      (sysLibTrapCustom + 26) /**<Trap ID for Get current selection*/
    00056 #define STETrapGetSelectedText              (sysLibTrapCustom + 27) /**<Trap ID for Get selected text*/
    00057 #define STETrapCopySelectionToClipboard     (sysLibTrapCustom + 28) /**<Trap ID for Copy selection clipboard*/
    00058 #define STETrapGetLastTapInfo               (sysLibTrapCustom + 29) /**<Trap ID for Last Tap info*/
    00059 #define STETrapSetCustomHyperlinkCallback   (sysLibTrapCustom + 30) /**<Trap ID for Set custom hyperlink callback*/
    00060 #define STETrapGetFlags                     (sysLibTrapCustom + 31) /**<Trap ID for Get flags*/
    00061 #define STETrapHasMessageSelection          (sysLibTrapCustom + 32) /**<Trap ID for Has message selection*/
    00062 #define STETrapGetParsedInformation         (sysLibTrapCustom + 33) /**<Trap ID for Get parsed information*/
    00063 #define STETrapAppendParsedInfo             (sysLibTrapCustom + 34) /**<Trap ID for Append parsed info*/
    00064 #define STEDepracated5                      (sysLibTrapCustom + 35) /**<Trap ID for Depracated5*/
    00065 #define STETrapQuickRender                  (sysLibTrapCustom + 36) /**<Trap ID for Quick Render*/
    00066
    00067 #endif /* _SMARTTEXTENGINETRAPS_H_ */
    00068

Top | Palm Developer Network © 2004-2008, Palm, Inc. All rights reserved. Generated on Fri Jun 13 10:06:55 2008 for Palm API Guide