Refactored more code into Actor::Relayouter
[platform/core/uifw/dali-core.git] / dali / internal / event / render-tasks / render-task-defaults.h
index 392f870..3076475 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_RENDER_TASK_DEFAULTS_H__
-#define __DALI_INTERNAL_RENDER_TASK_DEFAULTS_H__
+#ifndef DALI_INTERNAL_RENDER_TASK_DEFAULTS_H
+#define DALI_INTERNAL_RENDER_TASK_DEFAULTS_H
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
 
 namespace Dali
 {
-
 namespace Internal
 {
-
 class Actor;
 class CameraActor;
 
@@ -33,7 +31,6 @@ class CameraActor;
 class RenderTaskDefaults
 {
 public:
-
   /**
    * Retrieve the default root actor.
    * @return The default root actor.
@@ -44,18 +41,17 @@ public:
    * Retrieve the default camera actor.
    * @return The default camera actor.
    */
-  virtual CameraActor& GetDefaultCameraActor() = 0;
+  virtual CameraActor& GetDefaultCameraActor() const = 0;
 
 protected:
-
   /**
    * Virtual destructor
    */
-  virtual ~RenderTaskDefaults(){}
+  virtual ~RenderTaskDefaults() = default;
 };
 
 } // namespace Internal
 
 } // namespace Dali
 
-#endif //__DALI_INTERNAL_RENDER_TASK_DEFAULTS_H__
+#endif // DALI_INTERNAL_RENDER_TASK_DEFAULTS_H