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