X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fsystem%2Fcommon%2Fthread-controller.h;h=4a7b81e13585cf2486503ee9a0951a72c056d844;hb=05f371f0329cf6cf10409e74770b0a875bf49a1b;hp=e4c35417b5f84a1c8bad4c12ff71a268e97f0ae6;hpb=83018d86f08e877c9180abdfa03b34f231df421d;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 e4c3541..4a7b81e 100644 --- a/dali/internal/system/common/thread-controller.h +++ b/dali/internal/system/common/thread-controller.h @@ -1,8 +1,8 @@ -#ifndef __DALI_INTERNAL_THREAD_CONTROLLER_H__ -#define __DALI_INTERNAL_THREAD_CONTROLLER_H__ +#ifndef DALI_INTERNAL_THREAD_CONTROLLER_H +#define DALI_INTERNAL_THREAD_CONTROLLER_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -25,7 +25,7 @@ namespace Dali { -class RenderSurface; +class RenderSurfaceInterface; namespace Internal { @@ -105,7 +105,13 @@ public: * * @param surface new surface */ - void ReplaceSurface( RenderSurface* surface ); + void ReplaceSurface( Dali::RenderSurfaceInterface* surface ); + + /** + * Deletes the surface. + * @param surface The surface to be deleted + */ + void DeleteSurface( Dali::RenderSurfaceInterface* surface ); /** * Resize the surface. @@ -141,4 +147,4 @@ private: } // namespace Dali -#endif // __DALI_INTERNAL_THREAD_CONTROLLER_H__ +#endif // DALI_INTERNAL_THREAD_CONTROLLER_H