Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t
[platform/core/uifw/dali-core.git] / dali / public-api / events / gesture.h
index 48c9960..2696f7b 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_GESTURE_H__
 
 /*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
@@ -18,6 +18,9 @@
  *
  */
 
+// EXTERNAL INCLUDES
+#include <cstdint> // uint32_t
+
 // INTERNAL INCLUDES
 #include <dali/public-api/common/dali-common.h>
 
@@ -43,7 +46,7 @@ namespace Dali
  * @see GestureDetector
  *
  */
-struct DALI_IMPORT_API Gesture
+struct DALI_CORE_API Gesture
 {
   /**
    * @brief Copy constructor.
@@ -112,7 +115,7 @@ struct DALI_IMPORT_API Gesture
   /**
    * @brief The time the gesture took place.
    */
-  unsigned int time;
+  uint32_t time;
 
 protected: // Creation