Use modern construct 'using' instead of typedef.
[platform/core/uifw/dali-core.git] / dali / public-api / math / viewport.h
index 3d0a4bd..51932cc 100644 (file)
@@ -1,8 +1,8 @@
-#ifndef __DALI_VIEWPORT_H__
-#define __DALI_VIEWPORT_H__
+#ifndef DALI_VIEWPORT_H
+#define DALI_VIEWPORT_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.
  *
  */
 
+// EXTERNAL INCLUDES
+#include <cstdint> // int32_t
+
 // INTERNAL INCLUDES
 #include <dali/public-api/math/rect.h>
 
 namespace Dali
 {
+/**
+ * @addtogroup dali_core_math
+ * @{
+ */
 
 /**
  * @brief Typedef for a viewport ( a rectangle representing a screen area ).
+ * @SINCE_1_0.0
  */
-typedef Rect<int> Viewport;
+using Viewport = Rect<int32_t>;
 
+/**
+ * @}
+ */
 } // namespace Dali
 
-#endif // __DALI_VIEWPORT_H__
+#endif // DALI_VIEWPORT_H