|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Notifier of the BIP Events. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MSATBIPEVENTNOTIFIER_H |
|
21 #define MSATBIPEVENTNOTIFIER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 class MSatBIPChannelStatusObserver; |
|
27 class MSatBIPDataAvailableObserver; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * BIP Event notifier interface. Responsible to notify BIP Event observers |
|
33 * about BIP Events. |
|
34 * |
|
35 * @lib SatEngine |
|
36 * @since Series 60 3.0 |
|
37 */ |
|
38 class MSatBIPEventNotifier |
|
39 { |
|
40 public: // Constructors and destructor |
|
41 |
|
42 /** |
|
43 * C++ default constructor. |
|
44 */ |
|
45 MSatBIPEventNotifier() {}; |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 virtual ~MSatBIPEventNotifier() {}; |
|
51 |
|
52 public: // New functions |
|
53 |
|
54 /** |
|
55 * Notification request for DataAvailable event. |
|
56 * @param aObserver An observer of the event. |
|
57 */ |
|
58 virtual void NotifyDataAvailable( |
|
59 MSatBIPDataAvailableObserver* aObserver ) = 0; |
|
60 |
|
61 /** |
|
62 * Notification request for ChannelStatus event. |
|
63 * @param aObserver An observer of the event. |
|
64 */ |
|
65 virtual void NotifyChannelStatus( |
|
66 MSatBIPChannelStatusObserver* aObserver ) = 0; |
|
67 |
|
68 /** |
|
69 * Cancels DataAvailable event notification request. |
|
70 */ |
|
71 virtual void CancelDataAvailable() = 0; |
|
72 |
|
73 /** |
|
74 * Cancels ChannelStatus event notification request. |
|
75 */ |
|
76 virtual void CancelChannelStatus() = 0; |
|
77 |
|
78 private: |
|
79 |
|
80 // Prohibit copy constructor if not deriving from CBase. |
|
81 MSatBIPEventNotifier( const MSatBIPEventNotifier& ); |
|
82 |
|
83 // Prohibit assigment operator if not deriving from CBase. |
|
84 MSatBIPEventNotifier& operator=( const MSatBIPEventNotifier& ); |
|
85 |
|
86 }; |
|
87 |
|
88 #endif // MSATBIPEVENTNOTIFIER_H |
|
89 |
|
90 // End of File |