videoplayback/videoplaybackview/tsrc/testcontrolconfiguration/stub/inc/videoplaybackcontrolscontroller.h
changeset 44 518105d52e45
child 63 4707a0db12f6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/videoplayback/videoplaybackview/tsrc/testcontrolconfiguration/stub/inc/videoplaybackcontrolscontroller.h	Thu Jul 08 13:05:19 2010 +0300
@@ -0,0 +1,95 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Implementation of MPXVideoPlaybackControlsController
+*
+*/
+
+// Version : %version:  4 %
+
+
+
+#ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
+#define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_
+
+// INCLUDES
+#include <qobject>
+
+#include <mpxplaybackframeworkdefs.h>
+
+#include "mpxvideo_debug.h"
+#include "mpxcommonvideoplaybackview.hrh"
+#include "videoplaybackviewfiledetails.h"
+
+// FORWARD DECLARATIONS
+class VideoPlaybackDocumentLoader;
+class VideoPlaybackControlsController;
+class VideoPlaybackControlConfiguration;
+
+
+
+// CLASS DECLARATION
+
+class VideoPlaybackControlsController : public QObject
+{
+    Q_OBJECT
+
+    public:
+
+        /**
+        * constructor.
+        */
+        VideoPlaybackControlsController( VideoPlaybackViewFileDetails *details );
+
+        /**
+        * Destructor.
+        */
+        virtual ~VideoPlaybackControlsController();
+
+    public:
+        /**
+        * Return file details
+        */
+        inline VideoPlaybackViewFileDetails* fileDetails();
+
+        VideoPlaybackDocumentLoader* layoutLoader();
+
+    public:
+        /**
+        * Initialize controller
+        */
+        void initializeController();
+        
+        bool shouldShowRNLogo();
+
+    public:
+        VideoPlaybackViewFileDetails          *mFileDetails;
+
+        VideoPlaybackControlConfiguration     *mControlsConfig;
+
+        VideoPlaybackDocumentLoader           *mLoader;
+};
+
+// -------------------------------------------------------------------------------------------------
+//   VideoPlaybackControlsController::fileDetails
+// -------------------------------------------------------------------------------------------------
+//
+inline
+VideoPlaybackViewFileDetails* VideoPlaybackControlsController::fileDetails()
+{
+    return mFileDetails;
+}
+
+#endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_P_H_*/
+
+// End of File