X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-feedback.h;h=03b9de20930ecedf298015a33ea2df364e8cfd1f;hb=4142d89e56dd24cce6daad87562527b52f332301;hp=a69bb9e37d6b90bbb497e63d2402c042bec7da96;hpb=761f75cd51351b7a4e072130f4a2ad0b3e3231bb;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/plugins/dali-feedback.h b/plugins/dali-feedback.h index a69bb9e..03b9de2 100644 --- a/plugins/dali-feedback.h +++ b/plugins/dali-feedback.h @@ -1,8 +1,8 @@ -#ifndef __FEEDBACK_PLUGIN_H__ -#define __FEEDBACK_PLUGIN_H__ +#ifndef FEEDBACK_PLUGIN_H +#define FEEDBACK_PLUGIN_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -23,18 +23,14 @@ namespace Dali { - namespace Plugin { - /** * Plays feedback effects for Dali-Toolkit UI Controls. */ class DaliFeedback : public Dali::FeedbackPlugin { - public: // Construction & Destruction - /** * Constructor */ @@ -46,16 +42,15 @@ public: // Construction & Destruction virtual ~DaliFeedback(); public: // FeedbackPlugin overrides - /** * @copydoc Dali::Integration::FeedbackPlugin::PlayHaptic() */ - void PlayHaptic( const std::string& filePath ); + void PlayHaptic(const std::string& filePath); /** * @copydoc Dali::FeedbackPlugin::PlayHapticMonotone() */ - void PlayHapticMonotone( unsigned int duration ); + void PlayHapticMonotone(unsigned int duration); /** * @copydoc Dali::FeedbackPlugin::StopHaptic() @@ -65,21 +60,21 @@ public: // FeedbackPlugin overrides /** * @copydoc Dali::FeedbackPlugin::PlaySound() */ - int PlaySound( const std::string& fileName ); + int PlaySound(const std::string& fileName); /** * @copydoc Dali::FeedbackPlugin::StopSound() */ - void StopSound( int handle ); + void StopSound(int handle); /** * @copydoc Dali::FeedbackPlugin::PlayFeedbackPattern() */ - void PlayFeedbackPattern( int type, int pattern ); + void PlayFeedbackPattern(int type, int pattern); }; -} // namespace Plugin +} // namespace Plugin -} // namespace Dali +} // namespace Dali -#endif // __FEEDBACK_PLUGIN_H__ +#endif // FEEDBACK_PLUGIN_H