|
1 /* |
|
2 * Copyright (c) 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_ATEXTCOMMONOBSERVER_H |
|
20 #define C_ATEXTCOMMONOBSERVER_H |
|
21 |
|
22 #include <ecom/ecom.h> |
|
23 |
|
24 class CATExtCommonBase; |
|
25 |
|
26 /** |
|
27 * The interface for AT Extension Plugin to interact with plugins. |
|
28 * |
|
29 * @since S60 v5.0 |
|
30 */ |
|
31 class MATExtCommonObserver |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Called by concrete extension Plugin to inform that mode status has |
|
38 * changed. |
|
39 * |
|
40 * @since S60 5.0 |
|
41 * @param aMode New mode |
|
42 * @return Symbian error code on error, KErrNone otherwise |
|
43 */ |
|
44 virtual TInt SendModeStatusChange( TUint aMode ) = 0; |
|
45 |
|
46 /** |
|
47 * Called by concrete extension plugin to inform that NVRAM status has |
|
48 * changed. |
|
49 * |
|
50 * @since S60 5.0 |
|
51 * @param aNvram New NVRAM status. The new settings (delimited by "|") |
|
52 * must differ from the Hayes defaults. |
|
53 * @return Symbian error code on error, KErrNone otherwise |
|
54 */ |
|
55 virtual TInt SendNvramStatusChange( const TDesC8& aNvram ) = 0; |
|
56 |
|
57 /** |
|
58 * Called by the destructor of CATExtPluginBase. |
|
59 * A concrete service provider implementation should not touch this. |
|
60 * |
|
61 * @param aPlugin Plugin that was closed |
|
62 * @return Symbian error code on error, KErrNone otherwise |
|
63 */ |
|
64 virtual TInt ATExtPluginClosed( CATExtCommonBase* aPlugin ) = 0; |
|
65 |
|
66 }; |
|
67 |
|
68 #endif // C_ATEXTCOMMONOBSERVER_H |