|
1 /* |
|
2 * Copyright (c) 2004-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: |
|
15 * Name : startupadaptationobserver.h |
|
16 * Part of : System Startup / Starter |
|
17 * Interface : Domain, Startup Adaptation API |
|
18 * This header file defines the startup adaptation API observer |
|
19 * interface used to return responses and deliver events. |
|
20 * Version : %version: ou1s60rt#5 % |
|
21 * This material, including documentation and any related computer |
|
22 * programs, is protected by copyright controlled by Nokia. All |
|
23 * rights are reserved. Copying, including reproducing, storing, |
|
24 * adapting or translating, any or all of this material requires the |
|
25 * prior written consent of Nokia. This material also contains |
|
26 * confidential information which may not be disclosed to others |
|
27 * without the prior written consent of Nokia. |
|
28 * Template version: 4.1 |
|
29 * Nokia Core OS * |
|
30 * |
|
31 */ |
|
32 |
|
33 |
|
34 |
|
35 #ifndef __STARTUPADAPTATIONOBSERVER_H__ |
|
36 #define __STARTUPADAPTATIONOBSERVER_H__ |
|
37 |
|
38 /***************************************************** |
|
39 * Series 60 Customer |
|
40 * Needs customer implementation |
|
41 *****************************************************/ |
|
42 |
|
43 #include <ssm/startupadaptationcommands.h> |
|
44 #include <ssm/startupadaptationevents.h> |
|
45 |
|
46 /* |
|
47 * @publishedPartner |
|
48 * @released |
|
49 */ |
|
50 |
|
51 /** |
|
52 * An observer interface used by the adaptation |
|
53 * to return responses and deliver events. |
|
54 * |
|
55 * @since S60 3.2 |
|
56 */ |
|
57 class MStartupAdaptationObserver |
|
58 { |
|
59 |
|
60 public: |
|
61 |
|
62 /** |
|
63 * A response to a command. |
|
64 * |
|
65 * @since S60 3.2 |
|
66 * |
|
67 * @param aCommandId A command identifier. |
|
68 * @param aData Data associated with the response. |
|
69 */ |
|
70 virtual void ResponseL( |
|
71 const StartupAdaptation::TCommand aCommandId, |
|
72 TDesC8& aData ) = 0; |
|
73 |
|
74 /** |
|
75 * An event from Adaptation. |
|
76 * |
|
77 * @since S60 3.2 |
|
78 * |
|
79 * @param aEventId A command identifier. |
|
80 * @param aData Data associated with the response. |
|
81 */ |
|
82 virtual void EventL( |
|
83 const StartupAdaptation::TEvent aEventId, |
|
84 TDesC8& aData ) = 0; |
|
85 }; |
|
86 |
|
87 #endif // __STARTUPADAPTATIONOBSERVER_H__ |