instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presencebuddyinfo.h
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * s_presencebuddyinfo.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_presencebuddyinfo.h
       
    15 *
       
    16 */
       
    17 #ifndef MXIMPFWBUDDYPRESENCEINFOSTUB_H
       
    18 #define MXIMPFWBUDDYPRESENCEINFOSTUB_H
       
    19 
       
    20 #include <presencebuddyinfo.h>
       
    21 
       
    22 class MPresenceBuddyInfoStub : public MPresenceBuddyInfo
       
    23     {
       
    24     public:
       
    25         static MPresenceBuddyInfoStub* NewStubL();
       
    26         
       
    27         TInt Set( MXIMPIdentity* aIdentity, 
       
    28                   MPresenceInfo* aPresenceInfo);
       
    29         TInt SetPresenceInfo(MPresenceInfo* aPresenceInfo);
       
    30         TInt SetBuddyId(MXIMPIdentity* aIdentity);
       
    31         TInt SetPersonPresenceL(MPersonPresenceInfo* aPersonPresenceInfo);                                                        
       
    32         const MPresenceInfo* PresenceInfo() const;   
       
    33         const MXIMPIdentity* BuddyId() const;
       
    34         TBool EqualsIdentity(const MPresenceBuddyInfo* aOtherInstance ) const;
       
    35         
       
    36         const TAny* GetInterface(
       
    37                             TInt32 aInterfaceId,
       
    38                             TIfGetOps aOps ) const;
       
    39     
       
    40         TAny* GetInterface(
       
    41                             TInt32 aInterfaceId,
       
    42                             TIfGetOps aOps );
       
    43     
       
    44         TInt32 GetInterfaceId() const;
       
    45     };
       
    46 
       
    47 
       
    48 
       
    49 #endif //MXIMPFWBUDDYPRESENCEINFOSTUB_H
       
    50 
       
    51 
       
    52