From: huiyu.eun Date: Mon, 25 Jun 2018 06:07:37 +0000 (+0900) Subject: Revert "[Tizen] RootLayout helper API added" X-Git-Tag: accepted/tizen/unified/20180625.141620~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2ebf805218d83f870e841280b457bc1bb82cf49;p=platform%2Fcore%2Fuifw%2Fdali-csharp-binder.git Revert "[Tizen] RootLayout helper API added" This reverts commit 27da12873614b9d56d1aa8f14a461e472b14af2d. Change-Id: Ie52d7910c1e005305469df84fa78adb94b481ea9 --- diff --git a/dali-csharp-binder/src/window.cpp b/dali-csharp-binder/src/window.cpp index 6c7f0be..ec97122 100755 --- a/dali-csharp-binder/src/window.cpp +++ b/dali-csharp-binder/src/window.cpp @@ -1,4 +1,4 @@ -/** Copyright (c) 2018 Samsung Electronics Co., Ltd. +/** Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,9 +23,6 @@ #include #include -#include -#include - /* Callback for returning strings to C# without leaking memory */ typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); extern SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback; @@ -2533,29 +2530,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_Adaptor_RenderOnce(void * /* jarg1 */) { } } -SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_New_Root_Layout() { - void * jresult ; - Dali::Toolkit::Control result; - { - try { - Dali::Toolkit::AbsoluteLayout absoluteLayout = Dali::Toolkit::AbsoluteLayout::New(); - result = Dali::Toolkit::Control::New(); - Dali::Toolkit::DevelControl::SetLayout( result, absoluteLayout ); - result.SetName("rootAbsoluteLayout"); - result.SetAnchorPoint( Dali::AnchorPoint::CENTER ); - result.SetParentOrigin( Dali::ParentOrigin::CENTER ); - } catch (...) { - { - SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0; - }; - } - } - - jresult = new Dali::Toolkit::Control((const Dali::Toolkit::Control &)result); - - return jresult; -} - #ifdef __cplusplus } #endif