uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_ximppresensitygroupcontentevent.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:33:36 +0100
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: s_ximppresensitygroupcontentevent.cpp
*
*/
#include "s_ximppresensitygroupcontentevent.h"
#include "s_ximpidentity.h"

TInt32 gMXIMPPresentityGroupEventStubInterfaceId = 0;
extern MyMXIMPIdentityStub gMXIMPIdentity; // already define in MPresentityPresenceEventStub

const MXIMPIdentity& MPresentityGroupContentEventStub::GroupId() const
    {
    gMXIMPIdentity.SetIdentityL(_L("ty"));
    return gMXIMPIdentity;
    }
    
TInt MPresentityGroupContentEventStub::NewMembersCount() const
    {
    return KErrNone;
    }

const MPresentityGroupMemberInfo& MPresentityGroupContentEventStub::NewMember( 
    TInt /*aIndex*/ ) const
    {
    MPresentityGroupMemberInfo* info = NULL;
    return *info;
    }

TInt MPresentityGroupContentEventStub::UpdatedMembersCount() const
    {
    return KErrNone;
    }

const MPresentityGroupMemberInfo& MPresentityGroupContentEventStub::UpdatedMember( 
    TInt /*aIndex*/ ) const
    {
    MPresentityGroupMemberInfo* info = NULL;
    return *info;
    }

TInt MPresentityGroupContentEventStub::DisappearedMembersCount() const
    {
    return KErrNone;
    }

const MPresentityGroupMemberInfo& MPresentityGroupContentEventStub::DisappearedMember( 
    TInt /*aIndex*/ ) const
    {
    MPresentityGroupMemberInfo* info = NULL;
    return *info;
    }

TInt MPresentityGroupContentEventStub::CurrentMembersCount() const
    {
    return KErrNone;
    }

const MPresentityGroupMemberInfo& MPresentityGroupContentEventStub::CurrentMember( 
    TInt /*aIndex*/ ) const
    {
    MPresentityGroupMemberInfo* info = NULL;
    return *info;
    }

const MXIMPDataSubscriptionState& MPresentityGroupContentEventStub::DataSubscriptionState() const
    {
    MXIMPDataSubscriptionState* state = NULL;
    return *state;
    }


const TAny* MPresentityGroupContentEventStub::GetInterface(
                        TInt32 /*aInterfaceId*/,
                        TIfGetOps /*aOps*/ ) const
    {
    return this;
    }

 TAny* MPresentityGroupContentEventStub::GetInterface(
                        TInt32 /*aInterfaceId*/,
                        TIfGetOps /*aOps*/ )
    {
    return NULL;
    }

TInt32 MPresentityGroupContentEventStub::GetInterfaceId() const
    {
    return gMXIMPPresentityGroupEventStubInterfaceId;
    }