epoc32/include/mw/epos_tposlmdatabaseevent.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 2005-2006 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:   TPosLmDatabaseEvent
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef TPOSLMDATABASEEVENT_H
    21 #define TPOSLMDATABASEEVENT_H
    22 
    23 #include <e32def.h>
    24 
    25 /**
    26 *  Specifies what type of event has occured.
    27 *
    28 *  If there is no adequate event type to describe the event,
    29 *  @p EPosLmDbUnknownEvent is specified.
    30 *
    31 *  @since S60 3.0
    32 */
    33 enum TPosLmDatabaseEventType
    34     {
    35     EPosLmDbUnknownEvent= 0,
    36     /**< Something has happened, but what happened is not specified.
    37     This event is used if there are too many events in
    38     which case the events are bundled into a single unknown event. If
    39     the client is interested in some database management information,
    40     it should be reread from the database manager. */
    41     EPosLmDbDatabaseRegistered = 100,
    42     /**< A landmark database has been registered or created. This
    43     event is also generated if a database is copied. The URI of the
    44     new database can be retrieved by calling
    45     @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */
    46     EPosLmDbDatabaseUnregistered,
    47     /**< A landmark database has been unregistered or deleted. The
    48     URI of the deleted database can be retrieved by calling
    49     @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */
    50     EPosLmDbSettingsModified,
    51     /**< Information about a database, e.g. display name has been
    52     changed. The URI of the database can be retrieved by calling
    53     @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */
    54     EPosLmDbMediaRemoved = 200,
    55     /**< Media was removed, possibly containing landmark databases. Use
    56     @ref ListDatabasesL to list the available databases. */
    57     EPosLmDbMediaInserted,
    58     /**< Media was inserted, possibly containing landmark databases.
    59     Use @ref ListDatabasesL to list the available databases. */
    60     EPosLmDbNewDefaultDbLocation = 300
    61     /**< The location of the default database has changed. The URI of
    62     the default database can be retrieved by calling
    63     @ref CPosLmDatabaseManager::DefaultDatabaseUriLC. */
    64     };
    65 
    66 /**
    67 *  Struct for landmark database events.
    68 *
    69 *  @since S60 3.0
    70 */
    71 struct TPosLmDatabaseEvent
    72     {
    73     TPosLmDatabaseEventType iEventType;  /**< Type of event. */
    74     TUint8 iUnused[8];                   /**< For future use. */
    75     };
    76 
    77 #endif      // TPOSLMDATABASEEVENT_H
    78 
    79