-#ifndef __DALI_VIDEO_PLAYER_IMPL_H__
-#define __DALI_VIDEO_PLAYER_IMPL_H__
+#ifndef DALI_VIDEO_PLAYER_IMPL_H
+#define DALI_VIDEO_PLAYER_IMPL_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.
// EXTERNAL INCLUDES
#include <dali/public-api/object/base-object.h>
+#include <dali/devel-api/adaptor-framework/video-sync-mode.h>
// INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/video-player.h>
/**
* @brief Initializes member data.
*/
- void Initialize();
+ void Initialize( Dali::Actor actor, VideoSyncMode syncMode );
/**
* @brief Dali::VideoPlayer::Forward()
*/
Dali::VideoPlayerPlugin::CodecType GetCodecType() const;
+ /**
+ * @copydoc Dali::VideoPlayer::SetDisplayMode()
+ */
+ void SetDisplayMode( Dali::VideoPlayerPlugin::DisplayMode::Type mode );
+
+ /**
+ * @brief Dali::VideoPlayer::GetDisplayMode()
+ */
+ Dali::VideoPlayerPlugin::DisplayMode::Type GetDisplayMode() const;
+
+ /**
+ * @brief Dali::VideoPlayer::GetMediaPlayer()
+ */
+ Any GetMediaPlayer();
+
+ /**
+ * @brief Dali::VideoPlayer::StartSynchronization()
+ */
+ void StartSynchronization();
+
+ /**
+ * @copydoc Dali::VideoPlayer::FinishSynchronization()
+ */
+ void FinishSynchronization();
+
private:
/**
Dali::VideoPlayerPlugin* mPlugin; ///< Videoplayer plugin handle
void* mHandle; ///< Handle for the loaded library
- typedef Dali::VideoPlayerPlugin* (*CreateVideoPlayerFunction)();
+ typedef Dali::VideoPlayerPlugin* (*CreateVideoPlayerFunction)( Dali::Actor actor, Dali::VideoSyncMode syncMode );
typedef void (*DestroyVideoPlayerFunction)( Dali::VideoPlayerPlugin* plugin );
CreateVideoPlayerFunction mCreateVideoPlayerPtr;
} // namespace Dali;
-#endif
+#endif // DALI_VIDEO_PLAYER_IMPL_H