equal
deleted
inserted
replaced
25 |
25 |
26 /** |
26 /** |
27 * Notification interface class for modem's mode listener |
27 * Notification interface class for modem's mode listener |
28 * |
28 * |
29 * @lib dunatext.lib |
29 * @lib dunatext.lib |
30 * @since S60 v5.0 |
30 * @since TB9.2 |
31 */ |
31 */ |
32 NONSHARABLE_CLASS( MDunAtModeListen ) |
32 NONSHARABLE_CLASS( MDunAtModeListen ) |
33 { |
33 { |
34 |
34 |
35 public: |
35 public: |
36 |
36 |
37 /** |
37 /** |
38 * Notifies about mode status change |
38 * Notifies about mode status change |
39 * |
39 * |
40 * @since S60 5.0 |
40 * @since TB9.2 |
41 * @param aMode Current modem modes |
41 * @param aMode Current modem modes |
42 * @return Symbian error code on error, KErrNone otherwise |
42 * @return Symbian error code on error, KErrNone otherwise |
43 */ |
43 */ |
44 virtual TInt NotifyModeStatusChange( TUint aMode ) = 0; |
44 virtual TInt NotifyModeStatusChange( TUint aMode ) = 0; |
45 |
45 |
47 |
47 |
48 /** |
48 /** |
49 * Class for modem's mode listener and notifier |
49 * Class for modem's mode listener and notifier |
50 * |
50 * |
51 * @lib dunatext.lib |
51 * @lib dunatext.lib |
52 * @since S60 v5.0 |
52 * @since TB9.2 |
53 */ |
53 */ |
54 NONSHARABLE_CLASS( CDunAtModeListen ) : public CActive |
54 NONSHARABLE_CLASS( CDunAtModeListen ) : public CActive |
55 { |
55 { |
56 |
56 |
57 public: |
57 public: |
80 virtual ~CDunAtModeListen(); |
80 virtual ~CDunAtModeListen(); |
81 |
81 |
82 /** |
82 /** |
83 * Resets data to initial values |
83 * Resets data to initial values |
84 * |
84 * |
85 * @since S60 5.0 |
85 * @since TB9.2 |
86 * @return None |
86 * @return None |
87 */ |
87 */ |
88 void ResetData(); |
88 void ResetData(); |
89 |
89 |
90 /** |
90 /** |
91 * Issues request to start monitoring for mode status changes |
91 * Issues request to start monitoring for mode status changes |
92 * |
92 * |
93 * @since S60 5.0 |
93 * @since TB9.2 |
94 * @return Symbian error code on error, KErrNone otherwise |
94 * @return Symbian error code on error, KErrNone otherwise |
95 */ |
95 */ |
96 TInt IssueRequest(); |
96 TInt IssueRequest(); |
97 |
97 |
98 /** |
98 /** |
99 * Stops monitoring for mode status changes |
99 * Stops monitoring for mode status changes |
100 * |
100 * |
101 * @since S60 5.0 |
101 * @since TB9.2 |
102 * @return Symbian error code on error, KErrNone otherwise |
102 * @return Symbian error code on error, KErrNone otherwise |
103 */ |
103 */ |
104 TInt Stop(); |
104 TInt Stop(); |
105 |
105 |
106 private: |
106 private: |
111 void ConstructL(); |
111 void ConstructL(); |
112 |
112 |
113 /** |
113 /** |
114 * Initializes this class |
114 * Initializes this class |
115 * |
115 * |
116 * @since S60 5.0 |
116 * @since TB9.2 |
117 * @return None |
117 * @return None |
118 */ |
118 */ |
119 void Initialize(); |
119 void Initialize(); |
120 |
120 |
121 // from base class CActive |
121 // from base class CActive |
122 |
122 |
123 /** |
123 /** |
124 * From CActive. |
124 * From CActive. |
125 * Gets called when mode changes |
125 * Gets called when mode changes |
126 * |
126 * |
127 * @since S60 5.0 |
127 * @since TB9.2 |
128 * @return None |
128 * @return None |
129 */ |
129 */ |
130 void RunL(); |
130 void RunL(); |
131 |
131 |
132 /** |
132 /** |
133 * From CActive. |
133 * From CActive. |
134 * Gets called on cancel |
134 * Gets called on cancel |
135 * |
135 * |
136 * @since S60 5.0 |
136 * @since TB9.2 |
137 * @return None |
137 * @return None |
138 */ |
138 */ |
139 void DoCancel(); |
139 void DoCancel(); |
140 |
140 |
141 private: // data |
141 private: // data |