localconnectivityservice/dun/atext/inc/DunAtUrcHandler.h
branchRCL_3
changeset 38 3dcb815346df
parent 0 c3e98f10fcf4
equal deleted inserted replaced
37:7e0ecb5b116a 38:3dcb815346df
    26 
    26 
    27 /**
    27 /**
    28  *  Class for AT command URC handler
    28  *  Class for AT command URC handler
    29  *
    29  *
    30  *  @lib dunatext.lib
    30  *  @lib dunatext.lib
    31  *  @since S60 v5.0
    31  *  @since TB9.2
    32  */
    32  */
    33 NONSHARABLE_CLASS( CDunAtUrcHandler ) : public CActive,
    33 NONSHARABLE_CLASS( CDunAtUrcHandler ) : public CActive,
    34                                         public MDunCompletionReporter
    34                                         public MDunCompletionReporter
    35     {
    35     {
    36 
    36 
    60     virtual ~CDunAtUrcHandler();
    60     virtual ~CDunAtUrcHandler();
    61 
    61 
    62     /**
    62     /**
    63      * Resets data to initial values
    63      * Resets data to initial values
    64      *
    64      *
    65      * @since S60 5.0
    65      * @since TB9.2
    66      * @return None
    66      * @return None
    67      */
    67      */
    68     void ResetData();
    68     void ResetData();
    69 
    69 
    70     /**
    70     /**
    71      * Starts waiting for an incoming URC message
    71      * Starts waiting for an incoming URC message
    72      *
    72      *
    73      * @since S60 5.0
    73      * @since TB9.2
    74      * @return Symbian error code on error, KErrNone otherwise
    74      * @return Symbian error code on error, KErrNone otherwise
    75      */
    75      */
    76     TInt IssueRequest();
    76     TInt IssueRequest();
    77 
    77 
    78     /**
    78     /**
    79      * Stops waiting for an incoming URC message
    79      * Stops waiting for an incoming URC message
    80      *
    80      *
    81      * @since S60 5.0
    81      * @since TB9.2
    82      * @return Symbian error code on error, KErrNone otherwise
    82      * @return Symbian error code on error, KErrNone otherwise
    83      */
    83      */
    84     TInt Stop();
    84     TInt Stop();
    85 
    85 
    86     /**
    86     /**
    87      * UID of the owning plugin
    87      * UID of the owning plugin
    88      *
    88      *
    89      * @since S60 5.0
    89      * @since TB9.2
    90      * @return UID of the owning plugin
    90      * @return UID of the owning plugin
    91      */
    91      */
    92     TUid OwnerUid();
    92     TUid OwnerUid();
    93 
    93 
    94 private:
    94 private:
    99     void ConstructL();
    99     void ConstructL();
   100 
   100 
   101     /**
   101     /**
   102      * Initializes this class
   102      * Initializes this class
   103      *
   103      *
   104      * @since S60 3.2
   104      * @since TB9.2
   105      * @return None
   105      * @return None
   106      */
   106      */
   107     void Initialize();
   107     void Initialize();
   108 
   108 
   109 // from base class CActive
   109 // from base class CActive
   110 
   110 
   111     /**
   111     /**
   112      * From CActive.
   112      * From CActive.
   113      * Gets called when URC command received
   113      * Gets called when URC command received
   114      *
   114      *
   115      * @since S60 3.2
   115      * @since TB9.2
   116      * @return None
   116      * @return None
   117      */
   117      */
   118     void RunL();
   118     void RunL();
   119 
   119 
   120     /**
   120     /**
   121      * From CActive.
   121      * From CActive.
   122      * Gets called on cancel
   122      * Gets called on cancel
   123      *
   123      *
   124      * @since S60 3.2
   124      * @since TB9.2
   125      * @return None
   125      * @return None
   126      */
   126      */
   127     void DoCancel();
   127     void DoCancel();
   128 
   128 
   129 // from base class MDunCompletionReporter
   129 // from base class MDunCompletionReporter
   130 
   130 
   131     /**
   131     /**
   132      * From MDunCompletionReporter.
   132      * From MDunCompletionReporter.
   133      * Gets called when data push is complete
   133      * Gets called when data push is complete
   134      *
   134      *
   135      * @since S60 5.0
   135      * @since TB9.2
   136      * @param aAllPushed ETrue if all in the queue were pushed, EFalse otherwise
   136      * @param aAllPushed ETrue if all in the queue were pushed, EFalse otherwise
   137      * @return None
   137      * @return None
   138      */
   138      */
   139     void NotifyDataPushComplete( TBool aAllPushed );
   139     void NotifyDataPushComplete( TBool aAllPushed );
   140 
   140