uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_presenceinfo.cpp
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
--- a/uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_presenceinfo.cpp	Thu Aug 19 09:41:53 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,98 +0,0 @@
-/*
-* s_presenceinfo.cpp :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_presenceinfo.cpp
-*
-*/
-#include "s_presenceinfo.h"
-#include "s_presencepersoninfo.h"
-
-MPersonPresenceInfoStub gMPersonPresenceInfo;
-TBool gPersonPresenceInfoAvailable = EFalse;
-
-const MPersonPresenceInfo* MPresenceInfoStub::PersonPresence() const
-    {
-    if ( gPersonPresenceInfoAvailable )
-        {
-        return &gMPersonPresenceInfo;
-        }
-    MPersonPresenceInfo* info = NULL;
-    return info;
-    }
-MPersonPresenceInfo* MPresenceInfoStub::PersonPresence()
-    {
-    MPersonPresenceInfo* info = NULL;
-    return info;
-    }
-
-void MPresenceInfoStub::SetPersonPresenceL( MPersonPresenceInfo* /*aPersonPresence*/ )
-    {
-    }
-
-TInt MPresenceInfoStub::ServicePresenceCount() const
-    {
-    return 0;
-    }
-
-const MServicePresenceInfo& MPresenceInfoStub::ServicePresenceAt( TInt /*aIndex*/ ) const
-    {
-    MServicePresenceInfo* info = NULL;
-    return *info;
-    }
-
-void MPresenceInfoStub::LookupServicePresenceByServiceType(
-            MServicePresenceInfo*& /*aServicePresence*/,
-            const TDesC8& /*aMatch*/ ) const
-    {
-    }
-
-void MPresenceInfoStub::AddServicePresenceL( MServicePresenceInfo* /*aServicePresence*/ )
-    {
-    }
-
-TInt MPresenceInfoStub::DevicePresenceCount() const
-    {
-    return 0;
-    }
-
-const MDevicePresenceInfo& MPresenceInfoStub::DevicePresenceAt( TInt /*aIndex*/ ) const
-    {
-    MDevicePresenceInfo* info = NULL;
-    return *info;
-    }
-
-void MPresenceInfoStub::AddDevicePresenceL( MDevicePresenceInfo* /*aDevicePresence*/ )
-    {
-    }
-
-const TAny* MPresenceInfoStub::GetInterface(
-                    TInt32 /*aInterfaceId*/,
-                    TIfGetOps /*aOps*/ ) const
-    {
-    return NULL;
-    }
-
-TAny* MPresenceInfoStub::GetInterface(
-                    TInt32 /*aInterfaceId*/,
-                    TIfGetOps /*aOps*/ )
-    {
-    return NULL;
-    }
-
-TInt32 MPresenceInfoStub::GetInterfaceId() const
-    {
-    return 0;
-    }
-
-
-