X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fadaptor.cpp;h=847f42e29760f9e35bb3859c8b8d496a1185f4a3;hb=88d565576965f2b4a0a5c1cb870606194cd7b241;hp=bb4658a6486ff19f3869ba026b9d0ae66feb345b;hpb=b13f88d09ab13bfe979b1f12abcb20488904ce11;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/adaptor.cpp b/adaptors/common/adaptor.cpp index bb4658a..847f42e 100644 --- a/adaptors/common/adaptor.cpp +++ b/adaptors/common/adaptor.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014 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. @@ -84,6 +84,11 @@ bool Adaptor::AddIdle( CallbackBase* callback ) return mImpl->AddIdle( callback ); } +void Adaptor::RemoveIdle( CallbackBase* callback ) +{ + mImpl->RemoveIdle( callback ); +} + void Adaptor::ReplaceSurface( Any nativeWindow, Dali::RenderSurface& surface ) { mImpl->ReplaceSurface(nativeWindow, surface); @@ -104,6 +109,11 @@ RenderSurface& Adaptor::GetSurface() return mImpl->GetSurface(); } +Any Adaptor::GetNativeWindowHandle() +{ + return mImpl->GetNativeWindowHandle(); +} + void Adaptor::ReleaseSurfaceLock() { mImpl->ReleaseSurfaceLock(); @@ -159,6 +169,21 @@ void Adaptor::FeedKeyEvent( KeyEvent& keyEvent ) mImpl->FeedKeyEvent(keyEvent); } +void Adaptor::SceneCreated() +{ + mImpl->SceneCreated(); +} + +void Adaptor::SetViewMode( ViewMode mode ) +{ + mImpl->SetViewMode( mode ); +} + +void Adaptor::SetStereoBase( float stereoBase ) +{ + mImpl->SetStereoBase( stereoBase ); +} + Adaptor::Adaptor() : mImpl( NULL ) {