-#ifndef __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
-#define __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
+#ifndef DALI_INTERNAL_THREAD_LOCAL_STORAGE_H
+#define DALI_INTERNAL_THREAD_LOCAL_STORAGE_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 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.
// INTERNAL INCLUDES
#include <dali/internal/event/common/stage-def.h>
+#include <dali/internal/event/common/scene-impl.h>
namespace Dali
{
class Core;
class NotificationManager;
-class ResourceClient;
-class ResourceManager;
-class ImageFactory;
class ShaderFactory;
class GestureEventProcessor;
class RelayoutController;
+class ObjectRegistry;
+class EventThreadServices;
namespace SceneGraph
{
NotificationManager& GetNotificationManager();
/**
- * Returns the Resource Manager
- * @return reference to the Resource Manager
- */
- ResourceManager& GetResourceManager();
-
- /**
- * Returns the Resource Client
- * @return reference to the Resource Client
- */
- ResourceClient& GetResourceClient();
-
- /**
- * Returns the Image Factory
- * @return reference to the Image Factory
- */
- ImageFactory& GetImageFactory();
-
- /**
* Returns the Shader Factory
* @return reference to the Shader Factory
*/
*/
RelayoutController& GetRelayoutController();
+ /**
+ * Returns the Object registry.
+ * @return A reference to the Object registry
+ */
+ ObjectRegistry& GetObjectRegistry();
+
+ /**
+ * @brief Gets the event thread services.
+ * @return A reference to the event thread services
+ */
+ EventThreadServices& GetEventThreadServices();
+
+ /**
+ * @brief Gets the property notification manager.
+ * @return A reference to the property notification manager
+ */
+ PropertyNotificationManager& GetPropertyNotificationManager();
+
+ /**
+ * @brief Gets the animation play list.
+ * @return A reference to the animation play list
+ */
+ AnimationPlaylist& GetAnimationPlaylist();
+
+ /**
+ * Add a Scene to the Core.
+ * This is only used by the Scene to add itself to the core when the Scene is created.
+ * @param[in] scene The Scene.
+ */
+ void AddScene( Scene* scene );
+
+ /**
+ * Remove a Scene from the Core.
+ * This is only used by the Scene to remove itself from the core when the Scene is destroyed.
+ * @param[in] scene The Scene.
+ */
+ void RemoveScene( Scene* scene );
+
private:
Core* mCore; ///< reference to core
} // namespace Dali
-#endif // __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
+#endif // DALI_INTERNAL_THREAD_LOCAL_STORAGE_H