equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-2007 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: interface for users of MSearchClientSession to monitor the search progress |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 #ifndef C_SEARCHRESULTHANDLER |
|
23 #define C_SEARCHRESULTHANDLER |
|
24 |
|
25 #include <e32base.h> |
|
26 |
|
27 class CSearchLightResult; |
|
28 class CSearchResult; |
|
29 |
|
30 |
|
31 NONSHARABLE_CLASS( MSrchUiResultHandler ) |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Launches application |
|
36 * |
|
37 * @param aResultId Document Id of the file to be launched |
|
38 */ |
|
39 virtual void LaunchApplicationL( const CSearchDocumentId& aResultId ) = 0; |
|
40 |
|
41 /** |
|
42 * Launches the previous view |
|
43 */ |
|
44 virtual void LaunchPreviousViewL() = 0; |
|
45 |
|
46 /** |
|
47 * Starts New search |
|
48 */ |
|
49 virtual void StartNewSearchL() = 0; |
|
50 /** |
|
51 * cancels search |
|
52 */ |
|
53 virtual TInt CancelSearch() = 0; |
|
54 |
|
55 /** |
|
56 * Returns ETrue if the search is in progress |
|
57 */ |
|
58 virtual TBool IsSearching() = 0; |
|
59 /** |
|
60 * Get the launch infor |
|
61 */ |
|
62 virtual HBufC8* GetLaunchInfoL( const CSearchDocumentId& aDocumentID ) = 0; |
|
63 }; |
|
64 |
|
65 #endif // C_SEARCHRESULTHANDLER |