From 11632f60d366fa0aea6b7c794d468050e155aa5e Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Mon, 26 Oct 2015 21:14:46 +0900 Subject: [PATCH] Add error enumeration for resource [Version] Release 0.2.89 [Profile] Common [Issue Type] Add enumeration Change-Id: I281f8d6add1ba472a7c5af37e0510aa4eee61f8e --- include/mm_error.h | 9 ++++++++- packaging/libmm-common.spec | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/include/mm_error.h b/include/mm_error.h index 27edb33..eef4562 100755 --- a/include/mm_error.h +++ b/include/mm_error.h @@ -52,6 +52,7 @@ #define MM_ERROR_IMAGE_CLASS 0x80000a00 /**< Category for describing image error group */ #define MM_ERROR_MGR_CLASS 0x80000c00 /**< Category for describing message error group */ #define MM_ERROR_POLICY_CLASS 0x80000b00 /**< Category for Policy */ +#define MM_ERROR_RESOURCE_CLASS 0x80000f00 /**< Category for Resource */ #define MM_ERROR_NOT_IMPLEMENTED 0x80000d00 /**< Error message for not implemented functions */ #define MM_ERROR_TRANSCODE_CLASS 0x80000e00 /**< Error message for not implemented functions */ @@ -219,7 +220,6 @@ #define MM_ERROR_PLAYER_SOUND_EFFECT_NOT_SUPPORTED_FILTER (MM_ERROR_PLAYER_CLASS | 0x51) /**< Not supported filter */ #define MM_ERROR_PLAYER_SOUND_EFFECT_INVALID_STATUS (MM_ERROR_PLAYER_CLASS | 0x52) /**< Invalid status */ - /* MM_CAMCORDER_ERROR_CLASS */ @@ -388,6 +388,13 @@ @} */ +/* + MM_ERROR_RESOURCE_CLASS + */ +#define MM_ERROR_RESOURCE_NOT_INITIALIZED (MM_ERROR_RESOURCE_CLASS | 0x01) /**< Not initialized */ +#define MM_ERROR_RESOURCE_INTERNAL (MM_ERROR_RESOURCE_CLASS | 0x02) /**< Internal errors */ +#define MM_ERROR_RESOURCE_INVALID_STATE (MM_ERROR_RESOURCE_CLASS | 0x03) /**< Invalid state */ + #ifdef __cplusplus } diff --git a/packaging/libmm-common.spec b/packaging/libmm-common.spec index 8548f27..c3e7e53 100644 --- a/packaging/libmm-common.spec +++ b/packaging/libmm-common.spec @@ -1,6 +1,6 @@ Name: libmm-common Summary: Multimedia Framework Common Lib -Version: 0.2.88 +Version: 0.2.89 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 -- 2.7.4