_LiveboxFrame::_LiveboxFrame(void)
: __pLiveboxFramePresenter(new (std::nothrow) _LiveboxFramePresenter(*this))
+#if defined(MULTI_WINDOW)
+ , __pLiveboxLayer(null)
+#endif // MULTI_WINDOW
, __pLiveboxFrameRootVisualElement(null)
, __pEventManager(null)
{
__pEventManager->UnregisterTouchEventHandler(*this);
}
+#if defined(MULTI_WINDOW)
+ __pLiveboxLayer = null;
+ __pLiveboxFrameRootVisualElement = null;
+#else // MULTI_WINDOW
if (__pLiveboxFrameRootVisualElement)
{
_VisualElement* pVisualElement = GetVisualElement();
__pLiveboxFrameRootVisualElement->DetachChild(*pVisualElement);
}
}
+#endif // !MULTI_WINDOW
}
_LiveboxFrame*
result r = pLayer->Construct();
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
- __pLiveboxLayer = move(pLayer);
+ __pLiveboxLayer = pLayer.release();
__pLiveboxFrameRootVisualElement = __pLiveboxLayer->GetRootVisualElement();
- SetLayer(*__pLiveboxLayer.get());
+ SetLayer(*__pLiveboxLayer);
SetRootVisualElement(*__pLiveboxFrameRootVisualElement);
return r;
private:
std::unique_ptr<_LiveboxFramePresenter> __pLiveboxFramePresenter;
+#if defined(MULTI_WINDOW)
+ _LiveboxLayer* __pLiveboxLayer;
+#else // MULTI_WINDOW
std::unique_ptr<_LiveboxLayer> __pLiveboxLayer;
+#endif // !MULTI_WINDOW
Tizen::Ui::Animations::_RootVisualElement* __pLiveboxFrameRootVisualElement;
Tizen::Ui::_IUiEventManager* __pEventManager;
}; // _LiveboxFrame
_LiveboxPopup::_LiveboxPopup(void)
: __pLiveboxPopupPresenter(new (std::nothrow) _LiveboxPopupPresenter(*this))
+#if defined(MULTI_WINDOW)
+ , __pLiveboxPopupLayer(null)
+#endif // MULTI_WINDOW
, __pLiveboxPopupRootVisualElement(null)
, __pEventManager(null)
{
__pEventManager->UnregisterTouchEventHandler(*this);
}
+#if defined(MULTI_WINDOW)
+ __pLiveboxPopupLayer = null;
+ __pLiveboxPopupRootVisualElement = null;
+#else // MULTI_WINDOW
if (__pLiveboxPopupRootVisualElement)
{
_VisualElement* pVisualElement = GetVisualElement();
__pLiveboxPopupRootVisualElement->DetachChild(*pVisualElement);
}
}
+#endif // !MULTI_WINDOW
}
_LiveboxPopup*
result r = pLayer->Construct();
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
- __pLiveboxPopupLayer = move(pLayer);
+ __pLiveboxPopupLayer = pLayer.release();
__pLiveboxPopupRootVisualElement = __pLiveboxPopupLayer->GetRootVisualElement();
- SetLayer(*__pLiveboxPopupLayer.get());
+ SetLayer(*__pLiveboxPopupLayer);
SetRootVisualElement(*__pLiveboxPopupRootVisualElement);
return r;
private:
std::unique_ptr<_LiveboxPopupPresenter> __pLiveboxPopupPresenter;
+#if defined(MULTI_WINDOW)
+ _LiveboxPopupLayer* __pLiveboxPopupLayer;
+#else // MULTI_WINDOW
std::unique_ptr<_LiveboxPopupLayer> __pLiveboxPopupLayer;
+#endif // !MULTI_WINDOW
Tizen::Ui::Animations::_RootVisualElement* __pLiveboxPopupRootVisualElement;
Tizen::Ui::_IUiEventManager* __pEventManager;
}; // _LiveboxPopup