From: Heeyong Song Date: Tue, 23 May 2017 05:04:20 +0000 (+0900) Subject: Change window enum names X-Git-Tag: nui_0.2.41~12^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F95%2F130595%2F1;p=platform%2Fcore%2Fcsapi%2Fnui.git Change window enum names Change-Id: I83f59f3ab6e4e55667465ad6fab612a10ee6a6bd --- diff --git a/Tizen.NUI/src/public/NUIConstants.cs b/Tizen.NUI/src/public/NUIConstants.cs index a09b96d..def703e 100755 --- a/Tizen.NUI/src/public/NUIConstants.cs +++ b/Tizen.NUI/src/public/NUIConstants.cs @@ -1248,7 +1248,7 @@ namespace Tizen.NUI /// /// An enum of screen mode. /// - public enum ScreenModeType { + public enum ScreenMode { /// /// The mode which turns the screen off after a timeout. /// @@ -1262,7 +1262,7 @@ namespace Tizen.NUI /// /// An enum of notification window's priority level. /// - public enum NotificationLevelType { + public enum NotificationLevel { /// /// No notification level.
/// Default level.
@@ -1310,4 +1310,4 @@ namespace Tizen.NUI ///
Dialog } -} \ No newline at end of file +} diff --git a/Tizen.NUI/src/public/Window.cs b/Tizen.NUI/src/public/Window.cs index 8815c05..729bf50 100755 --- a/Tizen.NUI/src/public/Window.cs +++ b/Tizen.NUI/src/public/Window.cs @@ -250,7 +250,7 @@ namespace Tizen.NUI /// /// The notification window level. /// True if no error occurred, false otherwise. - public bool SetNotificationLevel(NotificationLevelType level) { + public bool SetNotificationLevel(NotificationLevel level) { bool ret = NDalicPINVOKE.SetNotificationLevel(swigCPtr, (int)level); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -260,8 +260,8 @@ namespace Tizen.NUI /// Gets a priority level for the specified notification window. /// /// The notification window level. - public NotificationLevelType GetNotificationLevel() { - NotificationLevelType ret = (NotificationLevelType)NDalicPINVOKE.GetNotificationLevel(swigCPtr); + public NotificationLevel GetNotificationLevel() { + NotificationLevel ret = (NotificationLevel)NDalicPINVOKE.GetNotificationLevel(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -290,7 +290,7 @@ namespace Tizen.NUI /// /// The screen mode. /// True if no error occurred, false otherwise. - public bool SetScreenMode(ScreenModeType screenMode) { + public bool SetScreenMode(ScreenMode screenMode) { bool ret = NDalicPINVOKE.SetScreenMode(swigCPtr, (int)screenMode); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -300,8 +300,8 @@ namespace Tizen.NUI /// Gets a screen mode of the window. /// /// The screen mode. - public ScreenModeType GetScreenMode() { - ScreenModeType ret = (ScreenModeType)NDalicPINVOKE.GetScreenMode(swigCPtr); + public ScreenMode GetScreenMode() { + ScreenMode ret = (ScreenMode)NDalicPINVOKE.GetScreenMode(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }