videofeeds/utils/src/CIptvThumbnailGenerator.cpp
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2006-2009 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 the License "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:    Thumbnail generation wrapper*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #include "IptvDebug.h"
       
    21 #include "CIptvThumbnailImpl.h"
       
    22 #include "CIptvThumbnailObserver.h"
       
    23 
       
    24 // ======== MEMBER FUNCTIONS ========
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // NewL
       
    28 // ---------------------------------------------------------------------------
       
    29 EXPORT_C CIptvThumbnailGenerator* CIptvThumbnailGenerator::NewL( MIptvThumbnailObserver& aObserver, TInt aPriority )
       
    30     {
       
    31     IPTVLOGSTRING_LOW_LEVEL( "CIptvThumbnailGenerator::NewL IN" );
       
    32     CIptvThumbnailGenerator* self = CIptvThumbnailGenerator::NewLC( aObserver, aPriority );
       
    33     CleanupStack::Pop( self );
       
    34     IPTVLOGSTRING_LOW_LEVEL( "CIptvThumbnailGenerator::NewL OUT" );
       
    35     return self;
       
    36     }
       
    37 
       
    38 // ---------------------------------------------------------------------------
       
    39 // NewLC
       
    40 // ---------------------------------------------------------------------------
       
    41 EXPORT_C CIptvThumbnailGenerator* CIptvThumbnailGenerator::NewLC( MIptvThumbnailObserver& aObserver, TInt aPriority )
       
    42     {
       
    43     IPTVLOGSTRING_LOW_LEVEL( "CIptvThumbnailGenerator::NewLC IN" );
       
    44     CIptvThumbnailGenerator* self = CIptvThumbnailImpl::NewLC( aObserver, aPriority );
       
    45     IPTVLOGSTRING_LOW_LEVEL( "CIptvThumbnailGenerator::NewLC OUT" );
       
    46     return self;
       
    47     }
       
    48 
       
    49 // ---------------------------------------------------------------------------
       
    50 // CIptvThumbnailGenerator
       
    51 // ---------------------------------------------------------------------------
       
    52 CIptvThumbnailGenerator::CIptvThumbnailGenerator( TInt aPriority )
       
    53     : CActive(aPriority)
       
    54     {
       
    55     }