Merge branch 'devel/master' into tizen
[platform/core/uifw/dali-core.git] / dali / internal / event / events / touch-data-impl.h
old mode 100644 (file)
new mode 100755 (executable)
index 15bfb4f..5135e83
@@ -1,8 +1,8 @@
-#ifndef __DALI_INTERNAL_TOUCH_DATA_H__
-#define __DALI_INTERNAL_TOUCH_DATA_H__
+#ifndef DALI_INTERNAL_TOUCH_DATA_H
+#define DALI_INTERNAL_TOUCH_DATA_H
 
 /*
- * Copyright (c) 2017 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.
@@ -172,6 +172,14 @@ public:
    */
   Device::Subclass::Type GetDeviceSubclass( std::size_t point ) const;
 
+  /**
+   * @brief Get mouse's button value (ex: right/left button)
+   *
+   * @return The value of mouse button
+   */
+  MouseButton::Type GetMouseButton( std::size_t point ) const;
+
+
 private:
 
   /// Undefined Copy constructor
@@ -210,4 +218,4 @@ inline const Internal::TouchData& GetImplementation( const Dali::TouchData& touc
 
 } // namespace Dali
 
-#endif // __DALI_INTERNAL_TOUCH_DATA_H__
+#endif // DALI_INTERNAL_TOUCH_DATA_H