{
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;
}
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) ;
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);
protected:
- //NotificationType m_notiType;
NotificationType m_notiType;
service_h m_service;
notification_h m_notiHandle;
} // Notification
} // DeviceAPI
-#endif // __TIZEN_STATUS_NOTIFICATION_H__
\ No newline at end of file
+#endif // __TIZEN_STATUS_NOTIFICATION_H__