localconnectivityservice/dun/atext/inc/DunAtNvramListen.h
branchRCL_3
changeset 38 3dcb815346df
parent 0 c3e98f10fcf4
equal deleted inserted replaced
37:7e0ecb5b116a 38:3dcb815346df
    24 
    24 
    25 /**
    25 /**
    26  *  Class for AT NVRAM status change listener
    26  *  Class for AT NVRAM status change listener
    27  *
    27  *
    28  *  @lib dunatext.lib
    28  *  @lib dunatext.lib
    29  *  @since S60 v5.0
    29  *  @since TB9.2
    30  */
    30  */
    31 NONSHARABLE_CLASS( CDunAtNvramListen ) : public CActive
    31 NONSHARABLE_CLASS( CDunAtNvramListen ) : public CActive
    32     {
    32     {
    33 
    33 
    34 public:
    34 public:
    59     virtual ~CDunAtNvramListen();
    59     virtual ~CDunAtNvramListen();
    60 
    60 
    61     /**
    61     /**
    62      * Resets data to initial values
    62      * Resets data to initial values
    63      *
    63      *
    64      * @since S60 5.0
    64      * @since TB9.2
    65      * @return None
    65      * @return None
    66      */
    66      */
    67     void ResetData();
    67     void ResetData();
    68 
    68 
    69     /**
    69     /**
    70      * Starts waiting for NVRAM status changes
    70      * Starts waiting for NVRAM status changes
    71      *
    71      *
    72      * @since S60 5.0
    72      * @since TB9.2
    73      * @return Symbian error code on error, KErrNone otherwise
    73      * @return Symbian error code on error, KErrNone otherwise
    74      */
    74      */
    75     TInt IssueRequest();
    75     TInt IssueRequest();
    76 
    76 
    77     /**
    77     /**
    78      * Stops waiting for NVRAM status changes
    78      * Stops waiting for NVRAM status changes
    79      *
    79      *
    80      * @since S60 5.0
    80      * @since TB9.2
    81      * @return Symbian error code on error, KErrNone otherwise
    81      * @return Symbian error code on error, KErrNone otherwise
    82      */
    82      */
    83     TInt Stop();
    83     TInt Stop();
    84 
    84 
    85 private:
    85 private:
    90     void ConstructL();
    90     void ConstructL();
    91 
    91 
    92     /**
    92     /**
    93      * Initializes this class
    93      * Initializes this class
    94      *
    94      *
    95      * @since S60 5.0
    95      * @since TB9.2
    96      * @return None
    96      * @return None
    97      */
    97      */
    98     void Initialize();
    98     void Initialize();
    99 
    99 
   100 // from base class CActive
   100 // from base class CActive
   101 
   101 
   102     /**
   102     /**
   103      * From CActive.
   103      * From CActive.
   104      * Gets called when NVRAM has changed
   104      * Gets called when NVRAM has changed
   105      *
   105      *
   106      * @since S60 5.0
   106      * @since TB9.2
   107      * @return None
   107      * @return None
   108      */
   108      */
   109     void RunL();
   109     void RunL();
   110 
   110 
   111     /**
   111     /**
   112      * From CActive.
   112      * From CActive.
   113      * Gets called on cancel
   113      * Gets called on cancel
   114      *
   114      *
   115      * @since S60 5.0
   115      * @since TB9.2
   116      * @return None
   116      * @return None
   117      */
   117      */
   118     void DoCancel();
   118     void DoCancel();
   119 
   119 
   120 private:  // data
   120 private:  // data