Update change log and spec for wrt-plugins-tizen_0.4.44
[platform/framework/web/wrt-plugins-tizen.git] / src / Notification / StatusNotification.h
index 8fdb131..408330f 100755 (executable)
@@ -36,27 +36,30 @@ class StatusNotification
 {
 
 public:
-       StatusNotification(NotificationType type);              //type.
-       StatusNotification(void* noti);                                 // notification 
-       StatusNotification(int privID);                         //private ID of Notification.
+       explicit StatusNotification(NotificationType type);             //type.
+       explicit StatusNotification(void* noti);                        // notification
+       explicit StatusNotification(int privID);     //private ID of Notification.
        
        ~StatusNotification();
-       
+
+#if 0  
         NotificationProgressType getProgressType()
         {
                return m_progressType;
         }
-
-       std::string getEnumProgressType();
-        
         void setProgressType( NotificationProgressType type)
         {
                m_progressType = type;
         }
+#endif
+
+       std::string getEnumProgressType();
+        
+
         void setUpdatedFlag(bool value)
         {
              if (value)
-               LogDebug("set True");
+               LoggerD("set True");
              m_notiUpdated = value;
         }
         
@@ -105,9 +108,12 @@ public:
        
        bool getDefaultVibration() ;    
        void setDefaultVibration(const bool& vibration) ;
-       
-       double getProgressValue() ;
-       void setProgressValue(const double & progressValue) ;
+
+       NotificationProgressType getProgressType();
+       void setProgressType(NotificationProgressType type);
+
+        double getProgressValue() ;
+        void setProgressValue(const double & progressValue);
        
        std::string getSubIconPath() ;
        void setSubIconPath(const std::string& subIconPath) ;
@@ -140,6 +146,15 @@ public:
        void setApplicationId(const std::string& appId);
        std::string getApplicationId();
 
+       std::string getLight();
+       void setLight(std::string color);
+       
+       unsigned long getLightOnTime();
+       void setLightOnTime(unsigned long onTime);
+       
+       unsigned long getLightOffTime();
+       void setLightOffTime(unsigned long offTime);
+
        void* getNotificationHandle();
        void setNotificationHandle(void *handle);
 
@@ -168,7 +183,6 @@ private:
                
 protected:
 
-       //NotificationType m_notiType;
        NotificationType m_notiType;
        service_h m_service;
        notification_h m_notiHandle;
@@ -184,4 +198,4 @@ protected:
 } // Notification
 } // DeviceAPI
 
-#endif // __TIZEN_STATUS_NOTIFICATION_H__
\ No newline at end of file
+#endif // __TIZEN_STATUS_NOTIFICATION_H__