cbsatplugin/atmisccmdplugin/inc/atcmdbase.h
branchRCL_3
changeset 16 95674584745d
equal deleted inserted replaced
15:53b7818cd282 16:95674584745d
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Interface class for AT Commands
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef ATCMDBASE_H_
       
    19 #define ATCMDBASE_H_
       
    20 
       
    21 /**
       
    22  *  Class for accessing AT command common functionality
       
    23  */
       
    24 NONSHARABLE_CLASS( MATCmdBase )
       
    25     {
       
    26 public:
       
    27     /**
       
    28      * @see CATExtPluginBase::HandleCommand
       
    29      */
       
    30     virtual void HandleCommand( const TDesC8& aCmd,
       
    31                                 RBuf8& aReply,
       
    32                                 TBool aReplyNeeded ) = 0;
       
    33 
       
    34     /**
       
    35      * @see CATExtPluginBase::HandleCommandCancel
       
    36      */
       
    37     virtual void HandleCommandCancel() = 0;
       
    38     };
       
    39 
       
    40 #endif /* ATCMDBASE_H_ */