meetingui/attendeeview/EngInc/MAttendeeItem.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Defines interface of attendee item. 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MATTENDEE_ITEM_H__
       
    21 #define __MATTENDEE_ITEM_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include <cntdef.h>
       
    25 
       
    26 // FORWARD DECLARATION
       
    27 //class CCalUser;
       
    28 class CCalAttendee;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32 * Define interface of attendee item
       
    33 */
       
    34 class MAttendeeItem
       
    35     {
       
    36     public:    
       
    37         /**
       
    38         * Destructor.
       
    39         */
       
    40         virtual ~MAttendeeItem(){};
       
    41 
       
    42     public: //New functions
       
    43         /**
       
    44         * Return the contact id of this attendee
       
    45         * @return contact id
       
    46         */
       
    47 		virtual TContactItemId ContactId() const = 0;
       
    48 
       
    49         /**
       
    50         * Return the contact title or null
       
    51         * Ownership not transferred
       
    52         * @return contact title or null
       
    53         */
       
    54 		virtual HBufC* ContactTitle() const = 0;        
       
    55         
       
    56         /**
       
    57         * Return the attendee of agenda model
       
    58         * NULL if CCalUser item is deleted from CCalEntry
       
    59         * Ownership not transferred
       
    60         * @return attendee
       
    61         */
       
    62         virtual CCalAttendee* AgnAttendee() const = 0;
       
    63         
       
    64     };
       
    65 
       
    66 #endif // __MATTENDEE_ITEM_H__
       
    67 
       
    68 // End of File