phoneapp/phoneuiutils/inc/tphonecmdparamaudioavailability.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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: 
       
    15 *   See class description.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __TPHONECMDPARAMAUDIOAVAILABILITY_H
       
    21 #define __TPHONECMDPARAMAUDIOAVAILABILITY_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <w32std.h>
       
    26 #include <pevirtualengine.h>
       
    27 #include "tphonecommandparam.h"
       
    28 
       
    29 // DATA TYPES
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  A parameter class for call header information.
       
    35 */
       
    36 class TPhoneCmdParamAudioAvailability : public TPhoneUICommandParam
       
    37     {   
       
    38     public:  
       
    39         
       
    40         /**
       
    41         * C++ default constructor.
       
    42         */
       
    43         IMPORT_C TPhoneCmdParamAudioAvailability();
       
    44 
       
    45     public: 
       
    46  
       
    47         /**
       
    48         * BT Acc available mode
       
    49         * @param aAudioOutput is the accessory mode
       
    50         */        
       
    51         IMPORT_C void SetBTAccAvailable( TBool aState );
       
    52         
       
    53         /**
       
    54         * Returns the BT Acc available mode
       
    55         * @return Returns the audio output
       
    56         */
       
    57         IMPORT_C TBool IsBTAccAvailable() const;
       
    58 
       
    59         /**
       
    60         * Wired Acc available mode
       
    61         * @param aAudioOutput is the accessory mode
       
    62         */        
       
    63         IMPORT_C void SetWiredAccAvailable( TBool aState );
       
    64         
       
    65         /**
       
    66         * Returns the Wired Acc available mode
       
    67         * @return Returns the audio output
       
    68         */
       
    69         IMPORT_C TBool IsWiredAccAvailable() const;
       
    70  
       
    71     private:    
       
    72 
       
    73         /**
       
    74         * BT Acc available mode 
       
    75         */
       
    76         TBool iBTAccAvailable;
       
    77 
       
    78         /**
       
    79         * Wired Acc available mode 
       
    80         */
       
    81         TBool iWiredAccAvailable;
       
    82     };
       
    83 
       
    84 #endif // _TPHONECMDPARAMAUDIOOUTPUT_H  
       
    85             
       
    86 // End of File