From 5389f9445b6b6cb556b2c9306ea23467ddf70331 Mon Sep 17 00:00:00 2001 From: "taeyoon0.lee" Date: Tue, 24 Oct 2017 16:40:31 +0900 Subject: [PATCH] [4.0] Added const for IsVideoTextureSupported Change-Id: Id3e60c24224bc61fc8bd0ca66a5774467842e3ec --- adaptors/common/video-player-impl.cpp | 2 +- adaptors/common/video-player-impl.h | 2 +- adaptors/devel-api/adaptor-framework/video-player-plugin.h | 2 +- adaptors/devel-api/adaptor-framework/video-player.cpp | 2 +- adaptors/devel-api/adaptor-framework/video-player.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.7.4