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.
williamr@2
     1
/*
williamr@2
     2
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). 
williamr@2
     3
* All rights reserved.
williamr@2
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@2
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@2
     8
*
williamr@2
     9
* Initial Contributors:
williamr@2
    10
* Nokia Corporation - initial contribution.
williamr@2
    11
*
williamr@2
    12
* Contributors:
williamr@2
    13
*
williamr@2
    14
* Description:   TPosLmDatabaseEvent
williamr@2
    15
*
williamr@2
    16
*/
williamr@2
    17
williamr@2
    18
williamr@2
    19
williamr@2
    20
#ifndef TPOSLMDATABASEEVENT_H
williamr@2
    21
#define TPOSLMDATABASEEVENT_H
williamr@2
    22
williamr@2
    23
#include <e32def.h>
williamr@2
    24
williamr@2
    25
/**
williamr@2
    26
*  Specifies what type of event has occured.
williamr@2
    27
*
williamr@2
    28
*  If there is no adequate event type to describe the event,
williamr@2
    29
*  @p EPosLmDbUnknownEvent is specified.
williamr@2
    30
*
williamr@2
    31
*  @since S60 3.0
williamr@2
    32
*/
williamr@2
    33
enum TPosLmDatabaseEventType
williamr@2
    34
    {
williamr@2
    35
    EPosLmDbUnknownEvent= 0,
williamr@2
    36
    /**< Something has happened, but what happened is not specified.
williamr@2
    37
    This event is used if there are too many events in
williamr@2
    38
    which case the events are bundled into a single unknown event. If
williamr@2
    39
    the client is interested in some database management information,
williamr@2
    40
    it should be reread from the database manager. */
williamr@2
    41
    EPosLmDbDatabaseRegistered = 100,
williamr@2
    42
    /**< A landmark database has been registered or created. This
williamr@2
    43
    event is also generated if a database is copied. The URI of the
williamr@2
    44
    new database can be retrieved by calling
williamr@2
    45
    @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */
williamr@2
    46
    EPosLmDbDatabaseUnregistered,
williamr@2
    47
    /**< A landmark database has been unregistered or deleted. The
williamr@2
    48
    URI of the deleted database can be retrieved by calling
williamr@2
    49
    @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */
williamr@2
    50
    EPosLmDbSettingsModified,
williamr@2
    51
    /**< Information about a database, e.g. display name has been
williamr@2
    52
    changed. The URI of the database can be retrieved by calling
williamr@2
    53
    @ref CPosLmDatabaseManager::DatabaseUriFromEventLC. */
williamr@2
    54
    EPosLmDbMediaRemoved = 200,
williamr@2
    55
    /**< Media was removed, possibly containing landmark databases. Use
williamr@2
    56
    @ref ListDatabasesL to list the available databases. */
williamr@2
    57
    EPosLmDbMediaInserted,
williamr@2
    58
    /**< Media was inserted, possibly containing landmark databases.
williamr@2
    59
    Use @ref ListDatabasesL to list the available databases. */
williamr@2
    60
    EPosLmDbNewDefaultDbLocation = 300
williamr@2
    61
    /**< The location of the default database has changed. The URI of
williamr@2
    62
    the default database can be retrieved by calling
williamr@2
    63
    @ref CPosLmDatabaseManager::DefaultDatabaseUriLC. */
williamr@2
    64
    };
williamr@2
    65
williamr@2
    66
/**
williamr@2
    67
*  Struct for landmark database events.
williamr@2
    68
*
williamr@2
    69
*  @since S60 3.0
williamr@2
    70
*/
williamr@2
    71
struct TPosLmDatabaseEvent
williamr@2
    72
    {
williamr@2
    73
    TPosLmDatabaseEventType iEventType;  /**< Type of event. */
williamr@2
    74
    TUint8 iUnused[8];                   /**< For future use. */
williamr@2
    75
    };
williamr@2
    76
williamr@2
    77
#endif      // TPOSLMDATABASEEVENT_H
williamr@2
    78
williamr@2
    79