-#ifndef __DALI_RELAYOUT_CONTAINER_H__
-#define __DALI_RELAYOUT_CONTAINER_H__
+#ifndef DALI_RELAYOUT_CONTAINER_H
+#define DALI_RELAYOUT_CONTAINER_H
/*
- * Copyright (c) 2015 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.
namespace Dali
{
+/**
+ * @addtogroup dali_core_size_negotiation
+ * @{
+ */
class RelayoutContainer;
-typedef RelayoutContainer* RelayoutContainerPtr;
-
+using RelayoutContainerPtr = RelayoutContainer*;
/**
- * @brief Interface to encapsulate information required for relayout
+ * @brief Interface to encapsulate information required for relayout.
* @SINCE_1_0.0
*/
class RelayoutContainer
{
public:
-
/**
- * @brief Default constructor
+ * @brief Default constructor.
*
* @SINCE_1_0.0
*/
- RelayoutContainer() {}
+ RelayoutContainer() = default;
/**
- * @brief Virtual destructor
+ * @brief Virtual destructor.
* @SINCE_1_0.0
*/
- virtual ~RelayoutContainer() {}
+ virtual ~RelayoutContainer() = default;
/**
- * @brief Add relayout information to the container if it does'nt already exist
+ * @brief Adds relayout information to the container if it doesn't already exist.
*
* @SINCE_1_0.0
* @param actor The actor to relayout
* @param size The size to relayout
*/
- virtual void Add( const Actor& actor, const Vector2& size ) = 0;
-
+ virtual void Add(const Actor& actor, const Vector2& size) = 0;
};
+/**
+ * @}
+ */
} // namespace Dali
-#endif // __DALI_RELAYOUT_CONTAINER_H__
+#endif // DALI_RELAYOUT_CONTAINER_H