radioengine/utils/src/cradiorepositorymanager.cpp
changeset 24 6df133bd92e1
parent 13 46974bebc798
equal deleted inserted replaced
23:a2b50a479edf 24:6df133bd92e1
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cradiorepositorymanager.h"
       
    19 #include "cradiorepositorymanagerimp.h"
       
    20 #include "radioengineutils.h"
       
    21 
       
    22 
       
    23 // ======== MEMBER FUNCTIONS ========
       
    24 
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 // ---------------------------------------------------------------------------
       
    28 //
       
    29 EXPORT_C CRadioRepositoryManager* CRadioRepositoryManager::NewL( TInt aGranularity )
       
    30     {
       
    31     return CRadioRepositoryManagerImp::NewL( aGranularity );
       
    32     }
       
    33 
       
    34 // ---------------------------------------------------------------------------
       
    35 //
       
    36 // ---------------------------------------------------------------------------
       
    37 //
       
    38 EXPORT_C CRadioRepositoryManager::~CRadioRepositoryManager()
       
    39     {
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------------------------
       
    43 // Sets the value of a repository key.
       
    44 // ---------------------------------------------------------------------------
       
    45 //
       
    46 EXPORT_C void CRadioRepositoryManager::SetRepositoryValueL( const TUid& aUid, TUint32 aKey, TInt aValue )
       
    47     {
       
    48     CRadioRepositoryManagerImp::SetRepositoryValueL( aUid, aKey, aValue );
       
    49     }
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // Sets the value of a repository key.
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 EXPORT_C void CRadioRepositoryManager::SetRepositoryValueL( const TUid& aUid, TUint32 aKey, const TReal& aValue )
       
    56     {
       
    57     CRadioRepositoryManagerImp::SetRepositoryValueL( aUid, aKey, aValue );
       
    58     }
       
    59 
       
    60 // ---------------------------------------------------------------------------
       
    61 // Sets the value of a repository key.
       
    62 // ---------------------------------------------------------------------------
       
    63 //
       
    64 EXPORT_C void CRadioRepositoryManager::SetRepositoryValueL( const TUid& aUid, TUint32 aKey, const TDesC8& aValue )
       
    65     {
       
    66     CRadioRepositoryManagerImp::SetRepositoryValueL( aUid, aKey, aValue );
       
    67     }
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // Sets the value of a repository key.
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 EXPORT_C void CRadioRepositoryManager::SetRepositoryValueL( const TUid& aUid, TUint32 aKey, const TDesC16& aValue )
       
    74     {
       
    75     CRadioRepositoryManagerImp::SetRepositoryValueL( aUid, aKey, aValue );
       
    76     }
       
    77 
       
    78 // ---------------------------------------------------------------------------
       
    79 // Gets the value of a repository key.
       
    80 // ---------------------------------------------------------------------------
       
    81 //
       
    82 EXPORT_C void CRadioRepositoryManager::GetRepositoryValueL( const TUid& aUid, TUint32 aKey, TInt& aValue )
       
    83     {
       
    84     CRadioRepositoryManagerImp::GetRepositoryValueL( aUid, aKey, aValue );
       
    85     }
       
    86 
       
    87 // ---------------------------------------------------------------------------
       
    88 // Gets the value of a repository key.
       
    89 // ---------------------------------------------------------------------------
       
    90 //
       
    91 EXPORT_C void CRadioRepositoryManager::GetRepositoryValueL( const TUid& aUid, TUint32 aKey, TReal& aValue )
       
    92     {
       
    93     CRadioRepositoryManagerImp::GetRepositoryValueL( aUid, aKey, aValue );
       
    94     }
       
    95 
       
    96 // ---------------------------------------------------------------------------
       
    97 // Gets the value of a repository key.
       
    98 // ---------------------------------------------------------------------------
       
    99 //
       
   100 EXPORT_C void CRadioRepositoryManager::GetRepositoryValueL( const TUid& aUid, TUint32 aKey, TDes8& aValue )
       
   101     {
       
   102     CRadioRepositoryManagerImp::GetRepositoryValueL( aUid, aKey, aValue );
       
   103     }
       
   104 
       
   105 // ---------------------------------------------------------------------------
       
   106 // Gets the value of a repository key.
       
   107 // ---------------------------------------------------------------------------
       
   108 //
       
   109 EXPORT_C void CRadioRepositoryManager::GetRepositoryValueL( const TUid& aUid, TUint32 aKey, TDes16& aValue )
       
   110     {
       
   111     CRadioRepositoryManagerImp::GetRepositoryValueL( aUid, aKey, aValue );
       
   112     }