Fix wrong log value
[platform/core/api/notification.git] / notification-ex / iitem_factory.h
index aec8652..0cd0358 100644 (file)
 namespace notification {
 namespace item {
 
+/**
+ * @brief The interface class for ItemFactory.
+ * @since_tizen 5.5
+ */
 class EXPORT_API IItemFactory {
  public:
+  /**
+   * @brief Destructor
+   * @since_tizen 5.5
+   */
   virtual ~IItemFactory() = default;
-  virtual std::unique_ptr<AbstractItem> CreateItem(AbstractItem::Type type) = 0;
+
+  /**
+   * @brief Creates the AbstractItem from type
+   * @since_tizen 5.5
+   * @param[in] type The type of notification item
+   */
+  virtual std::unique_ptr<AbstractItem> CreateItem(int type) = 0;
 };
 
 }  // namespace item
 }  // namespace notification
 
-#endif  // NOTIFICATION_EX_ITEM_FACTORY_H_
+#endif  // NOTIFICATION_EX_IITEM_FACTORY_H_