videoplayback/inc/mpxvideoregion.h
changeset 0 96612d01cf9f
child 15 cf5481c2bc0b
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Externalizable container for DSA region
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 4 %
       
    19 
       
    20 
       
    21  
       
    22 
       
    23 #ifndef CMPXVIDEOREGION_H
       
    24 #define CMPXVIDEOREGION_H
       
    25 
       
    26 
       
    27 #include <e32base.h>
       
    28 #include <s32strm.h>
       
    29 
       
    30 class CMPXVideoRegion: public CBase 
       
    31 {  
       
    32 public:    
       
    33     static CMPXVideoRegion* NewL();
       
    34     static CMPXVideoRegion* NewLC();
       
    35     ~CMPXVideoRegion();
       
    36 
       
    37     void Print();
       
    38     void SetRegion( RRegion& aRegion );
       
    39     TRegion& GetRegion();
       
    40    
       
    41     void ExternalizeL( RWriteStream& aStream ) const;
       
    42     void InternalizeL( RReadStream& aStream );
       
    43     
       
    44 private:
       
    45     CMPXVideoRegion(); 
       
    46     void ConstructL();
       
    47     
       
    48 private:
       
    49     RRegion* iRegion;
       
    50 };
       
    51 
       
    52 #include "mpxvideoregion.inl"
       
    53 
       
    54 #endif // CMPXVIDEOREGION_H