API Guide Home
(Online version only)

SmartTextEngineErrors.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    SmartTextEngineErrors.h
00012  * @brief   Error codes for Smart Text Engine shared library
00013  *
00014  */
00015 
00016 
00017 #ifndef _SMARTTEXTENGINEERRORS_H_
00018 #define _SMARTTEXTENGINEERRORS_H_
00019 
00020 typedef UInt32 STEErr;  /**< Common define for Smart Text Engine Error Code return value */
00021 
00022 
00023 // Maybe one day I will implement all of these different errors
00024 #define steErrBase                  hsSTEErrorClass     /**< Error Code starting base */
00025 #define steErrUnimplemented         (steErrBase + 1)    /**< Functionality not currently implemented*/
00026 #define steErrInternal              (steErrBase + 2)    /**< Unspecified internal error */
00027 #define steErrDynamicMemory         (steErrBase + 3)    /**< Dynamic memory allocation failed */
00028 #define steErrStorageMemory         (steErrBase + 4)    /**< Storage memory allocation failed */
00029 #define steErrOperationNotAllowed   (steErrBase + 5)    /**< Operation cannot be performed at this time */
00030 #define steErrInvalidArguments      (steErrBase + 6)    /**< Bad arguments */
00031 #define steErrSTEInit               (steErrBase + 7)    /**< STE initialization failed */
00032 
00033 #endif // _SMARTTEXTENGINEERRORS_H_

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