equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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 interface to be implemented by UI components |
|
15 * for callbacks from the PC on background events |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MCASEARCHBACKGROUNDOBSERVERPC_H |
|
22 #define MCASEARCHBACKGROUNDOBSERVERPC_H |
|
23 |
|
24 |
|
25 // INCLUDES |
|
26 #include <e32std.h> |
|
27 #include "TEnumsPC.h" |
|
28 |
|
29 |
|
30 |
|
31 // CLASS DECLARATION |
|
32 /** |
|
33 * Interface for observer |
|
34 * |
|
35 * @lib wvuiprocessng.dll |
|
36 * @since 3.2 |
|
37 */ |
|
38 |
|
39 class MCASearchBackgroundObserverPC |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Call if an event happend that match registered task and event mask. |
|
46 * @param aEventSource is the source of event |
|
47 * @param aStatus is the status of the background task |
|
48 * @param aSubTaskNumber is the number of subtask |
|
49 * @param aLeaveCode is the leave code of the task/subtask |
|
50 */ |
|
51 virtual void HandleBackgroundEventPC( |
|
52 TEnumsPC::TCABackgroundTasks aEventSource, |
|
53 TEnumsPC::TCABackgroundStatus aStatus, |
|
54 TInt aSubTaskNumber, |
|
55 TInt aLeaveCode |
|
56 ) = 0; |
|
57 |
|
58 |
|
59 /** |
|
60 * Virtual destructor |
|
61 */ |
|
62 virtual ~MCASearchBackgroundObserverPC() {}; |
|
63 }; |
|
64 |
|
65 #endif // MCASEARCHBACKGROUNDOBSERVERPC_H |
|
66 |
|
67 // End of File |