1 /* |
|
2 * Copyright (c) 2003 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: This file contains the header file of the MCbsMcnObserver class. |
|
15 * |
|
16 * MCbsMcnObserver is a mix-in class, which must be implemented |
|
17 * by a MCN client class. |
|
18 * |
|
19 * The sole method of this interface gets called when the MCN state |
|
20 * changes. This occurs when a MCN message is received from network |
|
21 * and the cell information relayed by the message differs from |
|
22 * the previous cell information. |
|
23 * |
|
24 */ |
|
25 |
|
26 |
|
27 |
|
28 #ifndef MCBSMCNOBSERVER_H |
|
29 #define MCBSMCNOBSERVER_H |
|
30 |
|
31 // FORWARD DECLARATIONS |
|
32 class TCbsMcnMessage; |
|
33 |
|
34 // CLASS DECLARATION |
|
35 |
|
36 /** |
|
37 * An interface class for MCN observers. |
|
38 * |
|
39 * A class on the client side is required to derive from this class |
|
40 * and register itself to an instance of CMcn. |
|
41 */ |
|
42 class MCbsMcnObserver |
|
43 { |
|
44 public: // New functions |
|
45 |
|
46 /** |
|
47 * This method is called when a message of a subscribed topic |
|
48 * is received from the network. |
|
49 * |
|
50 * @param aMcnMessage MCN message received from the network. |
|
51 * @return Result code |
|
52 */ |
|
53 virtual TInt CellInfoChanged( const TCbsMcnMessage& aMcnMessage ) = 0; |
|
54 |
|
55 /** |
|
56 * Virtual destructor. |
|
57 */ |
|
58 virtual ~MCbsMcnObserver() {}; |
|
59 |
|
60 }; |
|
61 |
|
62 #endif // __MCBSMCNOBSERVER_H |
|
63 |
|
64 // End of File |
|
65 |
|
66 |
|