Remove unused defines and file 79/150079/2 accepted/tizen/unified/20170925.151025 submit/tizen/20170918.074757 submit/tizen/20170919.005040 submit/tizen/20170920.104141 submit/tizen/20170925.071433
authorSangchul Lee <sc11.lee@samsung.com>
Thu, 14 Sep 2017 07:58:50 +0000 (16:58 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Mon, 18 Sep 2017 06:04:00 +0000 (15:04 +0900)
[Version] 0.2.107
[Issue Type] Clean-up

Change-Id: I31a89516ff760e5063976be256e0ce6ec010d141
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
include/mm_log.h
packaging/libmm-common-0.2.55.tar.gz [deleted file]
packaging/libmm-common.spec

index 52d6e05..96fec69 100644 (file)
 #ifndef __MM_LOG_H__
 #define  __MM_LOG_H__
 
+#include <dlog.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
 /**
- * Enumerations for log direction
- */
-typedef enum  {
-       LOG_DIRECTION_NONE = 0,
-       LOG_DIRECTION_CONSOLE,
-       LOG_DIRECTION_FILE,
-       LOG_DIRECTION_SYSLOG,
-       LOG_DIRECTION_SYSTEM,
-       LOG_DIRECTION_VIEWER,
-       LOG_DIRECTION_CNT,
-} log_direction_t;
-
-/**
  * Enumerations for log owner
  */
 typedef enum {
@@ -67,56 +56,12 @@ typedef enum {
        LOG_ALL        = 0xFFFFFFFF,
 } log_owner_t;
 
-/**
- * Enumerations for log class
- */
-typedef enum {
-       LOG_CLASS_NONE      = 0x00,
-       LOG_CLASS_VERBOSE   = 0x01,
-       LOG_CLASS_DEBUG     = 0x02,
-       LOG_CLASS_INFO      = 0x04,
-       LOG_CLASS_WARNING   = 0x08,
-       LOG_CLASS_ERR       = 0x10,
-       LOG_CLASS_CRITICAL  = 0x20,
-       LOG_CLASS_ALL       = 0xFF,
-} log_class_t;
-
-#if defined(MM_DEBUG_FLAG)
-/**
- * This function print log.
- *
- * @param   owner       [in]    owner of log message.
- * @param   class       [in]    class of log message.
- * @param   msg         [in]    message to print.
- *
- * @remark  Print log message. Similar to printf except owner and class.
- * @see     log_print_rel
- */
-#define log_print_dbg(owner, class, msg, args...) log_print_rel(owner, class, msg, ##args)
-
-/**
- * This function assert condition.
- *
- * @param   condition       [in]    condition for check
- *
- * @remark  If condition is not true, system is aborted. Same to assert function.
- * @see     log_assert_rel
- */
-#define log_assert_dbg(condition)  log_assert_rel((condition))
-
-#else
-#define log_print_dbg(owner, class, msg, args...)
-#define log_assert_dbg(condition)
-#endif
-
 #define _SLOG(class, tag, format, arg...) \
        SLOG(class, tag, format, ##arg)
 
 #define _SECURE_SLOG(class, tag, format, arg...) \
        SECURE_SLOG(class, tag, format, ##arg)
 
-#include <dlog.h>
-
 #define mm_log_by_owner(owner, class, msg, args...) \
        do { \
                switch (owner) { \
diff --git a/packaging/libmm-common-0.2.55.tar.gz b/packaging/libmm-common-0.2.55.tar.gz
deleted file mode 100644 (file)
index 75c09c3..0000000
Binary files a/packaging/libmm-common-0.2.55.tar.gz and /dev/null differ
index 4293573..0fd30cb 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-common
 Summary:    Multimedia Framework Common Lib
-Version:    0.2.106
+Version:    0.2.107
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0