Merge "Clean up the code to build successfully on macOS" into devel/master
[platform/core/uifw/dali-core.git] / dali / internal / update / controllers / scene-controller.h
index 72a4468..5eb5aea 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__
-#define __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__
+#ifndef DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H
+#define DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H
 
 /*
- * Copyright (c) 2014 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.
@@ -23,18 +23,13 @@ namespace Dali
 
 namespace Internal
 {
-class CompleteStatusManager;
 
 namespace SceneGraph
 {
 
-class LightController;
-class CameraController;
 class RenderMessageDispatcher;
 class RenderQueue;
 class DiscardQueue;
-class TextureCache;
-class Shader;
 
 /**
  * Abstract interface for the scene controller
@@ -46,22 +41,12 @@ public:
   /**
    * Constructor
    */
-  SceneController()
-  {
-  }
+  SceneController() = default;
 
   /**
    * Destructor
    */
-  virtual ~SceneController()
-  {
-  }
-
-  /**
-   * Get the light controller
-   * @return  reference to a light controller
-   */
-  virtual LightController& GetLightController() = 0;
+  virtual ~SceneController() = default;
 
   /**
    * Return the render message dispatcher
@@ -81,27 +66,6 @@ public:
    */
   virtual DiscardQueue& GetDiscardQueue() = 0;
 
-  /**
-   * Return the texture cache
-   * TODO: Remove this method when renderer's & shader's second stage initialization
-   * is done by RenderManager rather than by the attachments in the Update thread.
-   * DO NOT USE THIS IN THE UPDATE THREAD!
-   * @return A reference to the texture cache
-   */
-  virtual TextureCache& GetTextureCache() = 0;
-
-  /**
-   * Return the CompleteStatusManager
-   * @return a reference to the complete status manager
-   */
-  virtual CompleteStatusManager& GetCompleteStatusManager() = 0;
-
-  /**
-   * Return the default shader
-   * @return pointer to the default shader
-   */
-  virtual Shader* GetDefaultShader() = 0;
-
 private:
 
   // Undefined copy constructor.
@@ -117,4 +81,4 @@ private:
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H__
+#endif // DALI_INTERNAL_SCENE_GRAPH_SCENE_CONTROLLER_H