--- a/idlehomescreen/widgetmanager/inc/wmwidgetloaderao.h Tue May 25 12:29:32 2010 +0300
+++ b/idlehomescreen/widgetmanager/inc/wmwidgetloaderao.h Wed Jun 09 09:29:04 2010 +0300
@@ -35,7 +35,7 @@
/**
* Active object to load widgets into list
*/
-NONSHARABLE_CLASS( CWmWidgetLoaderAo ) : public CAsyncOneShot
+NONSHARABLE_CLASS( CWmWidgetLoaderAo ) : public CActive
{
public:
@@ -78,14 +78,25 @@
protected: // from CActive
/**
- * AO body
- */
+ * Handles an active object's request completion event.
+ *
+ * @see CActive::RunL
+ */
void RunL();
/**
- * AO error handler
+ * RunError
+ *
+ * @see CActive::RunError
*/
TInt RunError( TInt aError );
+
+ /**
+ * Implements cancellation of an outstanding request.
+ *
+ * @see CActive::DoCancel
+ */
+ void DoCancel();
private:
@@ -93,6 +104,11 @@
* connects to wrt registry
*/
void OpenSessionL();
+
+ /**
+ * disconnects from wrt registry
+ */
+ void CloseSession();
/**
* loads widgets into the listbox