From: taeyoon0.lee Date: Tue, 24 Oct 2017 07:40:31 +0000 (+0900) Subject: [4.0] Added const for IsVideoTextureSupported X-Git-Tag: accepted/tizen/4.0/unified/20171103.162651~6 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=5389f9445b6b6cb556b2c9306ea23467ddf70331 [4.0] Added const for IsVideoTextureSupported Change-Id: Id3e60c24224bc61fc8bd0ca66a5774467842e3ec --- diff --git a/adaptors/common/video-player-impl.cpp b/adaptors/common/video-player-impl.cpp index 0807e2a..7a66095 100644 --- a/adaptors/common/video-player-impl.cpp +++ b/adaptors/common/video-player-impl.cpp @@ -289,7 +289,7 @@ void VideoPlayer::Backward( int millisecond ) } } -bool VideoPlayer::IsVideoTextureSupported() +bool VideoPlayer::IsVideoTextureSupported() const { if( mPlugin != NULL ) { diff --git a/adaptors/common/video-player-impl.h b/adaptors/common/video-player-impl.h index 498a761..eaaa2fb 100644 --- a/adaptors/common/video-player-impl.h +++ b/adaptors/common/video-player-impl.h @@ -162,7 +162,7 @@ public: /** * @brief Dali::VideoPlayer::IsVideoTextureSupported() */ - bool IsVideoTextureSupported(); + bool IsVideoTextureSupported() const; private: diff --git a/adaptors/devel-api/adaptor-framework/video-player-plugin.h b/adaptors/devel-api/adaptor-framework/video-player-plugin.h index 10a6d5d..f1c309b 100644 --- a/adaptors/devel-api/adaptor-framework/video-player-plugin.h +++ b/adaptors/devel-api/adaptor-framework/video-player-plugin.h @@ -215,7 +215,7 @@ public: * @brief Checks whether the video texture is supported * @return True if supported, otherwise false. */ - virtual bool IsVideoTextureSupported() = 0; + virtual bool IsVideoTextureSupported() const = 0; }; diff --git a/adaptors/devel-api/adaptor-framework/video-player.cpp b/adaptors/devel-api/adaptor-framework/video-player.cpp index 048a9f0..281ae39 100644 --- a/adaptors/devel-api/adaptor-framework/video-player.cpp +++ b/adaptors/devel-api/adaptor-framework/video-player.cpp @@ -171,7 +171,7 @@ void VideoPlayer::Backward( int millisecond ) GetImplementation( *this ).Backward( millisecond ); } -bool VideoPlayer::IsVideoTextureSupported() +bool VideoPlayer::IsVideoTextureSupported() const { return GetImplementation( *this ).IsVideoTextureSupported(); } diff --git a/adaptors/devel-api/adaptor-framework/video-player.h b/adaptors/devel-api/adaptor-framework/video-player.h index c630c72..f548ab1 100644 --- a/adaptors/devel-api/adaptor-framework/video-player.h +++ b/adaptors/devel-api/adaptor-framework/video-player.h @@ -245,7 +245,7 @@ public: * @brief Checks whether the video texture is supported * @return True if supported, otherwise false. */ - bool IsVideoTextureSupported(); + bool IsVideoTextureSupported() const; private: // Not intended for application developers