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