equal
deleted
inserted
replaced
|
1 /* |
|
2 * 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_ximpsearchevent.cpp |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "s_ximpsearchevent.h" |
|
20 |
|
21 TInt32 gMXIMPSearchEventStubInterfaceId = 0; |
|
22 |
|
23 |
|
24 TInt MSearchEventStub::SearchResultCount()const |
|
25 { |
|
26 return KErrNone; |
|
27 } |
|
28 |
|
29 const MSearchInfo& MSearchEventStub::SearchResult( TInt /*aIndex*/ )const |
|
30 { |
|
31 MSearchInfo* info = NULL; |
|
32 return *info; |
|
33 } |
|
34 |
|
35 const MXIMPIdentity& MSearchEventStub::SearchId()const |
|
36 { |
|
37 MXIMPIdentity* identity = NULL; |
|
38 return *identity; |
|
39 } |
|
40 |
|
41 |
|
42 const TAny* MSearchEventStub::GetInterface( |
|
43 TInt32 /*aInterfaceId*/, |
|
44 TIfGetOps /*aOps*/ ) const |
|
45 { |
|
46 return this; |
|
47 } |
|
48 |
|
49 TAny* MSearchEventStub::GetInterface( |
|
50 TInt32 /*aInterfaceId*/, |
|
51 TIfGetOps /*aOps*/ ) |
|
52 { |
|
53 return NULL; |
|
54 } |
|
55 |
|
56 TInt32 MSearchEventStub::GetInterfaceId() const |
|
57 { |
|
58 return gMXIMPSearchEventStubInterfaceId; |
|
59 } |