videoplayback/videohelix/tsrc/ut_videohelixtest/src/tnmgr_stub.cpp
branchRCL_3
changeset 15 8f0df5c82986
child 16 67eb01668b0e
equal deleted inserted replaced
14:55fa1ec415c6 15:8f0df5c82986
       
     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:  Thumbnail Manager stub impl
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version:  1 %
       
    19 
       
    20 #include <fbs.h>
       
    21 #include "tnmgr_stub.h"
       
    22 #include "mpxvideo_debug.h"
       
    23 
       
    24 
       
    25 /****************************************************
       
    26  * CThumbnailManager stub implementation
       
    27  ****************************************************/
       
    28 CThumbnailManager::~CThumbnailManager()
       
    29 {
       
    30 }
       
    31 
       
    32 CThumbnailManager* CThumbnailManager::NewL( MThumbnailManagerObserver& aObserver )
       
    33 {
       
    34     MPX_ENTER_EXIT(_L("CThumbnailManager::NewL() - stub impl"));
       
    35     CThumbnailManager* self = new( ELeave )CThumbnailManager( aObserver );    
       
    36     return self;
       
    37 }
       
    38 
       
    39 CThumbnailManager::CThumbnailManager( MThumbnailManagerObserver&  aObserver )
       
    40 : iObserver( aObserver )
       
    41 {
       
    42     MPX_ENTER_EXIT(_L("CThumbnailManager::CThumbnailManager() - stub impl"));
       
    43 }
       
    44 
       
    45 TThumbnailRequestId CThumbnailManager::SetThumbnailL( CThumbnailObjectSource& aObjectSource )
       
    46 {   
       
    47     MPX_ENTER_EXIT(_L("CThumbnailManager::SetThumbnailL() - stub impl"));
       
    48     return 0;
       
    49 }
       
    50 
       
    51 
       
    52 /****************************************************
       
    53  * CThumbnailObjectSource stub implementation
       
    54  ****************************************************/
       
    55 CThumbnailObjectSource::~CThumbnailObjectSource()
       
    56 {
       
    57 }
       
    58 
       
    59 CThumbnailObjectSource* CThumbnailObjectSource::NewL( CFbsBitmap*  aBitmap, const TDesC& aUri )
       
    60 {
       
    61     MPX_ENTER_EXIT(_L("CThumbnailObjectSource::NewL() - stub impl"));
       
    62     CThumbnailObjectSource* self = new( ELeave )CThumbnailObjectSource( aBitmap, aUri );
       
    63     return self;
       
    64 }
       
    65 
       
    66 CThumbnailObjectSource::CThumbnailObjectSource( CFbsBitmap*  aBitmap, const TDesC& aUri )
       
    67 {
       
    68 }
       
    69 
       
    70