instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presencegrantrequestinfo.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * s_presencegrantrequestinfo.h :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: s_presencegrantrequestinfo.h
       
    15 *
       
    16 */
       
    17 #ifndef MPRESENCEGRANTREQUESTINFOSTUB
       
    18 #define MPRESENCEGRANTREQUESTINFOSTUB
       
    19 
       
    20 #include <presencegrantrequestinfo.h>
       
    21 
       
    22 /**
       
    23  * Interface for presence grant request info object.
       
    24  *
       
    25  * Presence grant request info object presents single
       
    26  * presence grant request entry in the presence
       
    27  * grant request list. Presence grant request info
       
    28  * object holds the identity and display name information
       
    29  * for the presence grant request.
       
    30  *
       
    31  * @ingroup presencedatamodelapi
       
    32  * @since S60 v3.2
       
    33  */
       
    34 class MPresenceGrantRequestInfoStub : public MPresenceGrantRequestInfo
       
    35     {
       
    36 public:
       
    37     const MXIMPIdentity& RequestorId() const;
       
    38 
       
    39     const TDesC16& RequestorDisplayName() const;
       
    40 
       
    41     void SetRequestorIdL( MXIMPIdentity* aIdentity );
       
    42 
       
    43     void SetRequestorDisplayNameL( const TDesC16& aDisplayName );
       
    44     
       
    45     const TAny* GetInterface( TInt32 aInterfaceId, TIfGetOps aOps ) const;
       
    46 
       
    47     TAny* GetInterface( TInt32 aInterfaceId, TIfGetOps aOps );
       
    48  
       
    49     TInt32 GetInterfaceId() const;
       
    50      
       
    51     };
       
    52 
       
    53 #endif