X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fvideo-view%2Fvideo-view-impl.h;h=ca8a2f82f16c43078b40e6a2e92ff1cacc21d6bd;hb=81529cb3b54f998306def4db0ba3f5f5a65c0c30;hp=bed7c9f35c2453d5b3108835c8c1265159398c0f;hpb=e37f48bb34e81585a6ed436bd7a2f9dce02c19f5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/video-view/video-view-impl.h b/dali-toolkit/internal/controls/video-view/video-view-impl.h index bed7c9f..ca8a2f8 100755 --- a/dali-toolkit/internal/controls/video-view/video-view-impl.h +++ b/dali-toolkit/internal/controls/video-view/video-view-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_VIDEO_VIEW_H /* - * Copyright (c) 2016 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. @@ -21,13 +21,13 @@ // EXTERNAL INCLUDES #include #include -#include -#include #include #include #include #include #include +#include +#include // INTERNAL INCLUDES #include @@ -316,6 +316,16 @@ private: */ bool GetStringFromProperty( const Dali::Property::Value& value, std::string& output ); + /* + * @brief Internal version of SetProperty + */ + void SetPropertyInternal( Property::Index index, const Property::Value& value ); + + /* + * @brief Apply properties after reset video player + */ + void ApplyBackupProperties(); + private: Dali::VideoPlayer mVideoPlayer; @@ -331,6 +341,7 @@ private: Dali::PropertyNotification mPositionUpdateNotification; Dali::PropertyNotification mSizeUpdateNotification; Dali::PropertyNotification mScaleUpdateNotification; + Dali::Property::Map mPropertyBackup; int mCurrentVideoPlayPosition; bool mIsPlay;