- // A structure to encapsulate each Window instance for the Adaptor to track them
- typedef struct WindowPane
- {
- Dali::Window* instance; ///< Window object
- std::string window_name; ///< Name (title)_of the window
- std::string class_name; ///< Class name that the window belongs to
- bool window_mode; ///< Display mode of the window
- Any nativeWindow; ///< window identifier
- RenderSurface* surface; ///< The surface the Window is bound to
- } WindowPane;
-
- typedef std::vector<WindowPane> WindowFrames;
-
- typedef std::vector<LifeCycleObserver*> ObserverContainer;
+ // There is no weak handle for BaseHandle in DALi, but we can't ref count the window here,
+ // so we have to store the raw pointer.
+ using WindowContainer = std::vector<Dali::Internal::Adaptor::SceneHolder*>;
+ using ObserverContainer = std::vector<LifeCycleObserver*>;