|
1 /* |
|
2 * Copyright (c) 2005-2009 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 * Name : TSatEventList.h |
|
16 * Part of : Common SIM ATK TSY / commonsimatktsy |
|
17 * Event list - related functionality of Sat Tsy |
|
18 * Version : 1.0 |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 #ifndef TSATEVENTLIST_H |
|
25 #define TSATEVENTLIST_H |
|
26 |
|
27 // INCLUDES |
|
28 #include <etelsat.h> // Symbian Etel Sat related types |
|
29 |
|
30 // DESCRIPTION |
|
31 /** |
|
32 * Handles event list management for mmsat, used to keep track of events |
|
33 * that need to be send to NAA. |
|
34 * @lib Commonsimatktsy |
|
35 * @since 3.1 |
|
36 */ |
|
37 NONSHARABLE_CLASS ( TSatEventList ) |
|
38 { |
|
39 public: |
|
40 |
|
41 /** |
|
42 * C++ constructor |
|
43 */ |
|
44 TSatEventList(); |
|
45 |
|
46 /** |
|
47 * Check if event is ín the set of enabled events |
|
48 * @param aEvent event to check |
|
49 * @return true if the event is enabled |
|
50 */ |
|
51 TBool IsEnabled( RSat::TEventList aEvent ) const; |
|
52 |
|
53 /** |
|
54 * Remove event from set of enabled events |
|
55 * @param aEvent event to be removed |
|
56 * @return none |
|
57 */ |
|
58 void RemoveFromEventList( RSat::TEventList aEvent ); |
|
59 |
|
60 /** |
|
61 * Add event to set of enabled events |
|
62 * @param aEvent event to be added |
|
63 * @return none |
|
64 */ |
|
65 void AddToEventList( RSat::TEventList aEvent ); |
|
66 |
|
67 /** |
|
68 * Set the list of enabled events |
|
69 * @param aEvent bit mask containing events |
|
70 * @return none |
|
71 */ |
|
72 void SetEventList( TUint32 aEvent ); |
|
73 |
|
74 private: |
|
75 |
|
76 // Set of events |
|
77 TUint32 iEvents; |
|
78 }; |
|
79 |
|
80 #endif // TSATEVENTLIST_H |
|
81 |
|
82 // End of File |