X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fadaptor.h;h=04f9429b038f045ee857f6a71f22b06675044c1c;hb=e8e185f7d90010214890c2cb78bdd52c732f63ba;hp=f7a47eaed62315d5614e77e07d35a91d2d716188;hpb=803e8299a9916479bc4cc60f2e4763d5bea6739a;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/integration-api/adaptor.h b/dali/integration-api/adaptor.h index f7a47ea..04f9429 100755 --- a/dali/integration-api/adaptor.h +++ b/dali/integration-api/adaptor.h @@ -24,6 +24,7 @@ #include #include #include +#include // INTERNAL INCLUDES #include @@ -40,7 +41,7 @@ namespace Dali { -class RenderSurface; +class RenderSurfaceInterface; namespace Internal { @@ -140,7 +141,7 @@ public: * @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( Any nativeWindow, const Dali::RenderSurfaceInterface& surface ); /** * @brief Create a new adaptor using render surface. @@ -150,7 +151,7 @@ public: * @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( Any nativeWindow, const Dali::RenderSurfaceInterface& surface, Configuration::ContextLoss configuration = Configuration::APPLICATION_DOES_NOT_HANDLE_CONTEXT_LOSS); /** * @brief Virtual Destructor. @@ -220,14 +221,14 @@ public: * @param[in] nativeWindow native window handle * @param[in] surface to use */ - void ReplaceSurface( Any nativeWindow, Dali::RenderSurface& surface ); + void ReplaceSurface( Any nativeWindow, 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 @@ -359,16 +360,6 @@ public: void SceneCreated(); /** - * @copydoc Dali::Application::SetViewMode(); - */ - void SetViewMode( ViewMode viewMode ); - - /** - * @copydoc Dali::Application::SetStereoBase(); - */ - void SetStereoBase( float stereoBase ); - - /** * @brief Renders once more even if we're paused * @note Will not work if the window is hidden. */ @@ -380,6 +371,19 @@ public: */ const LogFactoryInterface& GetLogFactory(); + /** + * @brief Register a processor implementing the Integration::Processor interface with dali-core. + * @param[in] processor the Processor to register + * @note using this api does not maintain the processor's lifecycle, must be done elsewhere. + */ + void RegisterProcessor( Integration::Processor& processor ); + + /** + * @brief Unregister a previously registered processor from dali-core. + * @param[in] processor the Processor to unregister + */ + void UnregisterProcessor( Integration::Processor& processor ); + public: // Signals /**