mmlibs/mmfw/src/ControllerFramework/MMFVideoFrameMessage.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // VideoFrameMessage.h
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __MMF_VIDEO_FRAME_MESSAGE_H__
       
    19 #define __MMF_VIDEO_FRAME_MESSAGE_H__
       
    20 
       
    21 #include <fbs.h>
       
    22 #include <mmf/common/mmfvideo.h>
       
    23 
       
    24 
       
    25 
       
    26 /**
       
    27 Handles decoding the video frame message 
       
    28 Provides a callback to return the message to the client
       
    29 */
       
    30 class CMMFVideoFrameMessage : public CBase, public MMMFVideoFrameMessage
       
    31 	{
       
    32 public:
       
    33 	static CMMFVideoFrameMessage* NewL(TMMFMessage& aMessage);
       
    34 	~CMMFVideoFrameMessage();
       
    35 
       
    36 	void ConstructL();
       
    37 
       
    38 	//From MMMFVideoFrameMessage
       
    39 	virtual CFbsBitmap& GetBitmap();
       
    40 	virtual void FrameReady(TInt aErr);
       
    41 private:
       
    42 	CMMFVideoFrameMessage(TMMFMessage& aMessage);
       
    43 private:
       
    44 	TMMFMessage iMessage;
       
    45 	CFbsBitmap* iBitmap;
       
    46 	RFbsSession iFbsSession;
       
    47 	};
       
    48 #endif