Making DALi public API typesafe using guaranteed types; uint8_t, uint32_t
[platform/core/uifw/dali-core.git] / dali / public-api / events / tap-gesture.h
index 16982e2..6fc6852 100644 (file)
@@ -2,7 +2,7 @@
 #define __DALI_TAP_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.
@@ -36,7 +36,7 @@ namespace Dali
  * @SINCE_1_0.0
  * @see TapGestureDetector
  */
-struct DALI_IMPORT_API TapGesture : public Gesture
+struct DALI_CORE_API TapGesture : public Gesture
 {
   // Construction & Destruction
 
@@ -72,13 +72,13 @@ struct DALI_IMPORT_API TapGesture : public Gesture
   /**
    * @brief The number of taps in this tap gesture.
    */
-  unsigned int numberOfTaps;
+  uint32_t numberOfTaps;
 
   /**
    * @brief The number of touch points in this tap gesture, i.e. the number of fingers the user had on the
    * screen to generate the tap gesture.
    */
-  unsigned int numberOfTouches;
+  uint32_t numberOfTouches;
 
   /**
    * @brief This is the point, in screen coordinates, where the tap occurred.