X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fadaptor.h;h=8b5e6585d101daf756500e6aa00fd81c58945f2a;hb=92b2ba1433ebcade9079ab40c83716f55625d5cc;hp=14ff203edfd28f385613f5967b3cb1946cae4f3c;hpb=5b351aff5c3944cb45cf7d9b4b6dedc00efb9010;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/integration-api/adaptor.h b/dali/integration-api/adaptor.h index 14ff203..8b5e658 100755 --- a/dali/integration-api/adaptor.h +++ b/dali/integration-api/adaptor.h @@ -41,7 +41,7 @@ namespace Dali { -class RenderSurface; +class RenderSurfaceInterface; namespace Internal { @@ -137,21 +137,21 @@ public: /** * @brief Create a new adaptor using render surface. * - * @param[in] nativeWindow native window handle + * @param[in] window The window to draw onto * @param[in] surface The surface to draw onto * @return a reference to the adaptor handle */ - static Adaptor& New( Any nativeWindow, const Dali::RenderSurface& surface ); + static Adaptor& New( Window window, const Dali::RenderSurfaceInterface& surface ); /** * @brief Create a new adaptor using render surface. * - * @param[in] nativeWindow native window handle + * @param[in] window The window to draw onto * @param[in] surface The surface to draw onto * @param[in] configuration The context loss configuration. * @return a reference to the adaptor handle */ - static Adaptor& New( Any nativeWindow, const Dali::RenderSurface& surface, Configuration::ContextLoss configuration = Configuration::APPLICATION_DOES_NOT_HANDLE_CONTEXT_LOSS); + static Adaptor& New( Window window, const Dali::RenderSurfaceInterface& surface, Configuration::ContextLoss configuration = Configuration::APPLICATION_DOES_NOT_HANDLE_CONTEXT_LOSS); /** * @brief Virtual Destructor. @@ -218,17 +218,17 @@ public: /** * @brief Replaces the rendering surface * - * @param[in] nativeWindow native window handle + * @param[in] window The window to replace the surface for * @param[in] surface to use */ - void ReplaceSurface( Any nativeWindow, Dali::RenderSurface& surface ); + void ReplaceSurface( Window window, Dali::RenderSurfaceInterface& surface ); /** * @brief Get the render surface the adaptor is using to render to. * * @return reference to current render surface */ - RenderSurface& GetSurface(); + Dali::RenderSurfaceInterface& GetSurface(); /** * @brief Gets native window handle