profilesservices/MediaFileList/Inc/mediafilevideopreviewdialog.h
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
--- a/profilesservices/MediaFileList/Inc/mediafilevideopreviewdialog.h	Thu Aug 19 10:12:30 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,89 +0,0 @@
-/*
-* Copyright (c) 2007 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:   Dialog create for video preview
-*
-*/
-
-
-
-
-#ifndef VIDEOPREVIEWDIALOG_H_
-#define VIDEOPREVIEWDIALOG_H_
-
-
-//  INCLUDES
-#include <AknDialog.h>
-
-#include "mediafilepreview.h"
-
-// CLASS DECLARATION
-
-
-/**
-* CVideoPreviewDialog
-*
-*/
-NONSHARABLE_CLASS (CVideoPreviewDialog) : public CAknDialog,
-                                          public MPreviewHandlerObserver,
-                                          public MCoeForegroundObserver
-    {
-    public:// Constructors and destructor
-        static CVideoPreviewDialog* NewL( TAny* aVideoHandler );
-        virtual ~CVideoPreviewDialog();
-    
-    public:
-        TBool ShowDialogLD( TInt* aError );
-        void SetAttrL( TInt aAttr, TInt aValue );
-        void SetAttrL( TInt aAttr, const TDesC& aValue );
-        void SetAttrL( TInt aAttr, TAny* aValue );
-        // Close the dialogue to cancel the preview
-        void CloseDialogL();
-
-
-    private:
-        CVideoPreviewDialog( TAny* aVideoHandler );
-        void ConstructL();
-        
-    private:
-        void PreLayoutDynInitL();
-        void PostLayoutDynInitL();
-        TBool OkToExitL( TInt aButtonId );
-        void ProcessCommandL(TInt aCommandId);
-        void HandleResourceChange(TInt aType);
-        
-    private:
-        void CloseDialogWithDelayL();
-        static TInt CloseDialog( TAny *aObj );
-        
-    private:   // from MPreviewHandlerObserver
-        void HandlePreviewEventL( TInt aEvent, TInt aError );
-        
-    private:
-        void HandleGainingForeground();
-        void HandleLosingForeground();
-        
-        
-    private:
-        CMFVideoPreviewHandler* iVideoHandler;
-        TBool iVideoHandlerCreated;
-        
-        // for closing dialog
-        CIdle* iIdle;
-        
-        TInt* iError;
-        
-    };
-
-
-#endif /*VIDEOPREVIEWDIALOG_H_*/