#include <dali/public-api/images/native-image.h>
#include <dali/devel-api/adaptor-framework/video-player.h>
#include <dali/integration-api/adaptors/trigger-event-factory.h>
+#include <dali/public-api/object/property-notification.h>
+#include <dali/public-api/object/property-conditions.h>
// INTERNAL INCLUDES
#include <dali-toolkit/internal/visuals/image/image-visual.h>
/**
* @brief Updates video display area for window rendering target
*/
- void UpdateDisplayArea();
+ void UpdateDisplayArea( Dali::PropertyNotification& source );
/**
* @brief Sets underlay flag and initializes new rendering target by flag.
*/
bool IsUnderlay();
+ /**
+ * @brief Sets sw codec type.
+ */
+ void SetSWCodec( bool on );
+
+ /**
+ * @brief Gets play position.
+ */
+ int GetPlayPosition();
+
+ /**
+ * @brief Sets play position.
+ */
+ void SetPlayPosition( int pos );
+
private: // From Control
/**
std::string mUrl;
Dali::DisplayArea mDisplayArea;
Dali::Renderer mRenderer;
-
- Property::Index mUpdateTriggerPropertyIndex;
- TriggerEventInterface* mNotification;
+ Dali::PropertyNotification mPositionUpdateNotification;
+ Dali::PropertyNotification mSizeUpdateNotification;
+ Dali::PropertyNotification mScaleUpdateNotification;
int mCurrentVideoPlayPosition;
bool mIsPlay;
- bool mIsPause;
bool mIsUnderlay;
};