vtprotocolsstub/inc/cvtuserinput.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2008 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:  User input interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CVTUSERINPUT_H
       
    19 #define CVTUSERINPUT_H
       
    20 NONSHARABLE_CLASS( CVTUserInputDtmf ) : public CBase, 
       
    21                                         public MVTUserInput
       
    22     {
       
    23     public:
       
    24         /**
       
    25          * ConstructL.
       
    26          */
       
    27         void ConstructL(TUint8 aTone);
       
    28         /**
       
    29          * NewL.
       
    30          */
       
    31         static CVTUserInputDtmf* NewL(TUint8 aTone);
       
    32         
       
    33         /**
       
    34          * Destructor.
       
    35          */
       
    36         ~CVTUserInputDtmf();
       
    37 
       
    38         /**
       
    39         * Virtual function to return the user input type
       
    40         **/
       
    41         virtual TUserInputType GetType();
       
    42     };
       
    43 
       
    44 NONSHARABLE_CLASS( CVTUserInputAlphanumeric ) : public CBase, 
       
    45                                                 public MVTUserInput
       
    46     {
       
    47     public:
       
    48         /**
       
    49          * ConstructL.
       
    50          */
       
    51         void ConstructL(TUint8 aTone);
       
    52         /**
       
    53          * NewL.
       
    54          */
       
    55         static CVTUserInputAlphanumeric* NewL(TUint8 aTone);
       
    56         
       
    57         /**
       
    58          * Destructor.
       
    59          */
       
    60         ~CVTUserInputAlphanumeric();
       
    61 
       
    62         /**
       
    63         * Virtual function to return the user input type
       
    64         **/
       
    65         virtual TUserInputType GetType();
       
    66     };
       
    67 #endif
       
    68 //  End of File