landmarks/locationlandmarks/dbmanclientlib/src/EPos_PosLmDbInfoExtension.cpp
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2005 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: Class containing static exported functions needed by the implementation
       
    15 *  of components in the Landmarks subsystem.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include    "EPos_PosLmDbInfoExtension.h"
       
    23 #include    "EPos_HPosLmDatabaseInfo.h"
       
    24 
       
    25 // CONSTANTS
       
    26 
       
    27 // ================= MEMBER FUNCTIONS =======================
       
    28 
       
    29 // ---------------------------------------------------------
       
    30 // PosLmDbInfoExtension::SetDefault
       
    31 //
       
    32 // (other items were commented in a header).
       
    33 // ---------------------------------------------------------
       
    34 //
       
    35 EXPORT_C void PosLmDbInfoExtension::SetDefault(
       
    36     HPosLmDatabaseInfo& aDatabaseInfo,
       
    37     TBool aIsDefault)
       
    38     {
       
    39     aDatabaseInfo.SetDefault(aIsDefault);
       
    40     }
       
    41 
       
    42 // ---------------------------------------------------------
       
    43 // PosLmDbInfoExtension::SetMediaType
       
    44 //
       
    45 // (other items were commented in a header).
       
    46 // ---------------------------------------------------------
       
    47 //
       
    48 EXPORT_C void PosLmDbInfoExtension::SetMediaType(
       
    49     HPosLmDatabaseInfo& aDatabaseInfo,
       
    50     TMediaType aMediaType)
       
    51     {
       
    52     aDatabaseInfo.SetMediaType(aMediaType);
       
    53     }
       
    54 
       
    55 // ---------------------------------------------------------
       
    56 // PosLmDbInfoExtension::SetDatabaseDrive
       
    57 //
       
    58 // (other items were commented in a header).
       
    59 // ---------------------------------------------------------
       
    60 //
       
    61 EXPORT_C void PosLmDbInfoExtension::SetDatabaseDrive(
       
    62     HPosLmDatabaseInfo& aDatabaseInfo,
       
    63     TChar aDatabaseDrive)
       
    64     {
       
    65     aDatabaseInfo.SetDatabaseDrive(aDatabaseDrive);
       
    66     }
       
    67 
       
    68 //  End of File