meetingrequest/mrgui/inc/mesmrlocationhistoryitem.h
branchRCL_3
changeset 25 3533d4323edc
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     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:  Interface definition for location history item
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MESMRLOCATIONHISTORYITEM_H
       
    20 #define MESMRLOCATIONHISTORYITEM_H
       
    21 
       
    22 /**
       
    23  *  MESMRLocationHistoryItem defines interface for a location history item.
       
    24  */
       
    25 class MESMRLocationHistoryItem
       
    26     {
       
    27 public:
       
    28     /**
       
    29      * Virtual C++ destructor.
       
    30      */
       
    31     virtual ~MESMRLocationHistoryItem() { }
       
    32 
       
    33     /**
       
    34      * Sets aAddress as new address 
       
    35      * 
       
    36      * @param aAddress New address to be set 
       
    37      */
       
    38     virtual void SetAddressL( const TDesC& aAddress ) = 0;
       
    39      
       
    40     /**
       
    41      * Sets aUrl as new url 
       
    42      * 
       
    43      * @param aUrl New url to be set 
       
    44      */
       
    45     virtual void SetUrlL( const TDesC& aUrl ) = 0;
       
    46      
       
    47     /**
       
    48      * Returns address 
       
    49      * 
       
    50      * @return the address of this item
       
    51      */
       
    52     virtual const TDesC& Address() const = 0;
       
    53      
       
    54     /**
       
    55      * Returns url 
       
    56      * 
       
    57      * @return the url of this item
       
    58      */
       
    59     virtual const TDesC& Url() const = 0;
       
    60      
       
    61     /**
       
    62      * Returns id
       
    63      * 
       
    64      * @return the id of this item
       
    65      */ 
       
    66     virtual TUint Id() const = 0;
       
    67     };
       
    68 
       
    69 #endif // MESMRLOCATIONHISTORYITEM_H