Add error enumeration for resource 71/50171/1 accepted/tizen/mobile/20151031.105439 accepted/tizen/tv/20151031.110218 accepted/tizen/wearable/20151031.110447 submit/tizen/20151029.122343 submit/tizen/20151030.020413
authorSangchul Lee <sc11.lee@samsung.com>
Mon, 26 Oct 2015 12:14:46 +0000 (21:14 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 26 Oct 2015 12:16:05 +0000 (21:16 +0900)
[Version] Release 0.2.89
[Profile] Common
[Issue Type] Add enumeration

Change-Id: I281f8d6add1ba472a7c5af37e0510aa4eee61f8e

include/mm_error.h
packaging/libmm-common.spec

index 27edb33..eef4562 100755 (executable)
@@ -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 */
 
 #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
 */
        @}
 */
 
+/*
+        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
        }
index 8548f27..c3e7e53 100644 (file)
@@ -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