|
1 /* |
|
2 * Copyright (c) 2002-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: Header declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 #ifndef M_SEN_HANDLER_CONTEXT_H |
|
26 #define M_SEN_HANDLER_CONTEXT_H |
|
27 |
|
28 // INCLUDES |
|
29 #include <e32std.h> |
|
30 #include "msencontext.h" // internal Framework\inc |
|
31 |
|
32 // FORWARD DECLARE |
|
33 class MSenCoreServiceManager; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 class MSenHandlerContext : public MSenContext |
|
37 { |
|
38 public: |
|
39 /** |
|
40 * Adds new MSenCoreServiceManager& type value into context, |
|
41 * typically identified by this key: KSenCtxKeyCoreServiceManager. |
|
42 * @aKey identifies new value |
|
43 * @aValue is the value being added. |
|
44 * Ownership is NOT transferred to this context. |
|
45 * @return KErrNone on success, |
|
46 * KErrAlreadyExists, if the key is reserved, |
|
47 * or some other system-wide error code. |
|
48 */ |
|
49 virtual TInt Add(MSenCoreServiceManager& aValue) = 0; |
|
50 |
|
51 /* |
|
52 * Method returns MSenCoreServiceManager* type value. |
|
53 * @return value at certain index, or NULL, if not found. |
|
54 * Ownership is not transferred, as it was never held by |
|
55 * this context. |
|
56 */ |
|
57 virtual MSenCoreServiceManager* GetSenCoreServiceManager() = 0; |
|
58 }; |
|
59 |
|
60 #endif // M_SEN_HANDLER_CONTEXT_H |
|
61 |
|
62 // End of File |