* @exception E_INVALID_ARG A specified input parameter is invalid.
* @see LiveboxProvider::OnLiveboxProviderInitialize()
*/
- result Construct(const Tizen::Graphics::Dimension& size);
-
- /*\r
- * Initializes this instance of %LiveboxFrame with the specified parameter.\r
- *\r
- * @since 2.1\r
- * @return An error code\r
- * @param[in] size The new width and height\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @see LiveboxProvider::OnLiveboxProviderInitialize()\r
- */\r
- result ConstructF(const Tizen::Graphics::FloatDimension& size);
+ result Construct(const Tizen::Graphics::FloatDimension& size);
/**
* Initializes this instance of %LiveboxFrame with the specified parameter.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @see LiveboxProvider::OnLiveboxProviderInitialize()
*/
- result Construct(const Tizen::Ui::Layout& layout, const Tizen::Graphics::Dimension& size);
-
- /*\r
- * Initializes this instance of %LiveboxFrame with the specified parameter.\r
- *\r
- * @since 2.1\r
- * @return An error code\r
- * @param[in] layout The layout for both the portrait and landscape mode\r
- * @param[in] size The new width and height\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @see LiveboxProvider::OnLiveboxProviderInitialize()\r
- */\r
- result ConstructF(const Tizen::Ui::Layout& layout, const Tizen::Graphics::FloatDimension& size);
+ result Construct(const Tizen::Ui::Layout& layout, const Tizen::Graphics::FloatDimension& size);
protected:
//
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @see LiveboxProvider::OnLiveboxPopupProviderInitialize()
*/
- result Construct(const Tizen::Graphics::Dimension& size);
-
- /*\r
- * Initializes this instance of %LiveboxFrame with the specified parameter.\r
- *\r
- * @since 2.1\r
- * @return An error code\r
- * @param[in] size The new width and height\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @see LiveboxProvider::OnLiveboxPopupProviderInitialize()\r
- */\r
- result ConstructF(const Tizen::Graphics::FloatDimension& size);\r
+ result Construct(const Tizen::Graphics::FloatDimension& size);
/**
* Initializes this instance of %LiveboxFrame with the specified parameter.
* @exception E_INVALID_ARG A specified input parameter is invalid.
* @see LiveboxProvider::OnLiveboxPopupProviderInitialize()
*/
- result Construct(const Tizen::Ui::Layout& layout, const Tizen::Graphics::Dimension& size);
-
- /*\r
- * Initializes this instance of %LiveboxFrame with the specified parameter.\r
- *\r
- * @since 2.1\r
- * @return An error code\r
- * @param[in] layout The layout for both the portrait and landscape mode\r
- * @param[in] size The new width and height\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @see LiveboxProvider::OnLiveboxPopupProviderInitialize()\r
- */\r
- result ConstructF(const Tizen::Ui::Layout& layout, const Tizen::Graphics::FloatDimension& size);\r
+ result Construct(const Tizen::Ui::Layout& layout, const Tizen::Graphics::FloatDimension& size);
\r
/**\r
* Gets the bounds of the client area.\r
namespace Tizen { namespace Base
{
class String;
-}} //Tizen::Base
+}} // Tizen::Base
namespace Tizen { namespace Shell
{
* @return An error code
* @param[in] appId The AppId of the installed application
* @param[in] providerName The name of the Livebox provider
- * @param[in] rect An instance of the Rectangle class @n
- * This instance represents the x and y coordinates of the top-left corner @n
- * of the created window along with its width and height. @n
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
- * @exception E_APP_NOT_INSTALLED The application is not installed.
- * @exception E_OBJ_NOT_FOUND The specified Livebox provider is not found.
- */
- result Construct(const Tizen::App::AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::Rectangle& rect);
-
- /*\r
- * Initializes this instance of %LiveboxView with the specified parameter.\r
- *\r
- * @since 2.1\r
- * @return An error code\r
- * @param[in] appId The AppId of the installed application\r
- * @param[in] providerName The name of the Livebox provider\r
* @param[in] rect An instance of the FloatRectangle class @n\r
* This instance represents the x and y coordinates of the top-left corner @n\r
* of the created window along with its width and height. @n\r
* @exception E_APP_NOT_INSTALLED The application is not installed.\r
* @exception E_OBJ_NOT_FOUND The specified Livebox provider is not found.\r
*/\r
- result ConstructF(const Tizen::App::AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::FloatRectangle& rect);\r
-
- /**
- * Initializes this instance of %LiveboxView with the specified parameter.
- *
- * @since 2.1
- * @return An error code
- * @param[in] appId The AppId of the installed application
- * @param[in] providerName The name of the Livebox provider
- * @param[in] rect An instance of the Rectangle class @n
- * This instance represents the x and y coordinates of the top-left corner @n
- * of the created window along with its width and height. @n
- * @param[in] userInfo Extra data to be delivered to Livebox provider
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
- * @exception E_APP_NOT_INSTALLED The application is not installed.
- * @exception E_OBJ_NOT_FOUND The specified Livebox provider is not found.
- */
- result Construct(const Tizen::App::AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::Rectangle& rect, const Tizen::Base::String& userInfo);
+ result Construct(const Tizen::App::AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::FloatRectangle& rect);
/**\r
* Initializes this instance of %LiveboxView with the specified parameter.\r
* @exception E_APP_NOT_INSTALLED The application is not installed.\r
* @exception E_OBJ_NOT_FOUND The specified Livebox provider is not found.\r
*/\r
- result ConstructF(const Tizen::App::AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::FloatRectangle& rect, const Tizen::Base::String& userInfo);\r
+ result Construct(const Tizen::App::AppId& appId, const Tizen::Base::String& providerName, const Tizen::Graphics::FloatRectangle& rect, const Tizen::Base::String& userInfo);
protected:
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
+
/**
* @file FShellLiveboxFrame.cpp
* @brief This is the implementation for the LiveboxFrame class.
}
result
-LiveboxFrame::Construct(const Dimension& size)
-{
- return ConstructF(FloatDimension(static_cast<float>(size.width), static_cast<float>(size.height)));
-}
-
-result
-LiveboxFrame::ConstructF(const FloatDimension& size)
+LiveboxFrame::Construct(const FloatDimension& size)
{
SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
unique_ptr<_LiveboxFrameImpl> pImpl(_LiveboxFrameImpl::CreateLiveboxFrameImplN(*this, null, null));
}
result
-LiveboxFrame::Construct(const Layout& layout, const Dimension& size)
-{
- return ConstructF(layout, FloatDimension(static_cast<float>(size.width), static_cast<float>(size.height)));
-}
-
-result
-LiveboxFrame::ConstructF(const Layout& layout, const FloatDimension& size)
+LiveboxFrame::Construct(const Layout& layout, const FloatDimension& size)
{
SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
// See the License for the specific language governing permissions and
// limitations under the License.
//
+
/**
* @file FShellLiveboxPopup.cpp
* @brief This is the implementation for the LiveboxPopup class.
}
result
-LiveboxPopup::Construct(const Dimension& size)
-{
- return ConstructF(FloatDimension(static_cast<float>(size.width), static_cast<float>(size.height)));
-}
-
-result
-LiveboxPopup::ConstructF(const FloatDimension& size)
+LiveboxPopup::Construct(const FloatDimension& size)
{
SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
}
result
-LiveboxPopup::Construct(const Layout& layout, const Dimension& size)
-{
- return ConstructF(layout, FloatDimension(static_cast<float>(size.width), static_cast<float>(size.height)));
-}
-
-result
-LiveboxPopup::ConstructF(const Layout& layout, const FloatDimension& size)
+LiveboxPopup::Construct(const Layout& layout, const FloatDimension& size)
{
SysAssertf(_pControlImpl == null, "Already constructed. Calling Construct() twice or more on a same instance is not allowed for this class.");
// See the License for the specific language governing permissions and
// limitations under the License.
//
+
/**
* @file FShellLiveboxView.cpp
* @brief This is the implementation for the LiveboxView class.
}
result
-LiveboxView::Construct(const AppId& appId, const String& providerName, const Rectangle& rect)
-{
- return ConstructF(appId, providerName, FloatRectangle(static_cast<float>(rect.x), static_cast<float>(rect.y), static_cast<float>(rect.width), static_cast<float>(rect.height)), L"");
-}
-
-result
-LiveboxView::ConstructF(const AppId& appId, const String& providerName, const FloatRectangle& rect)
-{
- return ConstructF(appId, providerName, rect, L"");
-}
-
-result
-LiveboxView::Construct(const AppId& appId, const String& providerName, const Rectangle& rect, const String& userInfo)
+LiveboxView::Construct(const AppId& appId, const String& providerName, const FloatRectangle& rect)
{
- return ConstructF(appId, providerName, FloatRectangle(static_cast<float>(rect.x), static_cast<float>(rect.y), static_cast<float>(rect.width), static_cast<float>(rect.height)), userInfo);
+ return Construct(appId, providerName, rect, L"");
}
result
-LiveboxView::ConstructF(const AppId& appId, const String& providerName, const FloatRectangle& rect, const String& userInfo)
+LiveboxView::Construct(const AppId& appId, const String& providerName, const FloatRectangle& rect, const String& userInfo)
{
SysTryReturnResult(NID_UI_CTRL, _Aul::IsInstalled(appId) == true, E_APP_NOT_INSTALLED, "The application is not installed.");