diff -r 000000000000 -r 96612d01cf9f videoplayback/inc/mpxvideoregion.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoplayback/inc/mpxvideoregion.h Mon Jan 18 20:21:12 2010 +0200 @@ -0,0 +1,54 @@ +/* +* 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 +#include + +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