Merge "Apply multi Instance for widget" into devel/master
[platform/core/uifw/dali-adaptor.git] / dali / internal / adaptor / common / adaptor-impl.h
1 #ifndef DALI_INTERNAL_ADAPTOR_IMPL_H
2 #define DALI_INTERNAL_ADAPTOR_IMPL_H
3
4 /*
5  * Copyright (c) 2019 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <dali/public-api/common/vector-wrapper.h>
23 #include <dali/public-api/common/view-mode.h>
24 #include <dali/public-api/math/rect.h>
25 #include <dali/public-api/signals/callback.h>
26 #include <dali/public-api/math/uint-16-pair.h>
27 #include <dali/integration-api/render-controller.h>
28
29 // INTERNAL INCLUDES
30 #include <dali/public-api/adaptor-framework/tts-player.h>
31 #include <dali/devel-api/adaptor-framework/clipboard.h>
32 #include <dali/integration-api/scene.h>
33 #include <dali/integration-api/adaptor-framework/adaptor.h>
34 #include <dali/integration-api/adaptor-framework/scene-holder-impl.h>
35 #include <dali/integration-api/adaptor-framework/trigger-event-factory.h>
36 #include <dali/internal/adaptor/common/adaptor-internal-services.h>
37 #include <dali/internal/graphics/common/graphics-interface.h>
38 #include <dali/internal/legacy/common/tizen-platform-abstraction.h>
39 #include <dali/internal/network/common/socket-factory.h>
40 #include <dali/internal/system/common/core-event-interface.h>
41 #include <dali/internal/system/common/environment-options.h>
42 #include <dali/internal/system/common/kernel-trace.h>
43 #include <dali/internal/system/common/system-trace.h>
44 #include <dali/internal/window-system/common/damage-observer.h>
45 #include <dali/internal/window-system/common/window-visibility-observer.h>
46
47 namespace Dali
48 {
49
50 class RenderSurfaceInterface;
51
52 namespace Integration
53 {
54 class Core;
55 class GlAbstraction;
56 class Processor;
57 }
58
59 namespace Internal
60 {
61
62 namespace Adaptor
63 {
64 class DisplayConnection;
65 class GraphicsFactory;
66 class GlImplementation;
67 class GlSyncImplementation;
68 class ThreadController;
69 class TriggerEvent;
70 class CallbackManager;
71 class FeedbackPluginProxy;
72 class FeedbackController;
73 class VSyncMonitor;
74 class PerformanceInterface;
75 class LifeCycleObserver;
76 class ObjectProfiler;
77 class SceneHolder;
78
79 /**
80  * Implementation of the Adaptor class.
81  */
82 class Adaptor : public Integration::RenderController,
83                 public AdaptorInternalServices,
84                 public CoreEventInterface,
85                 public DamageObserver,
86                 public WindowVisibilityObserver
87 {
88 public:
89
90   using AdaptorSignalType =  Dali::Adaptor::AdaptorSignalType;
91   using WindowCreatedSignalType = Dali::Adaptor::WindowCreatedSignalType;
92
93   using SurfaceSize = Uint16Pair;          ///< Surface size type
94
95   /**
96    * Creates a New Adaptor
97    * @param[in]  window              The window handle
98    * @param[in]  surface             A render surface can be one of the following
99    *                                  - Pixmap, adaptor will use existing Pixmap to draw on to
100    *                                  - Window, adaptor will use existing Window to draw on to
101    * @param[in]  configuration       The context loss configuration ( to choose resource discard policy )
102    * @param[in]  environmentOptions  A pointer to the environment options. If NULL then one is created.
103    */
104   static Dali::Adaptor* New( Dali::Integration::SceneHolder window,
105                              Dali::RenderSurfaceInterface* surface,
106                              Dali::Configuration::ContextLoss configuration,
107                              EnvironmentOptions* environmentOptions );
108
109   /**
110    * Creates a New Adaptor
111    * @param[in]  window              The window handle
112    * @param[in]  configuration       The context loss configuration ( to choose resource discard policy )
113    * @param[in]  environmentOptions  A pointer to the environment options. If NULL then one is created.
114    */
115   static Dali::Adaptor* New( Dali::Integration::SceneHolder window,
116                              Dali::Configuration::ContextLoss configuration,
117                              EnvironmentOptions* environmentOptions );
118
119   /**
120    * Creates a New Adaptor
121    * @param[in]  graphicsFactory     A factory that creates the graphics interface
122    * @param[in]  window              The window handle
123    * @param[in]  surface             A render surface can be one of the following
124    *                                  - Pixmap, adaptor will use existing Pixmap to draw on to
125    *                                  - Window, adaptor will use existing Window to draw on to
126    * @param[in]  configuration       The context loss configuration ( to choose resource discard policy )
127    * @param[in]  environmentOptions  A pointer to the environment options. If NULL then one is created.
128    */
129   static Dali::Adaptor* New( GraphicsFactory& graphicsFactory,
130                              Dali::Integration::SceneHolder window,
131                              Dali::RenderSurfaceInterface* surface,
132                              Dali::Configuration::ContextLoss configuration,
133                              EnvironmentOptions* environmentOptions );
134
135   /**
136    * Creates a New Adaptor
137    * @param[in]  graphicsFactory     A factory that creates the graphics interface
138    * @param[in]  window              The window handle
139    * @param[in]  configuration       The context loss configuration ( to choose resource discard policy )
140    * @param[in]  environmentOptions  A pointer to the environment options. If NULL then one is created.
141    */
142   static Dali::Adaptor* New( GraphicsFactory& graphicsFactory,
143                              Dali::Integration::SceneHolder window,
144                              Dali::Configuration::ContextLoss configuration,
145                              EnvironmentOptions* environmentOptions );
146
147   /**
148    * 2-step initialisation, this should be called after creating an adaptor instance.
149    * @param[in]  graphicsFactory     A factory that creates the graphics interface
150    * @param[in]  configuration       The context loss configuration ( to choose resource discard policy )
151    */
152   void Initialize( GraphicsFactory& graphicsFactory, Dali::Configuration::ContextLoss configuration );
153
154   /**
155    * Virtual destructor.
156    */
157   virtual ~Adaptor();
158
159   /**
160    * @copydoc Dali::Adaptor::Get()
161    */
162   static Dali::Adaptor& Get();
163
164   /**
165    * @copydoc Dali::Adaptor::IsAvailable()
166    */
167   static bool IsAvailable();
168
169   /**
170    * @copydoc Dali::Core::SceneCreated();
171    */
172   void SceneCreated();
173
174 public: // AdaptorInternalServices implementation
175   /**
176    * @copydoc Dali::Adaptor::Start()
177    */
178   virtual void Start();
179
180   /**
181    * @copydoc Dali::Adaptor::Pause()
182    */
183   virtual void Pause();
184
185   /**
186    * @copydoc Dali::Adaptor::Resume()
187    */
188   virtual void Resume();
189
190   /**
191    * @copydoc Dali::Adaptor::Stop()
192    */
193   virtual void Stop();
194
195   /**
196    * @copydoc Dali::Adaptor::ContextLost()
197    */
198   virtual void ContextLost();
199
200   /**
201    * @copydoc Dali::Adaptor::ContextRegained()
202    */
203   virtual void ContextRegained();
204
205   /**
206    * @copydoc Dali::EventFeeder::FeedTouchPoint()
207    */
208   virtual void FeedTouchPoint( TouchPoint& point, int timeStamp );
209
210   /**
211    * @copydoc Dali::EventFeeder::FeedWheelEvent()
212    */
213   virtual void FeedWheelEvent( WheelEvent& wheelEvent );
214
215   /**
216    * @copydoc Dali::EventFeeder::FeedKeyEvent()
217    */
218   virtual void FeedKeyEvent( KeyEvent& keyEvent );
219
220   /**
221    * @copydoc Dali::Adaptor::ReplaceSurface()
222    */
223   virtual void ReplaceSurface( Dali::Integration::SceneHolder window, Dali::RenderSurfaceInterface& surface );
224
225   /**
226    * @copydoc Dali::Adaptor::GetSurface()
227    */
228   virtual Dali::RenderSurfaceInterface& GetSurface() const;
229
230   /**
231    * @copydoc Dali::Adaptor::ReleaseSurfaceLock()
232    */
233   virtual void ReleaseSurfaceLock();
234
235   /**
236    * Retrieve the TtsPlayer.
237    * @param[in] mode The mode of TtsPlayer
238    * @return A handle to the TtsPlayer.
239    */
240   virtual Dali::TtsPlayer GetTtsPlayer(Dali::TtsPlayer::Mode mode);
241
242   /**
243    * @copydoc Dali::Adaptor::AddIdle()
244    */
245   virtual bool AddIdle( CallbackBase* callback, bool hasReturnValue, bool forceAdd );
246
247   /**
248    * Adds a new Window instance to the Adaptor
249    * @param[in]  childWindow The child window instance
250    * @param[in]  childWindowName The child window title/name
251    * @param[in]  childWindowClassName The class name that the child window belongs to
252    * @param[in]  childWindowMode The mode of the child window
253    */
254   virtual bool AddWindow( Dali::Integration::SceneHolder childWindow,
255                           const std::string& childWindowName,
256                           const std::string& childWindowClassName,
257                           bool childWindowMode );
258
259   /**
260    * Removes an existing Window instance from the Adaptor
261    * @param[in]  window The Window instance
262    */
263   virtual bool RemoveWindow( Dali::Integration::SceneHolder* childWindow );
264
265   /**
266    * Removes an existing Window instance from the Adaptor
267    * @param[in]  windowName The Window name
268    * @note If two Windows have the same name, the first one that matches will be removed
269    */
270   virtual bool RemoveWindow( std::string childWindowName );
271
272   /**
273    * @copydoc Dali::Adaptor::RemoveIdle()
274    */
275   virtual void RemoveIdle( CallbackBase* callback );
276
277   /**
278    * Sets a pre-render callback.
279    */
280   void SetPreRenderCallback( CallbackBase* callback );
281
282   /**
283    * Removes an existing Window instance from the Adaptor
284    * @param[in]  childWindow The Window instance
285    */
286   bool RemoveWindow( Dali::Internal::Adaptor::SceneHolder* childWindow );
287
288   /**
289    * @brief Deletes the rendering surface
290    * @param[in] surface to delete
291    */
292   void DeleteSurface( Dali::RenderSurfaceInterface& surface );
293
294   /**
295    * @brief Retrieve the window that the given actor is added to.
296    *
297    * @param[in] actor The actor
298    * @return The window the actor is added to or a null pointer if the actor is not added to any widnow.
299    */
300   Dali::Internal::Adaptor::SceneHolder* GetWindow( Dali::Actor& actor );
301
302   /**
303    * @copydoc Dali::Adaptor::GetWindows()
304    */
305   Dali::WindowContainer GetWindows() const;
306
307   /**
308    * @copydoc Dali::Adaptor::GetSceneHolders()
309    */
310   Dali::SceneHolderList GetSceneHolders() const;
311
312 public:
313
314   /**
315    * @return the Core instance
316    */
317   virtual Dali::Integration::Core& GetCore();
318
319   /**
320    * @copydoc Dali::Adaptor::SetRenderRefreshRate()
321    */
322   void SetRenderRefreshRate( unsigned int numberOfVSyncsPerRender );
323
324   /**
325    * Return the PlatformAbstraction.
326    * @return The PlatformAbstraction.
327    */
328   Integration::PlatformAbstraction& GetPlatformAbstraction() const;
329
330   /**
331    * Destroy the TtsPlayer of specific mode.
332    * @param[in] mode The mode of TtsPlayer to destroy
333    */
334   void DestroyTtsPlayer(Dali::TtsPlayer::Mode mode);
335
336   /**
337    * Gets native window handle
338    *
339    * @return native window handle
340    */
341   Any GetNativeWindowHandle();
342
343   /**
344    * @brief Retrieve native window handle that the given actor is added to.
345    *
346    * @param[in] actor The actor
347    * @return native window handle
348    */
349   Any GetNativeWindowHandle( Dali::Actor actor );
350
351   /**
352    * Get the native display associated with the graphics backend
353    *
354    * @return A handle to the native display
355    */
356   Any GetGraphicsDisplay();
357
358   /**
359    * Sets use remote surface for Surface output
360    * @param[in] useRemoteSurface True if the remote surface is used
361    */
362   void SetUseRemoteSurface(bool useRemoteSurface);
363
364 public:
365
366   /**
367    * Adds an adaptor observer so that we can observe the adaptor's lifetime events.
368    * @param[in]  observer  The observer.
369    * @note Observers should remove themselves when they are destroyed.
370    */
371   void AddObserver( LifeCycleObserver& observer );
372
373   /**
374    * Removes the observer from the adaptor.
375    * @param[in]  observer  The observer to remove.
376    * @note Observers should remove themselves when they are destroyed.
377    */
378   void RemoveObserver( LifeCycleObserver& observer );
379
380   /**
381    * Emits the Notification event to the Dali core.
382    */
383   void SendNotificationEvent();
384
385   /**
386    * Request adaptor to update once
387    */
388   void RequestUpdateOnce();
389
390   /**
391    * @copydoc Dali::Adaptor::NotifySceneCreated()
392    */
393   void NotifySceneCreated();
394
395   /**
396    * @copydoc Dali::Adaptor::NotifyLanguageChanged()
397    */
398   void NotifyLanguageChanged();
399
400   /**
401    * Gets AppId of current application
402    */
403   void GetAppId( std::string& appId );
404
405   /**
406    * @copydoc Dali::Adaptor::SurfaceResizePrepare
407    */
408   void SurfaceResizePrepare( Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize );
409
410   /**
411    * @copydoc Dali::Adaptor::SurfaceResizeComplete
412    */
413   void SurfaceResizeComplete( Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize );
414
415   /**
416    * Sets layout direction of root by system language
417    * @param[in] locale System locale
418    */
419   void SetRootLayoutDirection( std::string locale );
420
421   /**
422    * @copydoc Dali::Adaptor::RenderOnce
423    */
424   void RenderOnce();
425
426   /**
427    * @copydoc Dali::Adaptor::GetLogFactory
428    */
429   const LogFactoryInterface& GetLogFactory();
430
431   /**
432    * @copydoc Dali::Adaptor::RegisterProcessor
433    */
434   void RegisterProcessor( Integration::Processor& processor );
435
436   /**
437    * @coydoc Dali::Adaptor::UnregisterProcessor
438    */
439   void UnregisterProcessor( Integration::Processor& processor );
440
441   /**
442    * Check MultipleWindow is supported
443    */
444   bool IsMultipleWindowSupported() const;
445
446 public:  //AdaptorInternalServices
447
448   /**
449    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetPlatformAbstractionInterface()
450    */
451   virtual Dali::Integration::PlatformAbstraction& GetPlatformAbstractionInterface();
452
453   /**
454    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetDisplayConnectionInterface()
455    */
456   virtual Dali::DisplayConnection& GetDisplayConnectionInterface();
457
458   /**
459    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetGraphicsInterface()
460    */
461   virtual GraphicsInterface& GetGraphicsInterface();
462
463   /**
464    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetTriggerEventInterface()
465    */
466   virtual TriggerEventInterface& GetProcessCoreEventsTrigger();
467
468   /**
469    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetTriggerEventFactoryInterface()
470    */
471   virtual TriggerEventFactoryInterface& GetTriggerEventFactoryInterface();
472
473   /**
474    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetSocketFactoryInterface()
475    */
476   virtual SocketFactoryInterface& GetSocketFactoryInterface();
477
478   /**
479    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetRenderSurfaceInterface()
480    */
481   virtual Dali::RenderSurfaceInterface* GetRenderSurfaceInterface();
482
483   /**
484    * @copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetPerformanceInterface()
485    */
486   virtual PerformanceInterface* GetPerformanceInterface();
487
488   /**
489    * copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetKernelTraceInterface()
490    */
491   virtual TraceInterface& GetKernelTraceInterface();
492
493   /**
494    * copydoc Dali::Internal::Adaptor::AdaptorInternalServices::GetSystemTraceInterface()
495    */
496   virtual TraceInterface& GetSystemTraceInterface();
497
498 public: // Signals
499
500   /**
501    * @copydoc Dali::Adaptor::SignalResized
502    */
503   AdaptorSignalType& ResizedSignal()
504   {
505     return mResizedSignal;
506   }
507
508   /**
509    * @copydoc Dali::Adaptor::LanguageChangedSignal
510    */
511   AdaptorSignalType& LanguageChangedSignal()
512   {
513     return mLanguageChangedSignal;
514   }
515
516   /**
517    * @copydoc Dali::Adaptor::WindowCreatedSignal
518    */
519   WindowCreatedSignalType& WindowCreatedSignal()
520   {
521     return mWindowCreatedSignal;
522   }
523
524 public: // From Dali::Internal::Adaptor::CoreEventInterface
525
526   /**
527    * @copydoc Dali::Internal::Adaptor:CoreEventInterface:::ProcessCoreEvents()
528    */
529   virtual void ProcessCoreEvents();
530
531 private: // From Dali::Internal::Adaptor::CoreEventInterface
532
533   /**
534    * @copydoc Dali::Internal::Adaptor::CoreEventInterface::QueueCoreEvent()
535    */
536   virtual void QueueCoreEvent(const Dali::Integration::Event& event);
537
538 private: // From Dali::Integration::RenderController
539
540   /**
541    * @copydoc Dali::Integration::RenderController::RequestUpdate()
542    */
543   virtual void RequestUpdate( bool forceUpdate );
544
545   /**
546    * @copydoc Dali::Integration::RenderController::RequestProcessEventsOnIdle()
547    */
548   virtual void RequestProcessEventsOnIdle( bool forceProcess );
549
550 public: // From Dali::Internal::Adaptor::WindowVisibilityObserver
551
552   /**
553    * Called when the window becomes fully or partially visible.
554    */
555   virtual void OnWindowShown();
556
557   /**
558    * Called when the window is fully hidden.
559    */
560   virtual void OnWindowHidden();
561
562 private: // From Dali::Internal::Adaptor::DamageObserver
563
564   /**
565    * @copydoc Dali::Internal::Adaptor::DamageObserver::OnDamaged()
566    */
567   void OnDamaged( const DamageArea& area );
568
569 private:
570
571   // Undefined
572   Adaptor(const Adaptor&) = delete;
573   Adaptor& operator=(Adaptor&) = delete;
574
575 private:
576
577   /**
578    * Assigns the render surface to the adaptor
579    *
580    */
581   void SetSurface(Dali::RenderSurfaceInterface *surface);
582
583   /**
584    * called after surface is created
585    */
586   void SurfaceInitialized();
587
588   /**
589    * Sends an notification message from main loop idle handler
590    */
591   bool ProcessCoreEventsFromIdle();
592
593   /**
594    * Gets path for data/resource storage.
595    * @param[out] path Path for data/resource storage
596    */
597   void GetDataStoragePath(std::string& path);
598
599   /**
600    * Sets up system information if needs
601    */
602   void SetupSystemInformation();
603
604   /**
605    * Adds a callback to be run when entering an idle state.
606    *
607    * A callback of the following type should be used:
608    * @code
609    *   bool MyFunction();
610    * @endcode
611    * This callback will be called repeatedly as long as it returns true. A return of 0 deletes this callback.
612    */
613   bool AddIdleEnterer( CallbackBase* callback, bool forceAdd );
614
615   /**
616    * Removes a previously added the idle enterer callback.
617    */
618   void RemoveIdleEnterer( CallbackBase* callback );
619
620 private:
621
622   /**
623    * Constructor
624    * @param[in]  window       window handle
625    * @param[in]  adaptor      The public adaptor
626    * @param[in]  surface      A render surface can be one of the following
627    *                          - Pixmap, adaptor will use existing Pixmap to draw on to
628    *                          - Window, adaptor will use existing Window to draw on to
629    * @param[in]  environmentOptions  A pointer to the environment options. If NULL then one is created.
630    */
631   Adaptor( Dali::Integration::SceneHolder window, Dali::Adaptor& adaptor, Dali::RenderSurfaceInterface* surface, EnvironmentOptions* environmentOptions );
632
633 private: // Types
634
635   enum State
636   {
637     READY,                     ///< Initial state before Adaptor::Start is called.
638     RUNNING,                   ///< Adaptor is running.
639     PAUSED,                    ///< Adaptor has been paused.
640     PAUSED_WHILE_HIDDEN,       ///< Adaptor is paused while window is hidden (& cannot be resumed until window is shown).
641     PAUSED_WHILE_INITIALIZING, ///< Adaptor is paused while application is initializing.
642     STOPPED,                   ///< Adaptor has been stopped.
643   };
644
645   // There is no weak handle for BaseHandle in DALi, but we can't ref count the window here,
646   // so we have to store the raw pointer.
647   using WindowContainer = std::vector<Dali::Internal::Adaptor::SceneHolder*>;
648   using ObserverContainer = std::vector<LifeCycleObserver*>;
649
650 private: // Data
651
652   AdaptorSignalType                     mResizedSignal;               ///< Resized signal.
653   AdaptorSignalType                     mLanguageChangedSignal;       ///< Language changed signal.
654   WindowCreatedSignalType               mWindowCreatedSignal;    ///< Window created signal.
655
656   Dali::Adaptor&                        mAdaptor;                     ///< Reference to public adaptor instance.
657   State                                 mState;                       ///< Current state of the adaptor
658   Dali::Integration::Core*              mCore;                        ///< Dali Core
659   ThreadController*                     mThreadController;            ///< Controls the threads
660
661   GraphicsInterface*                    mGraphics;                    ///< Graphics interface
662   Dali::DisplayConnection*              mDisplayConnection;           ///< Display connection
663   WindowContainer                       mWindows;                     ///< A container of all the Windows that are currently created
664
665   TizenPlatform::TizenPlatformAbstraction* mPlatformAbstraction;      ///< Platform abstraction
666
667   CallbackManager*                      mCallbackManager;             ///< Used to install callbacks
668   bool                                  mNotificationOnIdleInstalled; ///< whether the idle handler is installed to send an notification event
669   TriggerEventInterface*                mNotificationTrigger;         ///< Notification event trigger
670   FeedbackPluginProxy*                  mDaliFeedbackPlugin;          ///< Used to access feedback support
671   FeedbackController*                   mFeedbackController;          ///< Plays feedback effects for Dali-Toolkit UI Controls.
672   Dali::TtsPlayer                       mTtsPlayers[Dali::TtsPlayer::MODE_NUM];                   ///< Provides TTS support
673   ObserverContainer                     mObservers;                   ///< A list of adaptor observer pointers
674   EnvironmentOptions*                   mEnvironmentOptions;          ///< environment options
675   PerformanceInterface*                 mPerformanceInterface;        ///< Performance interface
676   KernelTrace                           mKernelTracer;                ///< Kernel tracer
677   SystemTrace                           mSystemTracer;                ///< System tracer
678   TriggerEventFactory                   mTriggerEventFactory;         ///< Trigger event factory
679   ObjectProfiler*                       mObjectProfiler;              ///< Tracks object lifetime for profiling
680   SocketFactory                         mSocketFactory;               ///< Socket factory
681   const bool                            mEnvironmentOptionsOwned:1;   ///< Whether we own the EnvironmentOptions (and thus, need to delete it)
682   bool                                  mUseRemoteSurface;            ///< whether the remoteSurface is used or not
683
684 public:
685   inline static Adaptor& GetImplementation(Dali::Adaptor& adaptor) { return *adaptor.mImpl; }
686 };
687
688 } // namespace Internal
689
690 } // namespace Adaptor
691
692 } // namespace Dali
693
694 #endif // DALI_INTERNAL_ADAPTOR_IMPL_H