videoplayback/videoplaybackview/tsrc/teststatuspanecontrol/stub/inc/videobaseplaybackview.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/videoplayback/videoplaybackview/tsrc/teststatuspanecontrol/stub/inc/videobaseplaybackview.h Thu Jul 08 13:05:19 2010 +0300
@@ -0,0 +1,79 @@
+/*
+* 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: Video playback view
+*
+*/
+
+// Version : %version: 7 %
+
+
+
+// This file defines the API for .dll
+
+#ifndef __VIDEOBASEPLAYBACKVIEW_H__
+#define __VIDEOBASEPLAYBACKVIEW_H__
+
+// Include Files
+#include <hbwidget.h>
+#include <hbview.h>
+
+// Constants
+
+// Forward Declarations
+
+// Class Definitions
+class HbAction;
+class HbMenu;
+
+class VideoBasePlaybackView : public HbWidget
+{
+ Q_OBJECT
+
+ public:
+ VideoBasePlaybackView();
+ virtual ~VideoBasePlaybackView();
+
+ void handleActivateView();
+
+ void handleDeactivateView();
+
+ virtual void handleClosePlaybackView();
+
+ void startClosingPlaybackView();
+
+ virtual void doClosePlayer();
+
+ void setViewFlags( HbView::HbViewFlags flags );
+ HbView::HbViewFlags viewFlags();
+
+ void setTitleBarVisible( bool visible );
+ void setStatusBarVisible( bool visible );
+ void setNavigationAction(HbAction *action);
+ HbMenu *menu();
+
+ public slots:
+ virtual void closePlaybackView();
+
+ public:
+ bool mViewActive;
+ bool mTitleBarVisible;
+ bool mStatusBarVisible;
+
+ HbMenu *mMenu;
+ HbView::HbViewFlags mFlag;
+};
+
+#endif // __VIDEOBASEPLAYBACKVIEW_H__
+
+// EOF