/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
{
}
-TapGestureDetector::TapGestureDetector()
-{
-}
+TapGestureDetector::TapGestureDetector() = default;
TapGestureDetector TapGestureDetector::New()
{
return TapGestureDetector(dynamic_cast<Dali::Internal::TapGestureDetector*>(handle.GetObjectPtr()));
}
-TapGestureDetector::~TapGestureDetector()
-{
-}
+TapGestureDetector::~TapGestureDetector() = default;
-TapGestureDetector::TapGestureDetector(const TapGestureDetector& handle)
-: GestureDetector(handle)
-{
-}
+TapGestureDetector::TapGestureDetector(const TapGestureDetector& handle) = default;
-TapGestureDetector& TapGestureDetector::operator=(const TapGestureDetector& rhs)
-{
- BaseHandle::operator=(rhs);
- return *this;
-}
+TapGestureDetector& TapGestureDetector::operator=(const TapGestureDetector& rhs) = default;
+
+TapGestureDetector::TapGestureDetector(TapGestureDetector&& handle) noexcept = default;
+
+TapGestureDetector& TapGestureDetector::operator=(TapGestureDetector&& rhs) noexcept = default;
void TapGestureDetector::SetMinimumTapsRequired(uint32_t taps)
{
return GetImplementation(*this).GetMaximumTapsRequired();
}
+void TapGestureDetector::ReceiveAllTapEvents(bool receive)
+{
+ return GetImplementation(*this).ReceiveAllTapEvents(receive);
+}
+
TapGestureDetector::DetectedSignalType& TapGestureDetector::DetectedSignal()
{
return GetImplementation(*this).DetectedSignal();