|
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: Interface for DataAvailable event observer. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MSATBIPDATAAVAILABLEOBSERVER_H |
|
21 #define MSATBIPDATAAVAILABLEOBSERVER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Interface for DataAvailable event observer. When DataAvailable event occurs, the |
|
30 * implementors of this class will be notified. However, this class must be send to |
|
31 * MSatBIPEventNotifier to get the notification. |
|
32 * |
|
33 * @lib SatEngine |
|
34 * @since Series 60 3.0 |
|
35 */ |
|
36 class MSatBIPDataAvailableObserver |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * C++ default constructor. |
|
42 */ |
|
43 MSatBIPDataAvailableObserver() {}; |
|
44 |
|
45 /** |
|
46 * Destructor. |
|
47 */ |
|
48 virtual ~MSatBIPDataAvailableObserver() {}; |
|
49 |
|
50 public: // New functions |
|
51 |
|
52 /** |
|
53 * Notification of an event. |
|
54 * @param aChannelId ID of the channel where the data is available. |
|
55 * @param aLength Number of bytes available |
|
56 */ |
|
57 virtual void DataAvailable( |
|
58 const TInt aChannelId, |
|
59 const TInt aLength ) = 0; |
|
60 |
|
61 private: |
|
62 |
|
63 // Prohibit copy constructor if not deriving from CBase. |
|
64 MSatBIPDataAvailableObserver( |
|
65 const MSatBIPDataAvailableObserver& ); |
|
66 |
|
67 // Prohibit assigment operator if not deriving from CBase. |
|
68 MSatBIPDataAvailableObserver& operator=( |
|
69 const MSatBIPDataAvailableObserver& ); |
|
70 |
|
71 }; |
|
72 |
|
73 #endif // MSATBIPDATAAVAILABLEOBSERVER_H |
|
74 |
|
75 // End of File |