Revert "[Tizen] RootLayout helper API added" 29/182429/1
authorhuiyu.eun <huiyu.eun@samsung.com>
Mon, 25 Jun 2018 06:07:37 +0000 (15:07 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Mon, 25 Jun 2018 06:08:53 +0000 (15:08 +0900)
This reverts commit 27da12873614b9d56d1aa8f14a461e472b14af2d.

Change-Id: Ie52d7910c1e005305469df84fa78adb94b481ea9

dali-csharp-binder/src/window.cpp

index 6c7f0be..ec97122 100755 (executable)
@@ -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 <dali/public-api/adaptor-framework/window.h>
 #include <dali/integration-api/adaptors/adaptor.h>
 
-#include <dali-toolkit/devel-api/controls/control-devel.h>
-#include <dali-toolkit/devel-api/layouting/absolute-layout.h>
-
 /* 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