|
1 /* |
|
2 * Copyright (c) 2008 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: observer class for handling notifications of Search |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef _MVIMPSTENGINESEARCHEXTENTIONEVENTOBSERVER_H |
|
20 #define _MVIMPSTENGINESEARCHEXTENTIONEVENTOBSERVER_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 #include "tvimpstenums.h" |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * MVIMPSTEngineSearchExtentionEventObserver declaration. |
|
31 * @since S60 5.0 |
|
32 */ |
|
33 class MVIMPSTEngineSearchExtentionEventObserver |
|
34 { |
|
35 |
|
36 public: // New functions |
|
37 |
|
38 /** |
|
39 * Observer Event for search results |
|
40 * @param aSerachData - search results for a particular contact |
|
41 */ |
|
42 virtual void HandleSearchResultL(RArray<TVIMPSTSearchData> aSerachData) = 0; |
|
43 |
|
44 /** |
|
45 * Observer Event for search complete. |
|
46 * @param aError error if any |
|
47 */ |
|
48 virtual void HandleSearchFinishedL(TInt aError) = 0 ; |
|
49 |
|
50 |
|
51 /** |
|
52 * @see MVIMPSTEngineSearchExtentionEventObserver |
|
53 * @param aEnumKeysArray , array of enums key |
|
54 * @param aLebelKeysArray, array of key labels |
|
55 */ |
|
56 virtual void HandleSearchKeysEventL( RArray<TInt>& aEnumKeysArray, RPointerArray<HBufC>& aLebelKeysArray ) = 0 ; |
|
57 |
|
58 |
|
59 /** |
|
60 * virtual destructor |
|
61 */ |
|
62 virtual ~MVIMPSTEngineSearchExtentionEventObserver() |
|
63 { |
|
64 |
|
65 } |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // _MVIMPSTENGINESEARCHEXTENTIONEVENTOBSERVER_H |
|
70 |
|
71 // End of file |