bluetoothengine/headsetsimulator/profiles/hfpprofile/inc/hfpcod.h
branchheadsetsimulator
changeset 60 90dbfc0435e3
equal deleted inserted replaced
59:02103bf20ee5 60:90dbfc0435e3
       
     1 /* 
       
     2  *
       
     3  * Copyright (c) <2010> Comarch S.A. and/or its subsidiary(-ies).
       
     4  * All rights reserved.
       
     5  * This component and the accompanying materials are made available
       
     6  * under the terms of the License "Eclipse Public License v1.0"
       
     7  * which accompanies this distribution, and is available
       
     8  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9  *
       
    10  * Original Contributors:
       
    11  * Comarch S.A. - original contribution.
       
    12  *
       
    13  * Contributors:
       
    14  *
       
    15  * Description:
       
    16  *
       
    17  */
       
    18 
       
    19 #ifndef HFPCOD_H_
       
    20 #define HFPCOD_H_
       
    21 
       
    22 #include <hscodpluginbase.h>
       
    23 
       
    24 /** HFP Class of Device */
       
    25 const TUint32 KHsHFPDeviceClass = 0x200408;
       
    26 
       
    27 /**
       
    28  * @brief Manages Class of Device.
       
    29  */
       
    30 class CHsHFPCoD : public CHsCoDBase
       
    31     {
       
    32 public:
       
    33     /**
       
    34      * Two-phase constructor
       
    35      * 
       
    36      * @return instance of class
       
    37      */
       
    38     static CHsHFPCoD* NewL();
       
    39 
       
    40     /**
       
    41      * Two-phase constructor
       
    42      * 
       
    43      * @return instance of class
       
    44      */
       
    45     static CHsHFPCoD* NewLC();
       
    46 
       
    47     /**
       
    48      * Destructor
       
    49      */
       
    50     ~CHsHFPCoD();
       
    51 
       
    52     /**
       
    53      * Sets new Class of Device
       
    54      */
       
    55     void SetNewCodL();
       
    56 
       
    57 private:
       
    58     /**
       
    59      * Constructor for performing 1st stage construction
       
    60      */
       
    61     CHsHFPCoD();
       
    62 
       
    63     /**
       
    64      * Constructor for performing 2nd stage construction
       
    65      */
       
    66     void ConstructL();
       
    67     };
       
    68 
       
    69 #endif /* HFPCOD_H_ */