videoplayback/videoplaybackview/tsrc/testuserinputhandler/stub/src/centralrepository.cpp
changeset 62 0e1e938beb1a
parent 59 a76e86df7ccd
child 65 a9d57bd8d7b7
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
     1 /*
       
     2 * Copyright (c) 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 "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:  Stub implementation for central repository
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 2 %
       
    19 
       
    20 
       
    21 
       
    22 //
       
    23 //  INCLUDE FILES
       
    24 //
       
    25 #include "centralrepository.h"
       
    26 
       
    27 
       
    28 CRepository* CRepository::NewLC( TUid /* aRepositoryUid */ )
       
    29 {
       
    30     CRepository* self = new (ELeave) CRepository();
       
    31     
       
    32     CleanupStack::PushL( self );
       
    33 
       
    34     return self;
       
    35 }
       
    36 
       
    37 
       
    38 TInt CRepository::Get( TUint32 /* aKey */, TInt& aValue )
       
    39 {
       
    40     aValue = 10;
       
    41     return KErrNone;        
       
    42 }
       
    43 
       
    44 CRepository::~CRepository()
       
    45 {
       
    46 }
       
    47 
       
    48 
       
    49 //  EOF