/****************************************************************************** * Copyright (c) 2004 palmOne, Inc. or its subsidiaries. * All rights reserved. *****************************************************************************/ /** @ingroup STE * */ /** * @file SmartTextEngineDef.h * * @brief Public include file for Smart Text Engine shared library * * The calling application should always load this library with * SysLibLoad() before use, even if it is already open by another * application(ie, SysLibFind() returns a valid refnum). When * the application is done with the library, it should be * unloaded with SysLibRemove(). We do this because there is * no good way to synchronize loading and unloading of libraries * among multiple applications. It also greatly simplifies internal * */ #ifndef _SMARTTEXTENGINEDEF_H_ #define _SMARTTEXTENGINEDEF_H_ #include #include "Common/Libraries/SmartTextEngine/SmartTextEngineErrors.h" #include "Common/Libraries/SmartTextEngine/SmartTextEngineRsc.h" #ifdef __cplusplus extern "C" { #endif #define steLibName "SmartTextEngine.lib" /**< Internal library name which can(but shouldn't) be passed to SysLibFind() */ #define steLibDBName "Smart Text Engine" /**< Name used for DmFindDatabase */ /** * @name Parsed types * */ /*@{*/ #define kParsedPhoneNumber 1 #define kParsedURL 2 #define kParsedEmail 3 /*@}*/ #define kSmartTextBit 0x4000 /**