X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fthread-controller.h;h=85d94facc2fa6f0df3fe3f8ba6b6877209116185;hb=263ec21432f3d7c9f9be5b463748fdce8f6942e4;hp=6feddc19a9e199cdffc00a682fe037b503de5b9a;hpb=761f75cd51351b7a4e072130f4a2ad0b3e3231bb;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/system/common/thread-controller.h b/dali/internal/system/common/thread-controller.h index 6feddc1..85d94fa 100644 --- a/dali/internal/system/common/thread-controller.h +++ b/dali/internal/system/common/thread-controller.h @@ -2,7 +2,7 @@ #define __DALI_INTERNAL_THREAD_CONTROLLER_H__ /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -17,11 +17,15 @@ * limitations under the License. * */ +#include + +// INTERNAL INCLUDES +#include namespace Dali { -class RenderSurface; +class RenderSurfaceInterface; namespace Internal { @@ -101,7 +105,7 @@ public: * * @param surface new surface */ - void ReplaceSurface( RenderSurface* surface ); + void ReplaceSurface( Dali::RenderSurfaceInterface* surface ); /** * Resize the surface. @@ -113,13 +117,18 @@ public: */ void SetRenderRefreshRate( unsigned int numberOfVSyncsPerRender ); + /** + * @copydoc Dali::Adaptor::SetPreRenderCallback + */ + void SetPreRenderCallback( CallbackBase* callback ); + private: // Undefined copy constructor. - ThreadController( const ThreadController& ); + ThreadController( const ThreadController& ) = delete; // Undefined assignment operator. - ThreadController& operator=( const ThreadController& ); + ThreadController& operator=( const ThreadController& ) = delete; private: