vtprotocolsstub/inc/ch324confighandler.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:  H324M configuration interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CH324ConfigHandler_H
       
    19 #define CH324ConfigHandler_H
       
    20 NONSHARABLE_CLASS( TH324ConfigHandler )
       
    21     {
       
    22     public:
       
    23         
       
    24         /**
       
    25          * Constructor.
       
    26          */
       
    27         TH324ConfigHandler(MVtProtocolHandler* aProtocolHandler);
       
    28 
       
    29     private:
       
    30         MVtProtocolHandler* iProtocolHandler;
       
    31     };
       
    32  
       
    33 NONSHARABLE_CLASS( CH324ConfigCommand ): public CBase,
       
    34                                          public MVtH324ConfigCommand
       
    35     {
       
    36     public:
       
    37         /**
       
    38          * Destructor.
       
    39          */
       
    40         ~CH324ConfigCommand();
       
    41 
       
    42         /**
       
    43          * Sets the vendor identification data.  This does not cause the stack to issue a vendor identifiation request.
       
    44          * Set to NULL to disable sending vendor id.  If set to a valid parameter before Connect, it will cause the stack
       
    45          * to automatically send it along with the TCS message.
       
    46          * @param cc
       
    47          *         T35 Country code
       
    48          * @param ext
       
    49          *         T35 Extension
       
    50          * @param mc
       
    51          *         T35 Manufacturer code
       
    52          * @param aProduct
       
    53          *         Product number
       
    54          * @param aVersion
       
    55          *         Version number
       
    56          **/
       
    57         virtual TInt SetVendorId(TUint8 cc, TUint8 ext, TUint32 mc, const TDesC8* aProduct, const TDesC8* aVersion);
       
    58 
       
    59         /**
       
    60          * This API allows the user to send a videoTemporalSpatialTradeOff command to the peer.
       
    61          * It is a request to the remote encoder to adjust its encoding in accordance with the tradeoff value.
       
    62          * A value of 0 indicates a high spatial resolution and a value of 31 indicates a high frame rate.
       
    63          * The values from 0 to 31 indicate monotonically a higher frame rate. Actual values do not correspond
       
    64          * to precise values of spatial resolution or frame rate.
       
    65          *
       
    66          **/
       
    67         virtual TInt SendVideoTemporalSpatialTradeoffCommand(TUint aLogicalChannel, TUint8 aTradeoff);
       
    68 
       
    69         /**
       
    70          * This API allows the user to send a videoTemporalSpatialTradeOff command to the peer.
       
    71          * It is an indication to the remote decoder that the local encoder has adjusted its encoding parameters
       
    72          * according to the tradeoff value.
       
    73          * A value of 0 indicates a high spatial resolution and a value of 31 indicates a high frame rate.
       
    74          * The values from 0 to 31 indicate monotonically a higher frame rate. Actual values do not correspond
       
    75          * to precise values of spatial resolution or frame rate.
       
    76          *
       
    77          **/
       
    78         virtual TInt SendVideoTemporalSpatialTradeoffIndication(TUint aLogicalChannel, TUint8 aTradeoff);
       
    79 
       
    80         /**
       
    81          * This API allows the user to specify the supported resolutions for video for transmit and receive.
       
    82          *
       
    83          **/
       
    84         virtual TInt SetSupportedResolutions( );
       
    85         /**
       
    86         * This API allows the user to set options for fast call setup procedures
       
    87         **/
       
    88         virtual TInt SetFastCsupOptions( );
       
    89 
       
    90         /**
       
    91          * Causes the protocol to send the specified user input to the remote terminal using
       
    92          * control channel.  The user input can be either DTMF ot Alphanumeric
       
    93          * @param user_input A pointer to MVTUserInput
       
    94          * @returns A unique command id for asynchronous completion
       
    95          **/
       
    96         virtual TInt SendUserInputMessageL(MVTUserInput& user_input);
       
    97 
       
    98         /**
       
    99          * This API allows the user to specify observers for the 324m interface.
       
   100          *
       
   101          * @param aHandler     the observer for command status and unsolicited informational events
       
   102          **/
       
   103         virtual void SetObserverL(MVtProtocolHandler* aHandler);
       
   104               
       
   105     private:
       
   106         TH324ConfigHandler* iH324ConfigHandler;
       
   107     };    
       
   108 #endif
       
   109 //  End of File
       
   110