landmarks/locationlandmarks/dbmanclientlib/inc/EPos_PosLmDbInfoExtension.h
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 #ifndef POSLMDBINFOEXTENSION_H
       
    21 #define POSLMDBINFOEXTENSION_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class HPosLmDatabaseInfo;
       
    28 class TPosLmDatabaseSettings;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  Class containing static exported functions needed by the implementation
       
    34 *  of components in the Landmarks subsystem.
       
    35 *
       
    36 *  This class is not meant for Landmarks API clients.
       
    37 *
       
    38 *  @version $Revision: 1.3 $, $Date: 2005/03/09 09:30:52 $
       
    39 */
       
    40 class PosLmDbInfoExtension
       
    41     {
       
    42     public:  // New functions
       
    43 
       
    44         /**
       
    45         * Sets the default database indicator flag.
       
    46         * This flag is used to indicate if the database described by the
       
    47         * object is the default database.
       
    48         *
       
    49         * @param aDatabaseInfo The object in which the flag should be set.
       
    50         * @param aIsDefault @p ETrue if the database is the default database,
       
    51         * otherwise @p ETrue.
       
    52         */
       
    53         IMPORT_C static void SetDefault(
       
    54         /* IN/OUT  */   HPosLmDatabaseInfo &aDatabaseInfo,
       
    55         /* IN  */       TBool aIsDefault
       
    56         );
       
    57 
       
    58         /**
       
    59         * Sets the database media type.
       
    60         *
       
    61         * @param aDatabaseInfo The object in which the parameter should be set.
       
    62         * @param aMediaType The media type.
       
    63         */
       
    64         IMPORT_C static void SetMediaType(
       
    65         /* IN/OUT  */   HPosLmDatabaseInfo &aDatabaseInfo,
       
    66         /* IN  */       TMediaType aMediaType
       
    67         );
       
    68 
       
    69         /**
       
    70         * Sets the database drive.
       
    71         *
       
    72         * @param aDatabaseInfo The object in which the parameter should be set.
       
    73         * @param aDatabaseDrive The database drive letter.
       
    74         */
       
    75         IMPORT_C static void SetDatabaseDrive(
       
    76         /* IN/OUT  */   HPosLmDatabaseInfo &aDatabaseInfo,
       
    77         /* IN  */       TChar aDatabaseDrive
       
    78         );
       
    79 
       
    80 
       
    81     };
       
    82 
       
    83 #endif      // POSLMDBINFOEXTENSION_H
       
    84 
       
    85 // End of File