Check priv_id of item_info when update
[platform/core/api/notification.git] / notification-ex / icon_text_item.h
index afe6197..224aa63 100644 (file)
@@ -58,14 +58,14 @@ class EXPORT_API IconTextItem : public AbstractItem {
    * @since_tizen 5.5
    * @return Bundle type data
    */
-  Bundle Serialize() const override;
+  tizen_base::Bundle Serialize() const override;
 
   /**
    * @brief Deserialize the serialized data.
    * @since_tizen 5.5
    * @param[in] b The serialized Bundle data
    */
-  void Deserialize(Bundle b) override;
+  void Deserialize(tizen_base::Bundle b) override;
 
   /**
    * @brief Finds the AbstractItem using by notification item id.
@@ -76,6 +76,14 @@ class EXPORT_API IconTextItem : public AbstractItem {
   AbstractItem& FindByID(std::string id) override;
 
   /**
+   * @brief Finds the AbstractItem using by main type.
+   * @since_tizen 5.5
+   * @param[in] type The main type
+   * @return AbstractItem object
+   */
+  AbstractItem& FindByMainType(MainType type) override;
+
+  /**
    * @brief Checks the item type exist in this notification.
    * @since_tizen 5.5
    * @param[in] type notification item type