Modify floating Point API in QuickPanelFrame
authorJaeHwan Lee <jael.lee@samsung.com>
Wed, 6 Mar 2013 11:25:46 +0000 (20:25 +0900)
committerJaeHwan Lee <jael.lee@samsung.com>
Wed, 6 Mar 2013 11:25:46 +0000 (20:25 +0900)
Change-Id: Ia9424de97cca2db0ede0f33bd9ec31e2a52f3289
Signed-off-by: JaeHwan Lee <jael.lee@samsung.com>
inc/FShellQuickPanelFrame.h
src/FShellQuickPanelFrame.cpp

index b2cf0e9..7bae003 100644 (file)
@@ -220,7 +220,7 @@ public:
         * @exception  E_PRIVILEGE_DENIED     The application does not have the privilege to call this method.
         * @exception  E_INVALID_ARG          The @c height is less than or equal to @c 0.0f.
         */
-        result ConstructF(float height);
+        result Construct(float height);
 
         /**
         * Initializes this instance of %QuickPanelFrame with the specified parameters.
@@ -237,7 +237,7 @@ public:
         * @exception  E_PRIVILEGE_DENIED     The application does not have the privilege to call this method.
         * @exception  E_INVALID_ARG          The @c height is less than or equal to @c 0.0f.
         */
-        result ConstructF(const Tizen::Ui::Layout& layout, float height);
+        result Construct(const Tizen::Ui::Layout& layout, float height);
 
         /**
         * Constructs and initializes an instance of %QuickPanelFrame with the specified parameters.
@@ -255,7 +255,7 @@ public:
         * @exception  E_PRIVILEGE_DENIED     The application does not have the privilege to call this method.
         * @exception  E_INVALID_ARG          The @c height is less than or equal to @c 0.0f.
         */
-        result ConstructF(const Tizen::Ui::Layout& portraitLayout, const Tizen::Ui::Layout& landscapeLayout, float height);
+        result Construct(const Tizen::Ui::Layout& portraitLayout, const Tizen::Ui::Layout& landscapeLayout, float height);
 
         /**
         * Adds an IOrientationEventListener instance. @n
@@ -305,7 +305,7 @@ public:
         * @exception  E_SUCCESS                     The method was successful.
         * @exception  E_INVALID_ARG          The @c height is less than or equal to @c 0.0f.
         */
-        result SetHeightF(float height);
+        result SetHeight(float height);
 
 protected:
         //
index b23eaea..4e564f4 100644 (file)
@@ -126,7 +126,7 @@ CATCH:
 }
 
 result
-QuickPanelFrame::ConstructF(float height)
+QuickPanelFrame::Construct(float height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
        SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
@@ -151,19 +151,19 @@ CATCH:
 }
 
 result
-QuickPanelFrame::ConstructF(const Layout& layout, float height)
+QuickPanelFrame::Construct(const Layout& layout, float height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
        SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
 
-       r = ConstructF(layout, layout, height);
+       r = Construct(layout, layout, height);
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
 }
 
 result
-QuickPanelFrame::ConstructF(const Layout& portraitLayout, const Layout& landscapeLayout, float height)
+QuickPanelFrame::Construct(const Layout& portraitLayout, const Layout& landscapeLayout, float height)
 {
        result r =  _AccessController::CheckUserPrivilege(_PRV_NOTIFICATION);
        SysTryReturnResult(NID_UI_CTRL, r == E_SUCCESS, E_PRIVILEGE_DENIED, "The application does not have the privilege to call this method.");
@@ -225,7 +225,7 @@ QuickPanelFrame::SetHeight(int height)
 }
 
 result
-QuickPanelFrame::SetHeightF(float height)
+QuickPanelFrame::SetHeight(float height)
 {
        _QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::GetInstance(*this);
        SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");