#define DALI_INTEGRATION_ADAPTOR_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <dali/public-api/signals/dali-signal.h>
#include <dali/public-api/math/uint-16-pair.h>
#include <dali/public-api/math/rect.h>
-#include <dali/public-api/events/touch-event.h>
-#include <dali/public-api/common/view-mode.h>
#include <dali/public-api/object/any.h>
+#include <dali/devel-api/events/touch-point.h>
#include <dali/integration-api/processor-interface.h>
// INTERNAL INCLUDES
namespace Dali
{
+class ObjectRegistry;
class RenderSurfaceInterface;
using WindowContainer = std::vector<Window>;
* @brief Adds a new Window instance to the Adaptor
*
* @param[in] childWindow The child window instance
- * @param[in] childWindowName The child window title/name
- * @param[in] childWindowClassName The class name that the child window belongs to
- * @param[in] childWindowMode The mode of the child window
*/
- bool AddWindow( Dali::Integration::SceneHolder childWindow,
- const std::string& childWindowName,
- const std::string& childWindowClassName,
- bool childWindowMode );
+ bool AddWindow( Dali::Integration::SceneHolder childWindow );
/**
* @brief Removes a previously added @p callback.
void RemoveIdle( CallbackBase* callback );
/**
+ * @brief Processes the idle callbacks.
+ *
+ * @note This function is intended to be used in the case there is no instance of a Dali::Application i.e. DALi is used in a implementation of a plugin of an application.
+ */
+ void ProcessIdle();
+
+ /**
* @brief Replaces the rendering surface
*
* @param[in] window The window to replace the surface for
SceneHolderList GetSceneHolders() const;
/**
+ * @brief Gets the Object registry.
+ * @return The object registry
+ */
+ Dali::ObjectRegistry GetObjectRegistry() const;
+
+ /**
* @brief Called when the window becomes fully or partially visible.
*/
void OnWindowShown();