using namespace Tizen::Ui::Controls;
using namespace Tizen::Graphics;
-namespace Tizen { namespace Ui {
+namespace
+{
+const wchar_t* _REQUEST_ORIENTATION_EVENT = L"RequestOrientationEvent";
+}
-const String _REQUEST_ORIENTATION_EVENT = L"RequestOrientationEvent";
+namespace Tizen { namespace Ui {
_OrientationAgent*
_OrientationAgent::CreateInstanceN(Control& publicControl)
#define OPTIONKEY SOFTKEY_COUNT
-namespace Tizen { namespace Ui { namespace Controls
+namespace
{
+const wchar_t* _REQUEST_ORIENTATION_EVENT = L"RequestOrientationEvent";
+}
-const String _REQUEST_ORIENTATION_EVENT = L"RequestOrientationEvent";
+namespace Tizen { namespace Ui { namespace Controls
+{
Dimension
_FormImpl::FormSizeInfo::GetDefaultMinimumSize(_ControlOrientation orientation) const
namespace Tizen { namespace Ui { namespace Controls {
-const String _ACTIVATE_FRAME = L"ActivateFrame";
+const wchar_t* _ACTIVATE_FRAME = L"ActivateFrame";
_Frame::_Frame(void)
: __pFramePresenter(null)
using namespace Tizen::Ui;
using namespace Tizen::Ui::Animations;
+namespace
+{
+const wchar_t* _REQUEST_ORIENTATION_EVENT = L"RequestOrientationEvent";
+}
+
namespace Tizen { namespace Ui { namespace Controls {
-const String _REQUEST_ORIENTATION_EVENT = L"RequestOrientationEvent";
const _FrameImpl*
_FrameImpl::GetInstance(const Frame& frame)
long long length = attributes.GetFileSize();
SysTryReturnResult(NID_UI_CTRL, length > 0, E_SYSTEM, "The size of file(%s) is zero.", fileName.GetPointer());
- std::unique_ptr<char> pXmlBuffer(new (std::nothrow) char[length]);
+ std::unique_ptr<char[]> pXmlBuffer(new (std::nothrow) char[length]);
SysTryReturnResult(NID_UI_CTRL, pXmlBuffer != null, E_OUT_OF_MEMORY, "The Buffer of Xml is null");
File fileObj;