[4.0] Create Widget Application
[platform/core/uifw/dali-adaptor.git] / adaptors / common / adaptor.cpp
index 3e96cf1..c8785f9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 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.
@@ -114,6 +114,11 @@ Any Adaptor::GetNativeWindowHandle()
   return mImpl->GetNativeWindowHandle();
 }
 
+Window Adaptor::GetWindow()
+{
+  return mImpl->GetWindow();
+}
+
 void Adaptor::ReleaseSurfaceLock()
 {
   mImpl->ReleaseSurfaceLock();
@@ -184,9 +189,9 @@ void Adaptor::SetStereoBase(  float stereoBase )
   mImpl->SetStereoBase( stereoBase );
 }
 
-void Adaptor::SurfaceSizeChanged( const PositionSize& positionSize )
+void Adaptor::RenderOnce()
 {
-  mImpl->SurfaceSizeChanged( positionSize );
+  mImpl->RenderOnce();
 }
 
 Adaptor::Adaptor()