equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Initialization phase interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_CFSTARTEROBSERVER_H |
|
20 #define M_CFSTARTEROBSERVER_H |
|
21 |
|
22 #include "cfphasebase.h" |
|
23 #include "cfstartereventhandler.h" |
|
24 |
|
25 /** |
|
26 * Interface for initilize phases. |
|
27 * Context Framework server will inform when to initialize a phase. |
|
28 */ |
|
29 class MCFStarterObserver |
|
30 { |
|
31 public: |
|
32 |
|
33 /** |
|
34 * Informs initialization phases. |
|
35 * |
|
36 * @since S60 4.0 |
|
37 * @param aPhase Current phase. |
|
38 * @return None. |
|
39 */ |
|
40 virtual void InitializePhaseL( CCFPhaseBase::TCFPhaseId aPhaseId ) = 0; |
|
41 |
|
42 /** |
|
43 * Sets event handler to observers. |
|
44 * |
|
45 * @since S60 3.2 |
|
46 * @param aEventHandler Event handler. |
|
47 * @return None. |
|
48 */ |
|
49 virtual void SetEventHandler( MCFStarterEventHandler& aEventHandler ) = 0; |
|
50 |
|
51 protected: |
|
52 |
|
53 // Deny destruction through this class |
|
54 virtual ~MCFStarterObserver(){}; |
|
55 }; |
|
56 |
|
57 #endif//M_CFSTARTEROBSERVER_H |