equal
deleted
inserted
replaced
33 // CLASS DECLARATIONS |
33 // CLASS DECLARATIONS |
34 |
34 |
35 /** |
35 /** |
36 * Active object to load widgets into list |
36 * Active object to load widgets into list |
37 */ |
37 */ |
38 NONSHARABLE_CLASS( CWmWidgetLoaderAo ) : public CAsyncOneShot |
38 NONSHARABLE_CLASS( CWmWidgetLoaderAo ) : public CActive |
39 { |
39 { |
40 |
40 |
41 public: |
41 public: |
42 /** |
42 /** |
43 * Static constructor |
43 * Static constructor |
76 void ConstructL(); |
76 void ConstructL(); |
77 |
77 |
78 protected: // from CActive |
78 protected: // from CActive |
79 |
79 |
80 /** |
80 /** |
81 * AO body |
81 * Handles an active object's request completion event. |
82 */ |
82 * |
|
83 * @see CActive::RunL |
|
84 */ |
83 void RunL(); |
85 void RunL(); |
84 |
86 |
85 /** |
87 /** |
86 * AO error handler |
88 * RunError |
|
89 * |
|
90 * @see CActive::RunError |
87 */ |
91 */ |
88 TInt RunError( TInt aError ); |
92 TInt RunError( TInt aError ); |
|
93 |
|
94 /** |
|
95 * Implements cancellation of an outstanding request. |
|
96 * |
|
97 * @see CActive::DoCancel |
|
98 */ |
|
99 void DoCancel(); |
89 |
100 |
90 private: |
101 private: |
91 |
102 |
92 /** |
103 /** |
93 * connects to wrt registry |
104 * connects to wrt registry |
94 */ |
105 */ |
95 void OpenSessionL(); |
106 void OpenSessionL(); |
|
107 |
|
108 /** |
|
109 * disconnects from wrt registry |
|
110 */ |
|
111 void CloseSession(); |
96 |
112 |
97 /** |
113 /** |
98 * loads widgets into the listbox |
114 * loads widgets into the listbox |
99 */ |
115 */ |
100 void DoLoadWidgetsL(); |
116 void DoLoadWidgetsL(); |