Fix some parameter's name 44/204044/2
authormk5004.lee <mk5004.lee@samsung.com>
Fri, 19 Apr 2019 01:40:34 +0000 (10:40 +0900)
committermk5004.lee <mk5004.lee@samsung.com>
Fri, 19 Apr 2019 01:42:42 +0000 (10:42 +0900)
 - iconPath -> icon_path
   imagePath -> image_path

Change-Id: I2b67b7737b940e3aa9254e7758fb44b5a15cdb38
Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
notification-ex/icon_item.cc
notification-ex/icon_item.h
notification-ex/icon_item_implementation.h
notification-ex/image_item.cc
notification-ex/image_item.h
notification-ex/image_item_implementation.h

index bee8104..accc6d4 100644 (file)
 namespace notification {
 namespace item {
 
-IconItem::IconItem(std::string iconPath, std::shared_ptr<AbstractAction> action)
-    : ImageItem(iconPath, action) , impl_(new Impl(this, iconPath)) {
+IconItem::IconItem(std::string icon_path, std::shared_ptr<AbstractAction> action)
+    : ImageItem(icon_path, action) , impl_(new Impl(this, icon_path)) {
 }
 
-IconItem::IconItem(std::string id, std::string iconPath,
+IconItem::IconItem(std::string id, std::string icon_path,
     std::shared_ptr<AbstractAction> action)
-    : ImageItem(id, iconPath, action), impl_(new Impl(this, iconPath)) {
+    : ImageItem(id, icon_path, action), impl_(new Impl(this, icon_path)) {
 }
 
-IconItem::Impl::Impl(IconItem* parent, std::string iconPath)
-    : parent_(parent), iconPath_(iconPath) {
+IconItem::Impl::Impl(IconItem* parent, std::string icon_path)
+    : parent_(parent), icon_path_(icon_path) {
   LOGI("IconItem impl created");
 }
 
index 6ae63a4..6453416 100644 (file)
@@ -36,20 +36,20 @@ class EXPORT_API IconItem : public ImageItem {
   /**
    * @brief Constructor
    * @since_tizen 5.5
-   * @param[in] iconpath The icon path of IconItem
+   * @param[in] icon_path The icon path of IconItem
    * @param[in] action The action for IconItem
    */
-  IconItem(std::string iconPath,
+  IconItem(std::string icon_path,
     std::shared_ptr<AbstractAction> action = std::shared_ptr<AbstractAction>({}));
 
   /**
    * @brief Constructor
    * @since_tizen 5.5
    * @param[in] id The IconItem id
-   * @param[in] iconpath The icon path of IconItem
+   * @param[in] icon_path The icon path of IconItem
    * @param[in] action The action for IconItem
    */
-  IconItem(std::string id, std::string iconPath,
+  IconItem(std::string id, std::string icon_path,
     std::shared_ptr<AbstractAction> action = std::shared_ptr<AbstractAction>({}));
 
   /**
index 4da0f01..66325a1 100644 (file)
@@ -32,11 +32,11 @@ class IconItem::Impl {
 
  private:
   friend class IconItem;
-  Impl(IconItem* parent, std::string iconPath);
+  Impl(IconItem* parent, std::string icon_path);
 
  private:
   IconItem* parent_;
-  std::string iconPath_;
+  std::string icon_path_;
 };
 
 }  // namespace item
index c829f5e..07fd987 100644 (file)
 namespace notification {
 namespace item {
 
-ImageItem::ImageItem(std::string imagePath,
+ImageItem::ImageItem(std::string image_path,
     std::shared_ptr<AbstractAction> action)
-    : AbstractItem(action), impl_(new Impl(this, imagePath)) {
+    : AbstractItem(action), impl_(new Impl(this, image_path)) {
 }
 
-ImageItem::ImageItem(std::string id, std::string imagePath,
+ImageItem::ImageItem(std::string id, std::string image_path,
     std::shared_ptr<AbstractAction> action)
-    : AbstractItem(id, action), impl_(new Impl(this, imagePath)) {
+    : AbstractItem(id, action), impl_(new Impl(this, image_path)) {
 }
 
-ImageItem::Impl::Impl(ImageItem* parent, std::string imagePath)
-    : parent_(parent), imagePath_(imagePath) {
+ImageItem::Impl::Impl(ImageItem* parent, std::string image_path)
+    : parent_(parent), image_path_(image_path) {
   LOGI("ImageItem impl created");
 }
 
@@ -53,14 +53,14 @@ int ImageItem::GetType() const {
 Bundle ImageItem::Serialize() const {
   Bundle b;
   b = AbstractItem::Serialize();
-  b.Add(IMAGE_PATH_KEY, impl_->imagePath_);
+  b.Add(IMAGE_PATH_KEY, impl_->image_path_);
 
   return b;
 }
 
 void ImageItem::Deserialize(Bundle b) {
   AbstractItem::Deserialize(b);
-  impl_->imagePath_ = b.GetString(IMAGE_PATH_KEY);
+  impl_->image_path_ = b.GetString(IMAGE_PATH_KEY);
 }
 
 AbstractItem& ImageItem::FindByID(std::string id) {
@@ -71,7 +71,7 @@ AbstractItem& ImageItem::FindByID(std::string id) {
 }
 
 std::string ImageItem::GetImagePath() const {
-  return impl_->imagePath_;
+  return impl_->image_path_;
 }
 
 ImageItem::~ImageItem() = default;
index 83b27a2..0ac43e3 100644 (file)
@@ -36,20 +36,20 @@ class EXPORT_API ImageItem : public AbstractItem {
   /**
    * @brief Constructor
    * @since_tizen 5.5
-   * @param[in] imagePath The image path of ImageItem
+   * @param[in] image_path The image path of ImageItem
    * @param[in] action The action for ImageItem
    */
-  ImageItem(std::string imagePath,
+  ImageItem(std::string image_path,
     std::shared_ptr<AbstractAction> action = std::shared_ptr<AbstractAction>({}));
 
   /**
    * @brief Constructor
    * @since_tizen 5.5
    * @param[in] id The ImageItem id
-   * @param[in] imagePath The image path of ImageItem
+   * @param[in] image_path The image path of ImageItem
    * @param[in] action The action for ImageItem
    */
-  ImageItem(std::string id, std::string imagePath,
+  ImageItem(std::string id, std::string image_path,
     std::shared_ptr<AbstractAction> action = std::shared_ptr<AbstractAction>({}));
 
   /**
index 367649f..5c09b92 100644 (file)
@@ -32,11 +32,11 @@ class ImageItem::Impl {
 
  private:
   friend class ImageItem;
-  Impl(ImageItem* parent, std::string imagePath);
+  Impl(ImageItem* parent, std::string image_path);
 
  private:
   ImageItem* parent_;
-  std::string imagePath_;
+  std::string image_path_;
 };
 
 }  // namespace item