//
// @since 2.1
//
- result Construct(const Tizen::Base::String& instanceId);
+ result Construct(const Tizen::Base::String& instanceId, double x, double y);
//
// The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
}
result
-LiveboxPopupProvider::Construct(const String& instanceId)
+LiveboxPopupProvider::Construct(const String& instanceId, double x, double y)
{
- __pLiveboxPopupProviderImpl = new (std::nothrow) _LiveboxPopupProviderImpl(instanceId);
+ __pLiveboxPopupProviderImpl = new (std::nothrow) _LiveboxPopupProviderImpl(instanceId, x, y);
SysTryReturnResult(NID_APP, __pLiveboxPopupProviderImpl, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY]");
SysLog(NID_APP, "LiveboxPopupProvider is constructed.");
using namespace Tizen::Base;
-_LiveboxPopupProviderImpl::_LiveboxPopupProviderImpl(const String& instanceId)
+_LiveboxPopupProviderImpl::_LiveboxPopupProviderImpl(const String& instanceId, double x, double y)
:__instanceId(instanceId)
,__pLiveboxPopup(null)
- ,__x(0)
- ,__y(0)
+ ,__x(x)
+ ,__y(y)
,__width(0)
,__height(0)
{
LiveboxPopupProvider* pPd = __pLiveboxPopupProviderFactory->CreateInstance(providerName, userInfo);
__pLiveboxPopupProvider = pPd;
- __pLiveboxPopupProvider->Construct(instanceId);
+ __pLiveboxPopupProvider->Construct(instanceId, x, y);
__pLiveboxPopupProvider->OnLiveboxPopupProviderInitializing(userInfo);
LiveboxPopup* pLiveBoxFrame = pPd->GetLiveboxPopup();
: public Tizen::Base::Object
{
public:
- _LiveboxPopupProviderImpl(const Tizen::Base::String& instanceId);
+ _LiveboxPopupProviderImpl(const Tizen::Base::String& instanceId, double x, double y);
virtual ~_LiveboxPopupProviderImpl();
const Tizen::Base::String& GetInstanceId() const;
private:
Tizen::Base::String __instanceId;
LiveboxPopup* __pLiveboxPopup;
- int __x;
- int __y;
+ double __x;
+ double __y;
int __width;
int __height;
};