localconnectivityservice/dun/utils/inc/DunUpstream.h
branchRCL_3
changeset 19 2702348f1fe7
parent 0 c3e98f10fcf4
child 38 3dcb815346df
equal deleted inserted replaced
15:c47ebe2ac36c 19:2702348f1fe7
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #define C_CDUNUPSTREAM_H
    20 #define C_CDUNUPSTREAM_H
    21 
    21 
    22 #include "DunTransUtils.h"
    22 #include "DunTransUtils.h"
    23 #include "DunStream.h"
    23 #include "DunStream.h"
    24 #include "DunAtCmdHandler.h"
    24 #include "DunAtCmdHandler.h"
       
    25 #include "DunAtCmdEchoer.h"
    25 #include "DunDataPusher.h"
    26 #include "DunDataPusher.h"
    26 
    27 
    27 class MDunCmdModeMonitor;
    28 class MDunCmdModeMonitor;
    28 
    29 
    29 /**
    30 /**
   130  *  @since S60 v3.2
   131  *  @since S60 v3.2
   131  */
   132  */
   132 NONSHARABLE_CLASS( CDunUpstream ) : public CDunStream,
   133 NONSHARABLE_CLASS( CDunUpstream ) : public CDunStream,
   133                                     public MDunAtCmdHandler,
   134                                     public MDunAtCmdHandler,
   134                                     public MDunCmdModeMonitor,
   135                                     public MDunCmdModeMonitor,
   135                                     public MDunAtCmdStatusReporter
   136                                     public MDunAtCmdStatusReporter,
       
   137                                     public MDunAtCmdEchoer
   136     {
   138     {
   137 
   139 
   138 public:
   140 public:
   139 
   141 
   140     /**
   142     /**
   282      * @param aEndIndex Index to the start of next command
   284      * @param aEndIndex Index to the start of next command
   283      * @return None
   285      * @return None
   284      */
   286      */
   285     void NotifyAtCmdHandlingEnd( TInt aStartIndex );
   287     void NotifyAtCmdHandlingEnd( TInt aStartIndex );
   286 
   288 
       
   289     /**
       
   290      * Notifies about editor mode reply
       
   291      *
       
   292      * @since TB9.2
       
   293      * @param aStart ETrue if start of editor mode, EFalse otherwise
       
   294      * @return Symbian error code on error, KErrNone otherwise
       
   295      */
       
   296     void NotifyEditorModeReply( TBool aStart );
       
   297 
   287 // from base class MDunAtCmdHandler
   298 // from base class MDunAtCmdHandler
   288 
   299 
   289     /**
   300     /**
   290      * Starts URC message handling
   301      * Starts URC message handling
   291      * This is an accessor for CDunDownstream's StartStream()
   302      * This is an accessor for CDunDownstream's StartStream()
   320      * @since S60 5.0
   331      * @since S60 5.0
   321      * @return None
   332      * @return None
   322      */
   333      */
   323     void NotifyCommandModeEnd();
   334     void NotifyCommandModeEnd();
   324 
   335 
       
   336 // from base class MDunAtCmdEchoer
       
   337 
       
   338     /**
       
   339      * Notifies about completed echo in text mode
       
   340      *
       
   341      * @since TB9.2
       
   342      * @return None
       
   343      */
       
   344     void NotifyEchoComplete();
       
   345 
   325 private:  // data
   346 private:  // data
   326 
   347 
   327     /**
   348     /**
   328      * Pointer to common utility class
   349      * Pointer to common utility class
   329      * Not own.
   350      * Not own.