videoplayback/inc/mpxvideoregion.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:57:17 +0300
branchRCL_3
changeset 21 315810614048
parent 0 96612d01cf9f
child 22 839377eedc2b
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2008 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:  Externalizable container for DSA region
*
*/

// Version : %version: 4 %


 

#ifndef CMPXVIDEOREGION_H
#define CMPXVIDEOREGION_H


#include <e32base.h>
#include <s32strm.h>

class CMPXVideoRegion: public CBase 
{  
public:    
    static CMPXVideoRegion* NewL();
    static CMPXVideoRegion* NewLC();
    ~CMPXVideoRegion();

    void Print();
    void SetRegion( RRegion& aRegion );
    TRegion& GetRegion();
   
    void ExternalizeL( RWriteStream& aStream ) const;
    void InternalizeL( RReadStream& aStream );
    
private:
    CMPXVideoRegion(); 
    void ConstructL();
    
private:
    RRegion* iRegion;
};

#include "mpxvideoregion.inl"

#endif // CMPXVIDEOREGION_H