From a05fd6659419f3cd561565a2acd247b404c72268 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Tue, 23 May 2017 14:04:20 +0900 Subject: [PATCH] Change window enum names Change-Id: I83f59f3ab6e4e55667465ad6fab612a10ee6a6bd --- Tizen.NUI/src/public/NUIConstants.cs | 6 +++--- Tizen.NUI/src/public/Window.cs | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) 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; } -- 2.7.4