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