summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyuho Jo <kyuho.jo@samsung.com>2015-03-16 22:31:59 +0900
committerKyuho Jo <kyuho.jo@samsung.com>2015-03-17 10:09:03 +0900
commit460c4b6f72d112add8a53b37d4111e3cae12dc74 (patch)
tree8ea85d57475bdc5836f9c8bb7af97db9d7ac15a3
parent00e2ba060b6dcdba1efa7b0e97a848df4e7ce9f1 (diff)
downloadnotification-460c4b6f72d112add8a53b37d4111e3cae12dc74.tar.gz
notification-460c4b6f72d112add8a53b37d4111e3cae12dc74.tar.bz2
notification-460c4b6f72d112add8a53b37d4111e3cae12dc74.zip
API changes for button icon
Change-Id: Iaee15c6f0481738462cecac6904db688f5ecca76 Signed-off-by: Kyuho Jo <kyuho.jo@samsung.com>
-rwxr-xr-xinclude/notification.h1
-rwxr-xr-xinclude/notification_error.h2
-rwxr-xr-xinclude/notification_type.h37
3 files changed, 23 insertions, 17 deletions
diff --git a/include/notification.h b/include/notification.h
index a618e6e..f371f8a 100755
--- a/include/notification.h
+++ b/include/notification.h
@@ -1548,6 +1548,7 @@ int notification_get_tag(notification_h noti, const char **tag);
/**
* @internal
* @brief Gets the package name of the notification
+ * @remarks The pkgname must be released using free()
* @since_tizen 2.4
* @privlevel NP
* @param[in] noti Notification handle
diff --git a/include/notification_error.h b/include/notification_error.h
index a236e21..2eb4ed3 100755
--- a/include/notification_error.h
+++ b/include/notification_error.h
@@ -48,7 +48,7 @@ typedef enum _notification_error {
NOTIFICATION_ERROR_FROM_DBUS = TIZEN_ERROR_NOTIFICATION | 0x03, /**< Error from DBus */
NOTIFICATION_ERROR_NOT_EXIST_ID = TIZEN_ERROR_NOTIFICATION | 0x04, /**< Not exist private ID */
NOTIFICATION_ERROR_SERVICE_NOT_READY = TIZEN_ERROR_NOTIFICATION | 0x05, /**< No reponse from notification service */
- NOTIFICATION_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented */
+ NOTIFICATION_ERROR_INVALID_OPERATION = TIZEN_ERROR_INVALID_OPERATION, /**< Function not implemented (@b Since: 2.4) */
} notification_error_e;
/**
diff --git a/include/notification_type.h b/include/notification_type.h
index 5d012d6..056c89b 100755
--- a/include/notification_type.h
+++ b/include/notification_type.h
@@ -83,6 +83,8 @@ typedef enum _notification_event_type {
NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_2 = 2, /** < Event type : Click on button 2 */
NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_3 = 3, /** < Event type : Click on button 3 */
NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_4 = 4, /** < Event type : Click on button 4 */
+ NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_5 = 5, /** < Event type : Click on button 5 */
+ NOTIFICATION_EVENT_TYPE_CLICK_ON_BUTTON_6 = 6, /** < Event type : Click on button 6 */
NOTIFICATION_EVENT_TYPE_CLICK_ON_ICON = 5, /** < Event type : Click on icon */
NOTIFICATION_EVENT_TYPE_CLICK_ON_THUMBNAIL = 6, /** < Event type : Click on thumbnail */
} notification_event_type_e;
@@ -99,7 +101,6 @@ typedef enum _notification_sound_type {
NOTIFICATION_SOUND_TYPE_USER_DATA,
/**< User sound data */
NOTIFICATION_SOUND_TYPE_MAX,
- /**< Max flag */
} notification_sound_type_e;
/**
@@ -112,7 +113,7 @@ typedef enum _notification_vibration_type {
NOTIFICATION_VIBRATION_TYPE_DEFAULT = 0,/**< Default vibrate pattern */
NOTIFICATION_VIBRATION_TYPE_USER_DATA,
/**< User vibration data */
- NOTIFICATION_VIBRATION_TYPE_MAX,/**< Max flag */
+ NOTIFICATION_VIBRATION_TYPE_MAX,
} notification_vibration_type_e;
/**
@@ -133,11 +134,11 @@ typedef enum _notification_led_op {
* @since_tizen 2.3
*/
typedef enum _notification_count_display_type {
- NOTIFICATION_COUNT_DISPLAY_TYPE_NONE = -1, /**< None */
+ NOTIFICATION_COUNT_DISPLAY_TYPE_NONE = -1,
NOTIFICATION_COUNT_DISPLAY_TYPE_LEFT = 0, /**< The number is placed to left */
NOTIFICATION_COUNT_DISPLAY_TYPE_IN, /**< The number is placed to center */
NOTIFICATION_COUNT_DISPLAY_TYPE_RIGHT, /**< The number is placed to right */
- NOTIFICATION_COUNT_DISPLAY_TYPE_MAX, /**< Max flag */
+ NOTIFICATION_COUNT_DISPLAY_TYPE_MAX,
} notification_count_display_type_e;
/**
@@ -146,7 +147,6 @@ typedef enum _notification_count_display_type {
*/
typedef enum _notification_text_type {
NOTIFICATION_TEXT_TYPE_NONE = -1,
- /**< NONE */
NOTIFICATION_TEXT_TYPE_TITLE = 0,
/**< Title */
NOTIFICATION_TEXT_TYPE_CONTENT,
@@ -181,8 +181,11 @@ typedef enum _notification_text_type {
/**< Text on button 3 */
NOTIFICATION_TEXT_TYPE_BUTTON_4,
/**< Text on button 4 */
+ NOTIFICATION_TEXT_TYPE_BUTTON_5,
+ /**< Text on button 5 */
+ NOTIFICATION_TEXT_TYPE_BUTTON_6,
+ /**< Text on button 6 */
NOTIFICATION_TEXT_TYPE_MAX,
- /**< Max flag */
} notification_text_type_e;
/**
@@ -191,7 +194,6 @@ typedef enum _notification_text_type {
*/
typedef enum _notification_image_type {
NOTIFICATION_IMAGE_TYPE_NONE = -1,
- /**< NONE */
NOTIFICATION_IMAGE_TYPE_ICON = 0,
/**< Icon */
NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR,
@@ -216,18 +218,21 @@ typedef enum _notification_image_type {
/**< Image for thumbnail list */
NOTIFICATION_IMAGE_TYPE_LIST_5,
/**< Image for thumbnail list */
+ NOTIFICATION_IMAGE_TYPE_BUTTON_1,
+ /**< Image for button 1 */
+ NOTIFICATION_IMAGE_TYPE_BUTTON_2,
+ /**< Image for button 2 */
+ NOTIFICATION_IMAGE_TYPE_BUTTON_3,
+ /**< Image for button 3 */
+ NOTIFICATION_IMAGE_TYPE_BUTTON_4,
+ /**< Image for button 4 */
+ NOTIFICATION_IMAGE_TYPE_BUTTON_5,
+ /**< Image for button 5 */
+ NOTIFICATION_IMAGE_TYPE_BUTTON_6,
+ /**< Image for button 6 */
NOTIFICATION_IMAGE_TYPE_MAX,
- /**< Max flag */
} notification_image_type_e;
-/*typedef enum _notification_button_type {
- NOTIFICATION_BUTTON_TYPE_NONE = -1,
- NOTIFICATION_BUTTON_TYPE_RUN = 0,
- NOTIFICATION_BUTTON_TYPE_VIEW,
- NOTIFICATION_BUTTON_TYPE_DISMISS,
- NOTIFICATION_BUTTON_TYPE_MAX,
-}notification_button_type_e;*/
-
/**
* @brief Enumeration for application execution type.
* @since_tizen 2.3