idlefw/plugins/wrtdataplugin/inc/wrtdataobserver.h
changeset 3 ff572005ac23
parent 1 844b978f8d5e
child 8 d0529222e3f0
--- a/idlefw/plugins/wrtdataplugin/inc/wrtdataobserver.h	Mon Jan 18 20:32:13 2010 +0200
+++ b/idlefw/plugins/wrtdataplugin/inc/wrtdataobserver.h	Tue Jan 26 12:11:15 2010 +0200
@@ -22,8 +22,10 @@
 // INCLUDE FILES
 #include <liwcommon.h>
 
+// FORWARD DECLARATIONS
 class CWrtData;
 
+// CLASS DECLARATION
 /**
  *  @ingroup group_wrtdataplugin
  *
@@ -33,91 +35,91 @@
  */
 class CWrtDataObserver : public CBase, public MLiwNotifyCallback
     {
-public:
+    public:
 
-    /**
-    * Part of the two phased constuction
-    *
-    * @param aInterface reference of the interface 
-    * @param aData reference of the wrt data object
-    * @return none
-    */
-    static CWrtDataObserver* NewL( MLiwInterface* aInterface, CWrtData* aData );
+        /**
+        * Part of the two phased constuction
+        *
+        * @param aInterface reference of the interface 
+        * @param aData reference of the wrt data object
+        * @return none
+        */
+        static CWrtDataObserver* NewL( MLiwInterface* aInterface, CWrtData* aData );
     
-    /**
-    * Destructor
-    *
-    * @param none
-    * @return none
-    */   
-    ~CWrtDataObserver();
+        /**
+        * Destructor
+        *
+        * @param none
+        * @return none
+        */   
+        ~CWrtDataObserver();
 
-private :
-    
-    /**
-    * Constructor
-    *
-    * @param none
-    * @return none
-    */
-    CWrtDataObserver();
+    private :
     
-    /**
-    * Part of the two phased construction
-    *
-    * @param aInterface reference of the interface
-    * @param aData reference of the wrt data object
-    * @return void
-    */
-    void ConstructL( MLiwInterface* aInterface, CWrtData* aData );
+        /**
+        * Constructor
+        *
+        * @param none
+        * @return none
+        */
+        CWrtDataObserver();
+        
+        /**
+        * Part of the two phased construction
+        *
+        * @param aInterface reference of the interface
+        * @param aData reference of the wrt data object
+        * @return void
+        */
+        void ConstructL( MLiwInterface* aInterface, CWrtData* aData );
        
-public:  //from MLiwNotifyCallbackc
+    public:  //from MLiwNotifyCallbackc
     
-    /**
-    * Handles notifications caused by an asynchronous Execute*CmdL call
-    * or an event.
-    *
-    * @param aCmdId The service command associated to the event.
-    * @param aEventId occurred event, see LiwCommon.hrh.
-    * @param aEventParamList Event parameters, if any, as defined per
-    *        each event.
-    * @param aInParamList Input parameters, if any, given in the
-    *        related HandleCommmandL.
-    * @return Error code for the call back.
-    */
-    virtual TInt HandleNotifyL(
-        TInt aCmdId,
-        TInt /*aEventId*/,
-        CLiwGenericParamList& aEventParamList,
-        const CLiwGenericParamList& /*aInParamList*/);
+        /**
+        * Handles notifications caused by an asynchronous Execute*CmdL call
+        * or an event.
+        *
+        * @param aCmdId The service command associated to the event.
+        * @param aEventId occurred event, see LiwCommon.hrh.
+        * @param aEventParamList Event parameters, if any, as defined per
+        *        each event.
+        * @param aInParamList Input parameters, if any, given in the
+        *        related HandleCommmandL.
+        * @return Error code for the call back.
+        */
+        virtual TInt HandleNotifyL(
+            TInt aCmdId,
+            TInt /*aEventId*/,
+            CLiwGenericParamList& aEventParamList,
+            const CLiwGenericParamList& /*aInParamList*/);
 
-public:
+    public:
     
-    /**
-    * Registers to CPS for add, delete , update and execute notifications
-    * @aFilter - filter for input parameter list
-    * @return void.
-    */
-    void RegisterL( CLiwDefaultMap* aFilter );
-
-    /**
-    * Cancel all the registered notifications. 
-    * @return void.
-    */
-    void ReleaseL();
+        /**
+        * Registers to CPS for add, delete , update and execute notifications
+        * @aFilter - filter for input parameter list
+        * @return void.
+        */
+        void RegisterL( CLiwDefaultMap* aFilter );
+    
+        /**
+        * Cancel all the registered notifications. 
+        * @return void.
+        */
+        void ReleaseL();
+            
+    private:
+            
+        // Reference of 
+        // Not owned
+        MLiwInterface* iInterface;
         
-private:
+        // Reference of the wrt data
+        // Not owned
+        CWrtData* iData;
         
-    // Reference of 
-    // Not owned
-    MLiwInterface* iInterface;
-    
-    // Reference of the wrt data
-    // Not owned
-    CWrtData* iData;
-    
-    // Call back error code
-    TInt iError;
+        // Call back error code
+        TInt iError;
         
     };