vtengines/videoteleng/Inc/Base/TVtEngType.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 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:  Base class for data types that can be identified by an
       
    15 *                identifier (extension id).
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef TVTENGTTYPE_H
       
    22 #define TVTENGTTYPE_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32std.h>
       
    26 
       
    27 // DATA TYPES
       
    28 
       
    29 enum TVtEngTypeId
       
    30     {
       
    31     EVtEngTypeV1 = 0,
       
    32     EVtEngTypeDtmf
       
    33     };
       
    34 
       
    35 // CLASS DECLARATION
       
    36 
       
    37 /**
       
    38 *  Base class for data types
       
    39 *
       
    40 *  @lib videoteleng
       
    41 *  @since 2.6
       
    42 */
       
    43 class TVtEngtType
       
    44     {
       
    45     public: // constructor
       
    46 
       
    47         inline TInt TypeId() const;
       
    48 
       
    49     protected: // constructors
       
    50         /**
       
    51         * C++ constructor that only for descendant classes may call.
       
    52         */
       
    53         inline TVtEngtType( TVtEngTypeId aTypeId );
       
    54 
       
    55         /**
       
    56         * copy constructor
       
    57         */
       
    58         inline TVtEngtType( const TVtEngtType& aType );
       
    59 
       
    60     protected: // operators
       
    61 
       
    62         inline TVtEngtType& operator=( const TVtEngtType& aType );
       
    63 
       
    64     protected:
       
    65         // Extension id
       
    66         TInt  iTypeId;
       
    67     };
       
    68 
       
    69 #include "TVtEngType.inl"
       
    70 
       
    71 #endif      // TVTENGTTYPE_H
       
    72             
       
    73 // End of File