diff -r c378a0498b84 -r c9ec3f2fcd87 vtprotocolsstub/inc/ch324confighandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vtprotocolsstub/inc/ch324confighandler.h Thu Jul 22 16:34:21 2010 +0100 @@ -0,0 +1,110 @@ +/* +* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: H324M configuration interface +* +*/ + +#ifndef CH324ConfigHandler_H +#define CH324ConfigHandler_H +NONSHARABLE_CLASS( TH324ConfigHandler ) + { + public: + + /** + * Constructor. + */ + TH324ConfigHandler(MVtProtocolHandler* aProtocolHandler); + + private: + MVtProtocolHandler* iProtocolHandler; + }; + +NONSHARABLE_CLASS( CH324ConfigCommand ): public CBase, + public MVtH324ConfigCommand + { + public: + /** + * Destructor. + */ + ~CH324ConfigCommand(); + + /** + * Sets the vendor identification data. This does not cause the stack to issue a vendor identifiation request. + * Set to NULL to disable sending vendor id. If set to a valid parameter before Connect, it will cause the stack + * to automatically send it along with the TCS message. + * @param cc + * T35 Country code + * @param ext + * T35 Extension + * @param mc + * T35 Manufacturer code + * @param aProduct + * Product number + * @param aVersion + * Version number + **/ + virtual TInt SetVendorId(TUint8 cc, TUint8 ext, TUint32 mc, const TDesC8* aProduct, const TDesC8* aVersion); + + /** + * This API allows the user to send a videoTemporalSpatialTradeOff command to the peer. + * It is a request to the remote encoder to adjust its encoding in accordance with the tradeoff value. + * A value of 0 indicates a high spatial resolution and a value of 31 indicates a high frame rate. + * The values from 0 to 31 indicate monotonically a higher frame rate. Actual values do not correspond + * to precise values of spatial resolution or frame rate. + * + **/ + virtual TInt SendVideoTemporalSpatialTradeoffCommand(TUint aLogicalChannel, TUint8 aTradeoff); + + /** + * This API allows the user to send a videoTemporalSpatialTradeOff command to the peer. + * It is an indication to the remote decoder that the local encoder has adjusted its encoding parameters + * according to the tradeoff value. + * A value of 0 indicates a high spatial resolution and a value of 31 indicates a high frame rate. + * The values from 0 to 31 indicate monotonically a higher frame rate. Actual values do not correspond + * to precise values of spatial resolution or frame rate. + * + **/ + virtual TInt SendVideoTemporalSpatialTradeoffIndication(TUint aLogicalChannel, TUint8 aTradeoff); + + /** + * This API allows the user to specify the supported resolutions for video for transmit and receive. + * + **/ + virtual TInt SetSupportedResolutions( ); + /** + * This API allows the user to set options for fast call setup procedures + **/ + virtual TInt SetFastCsupOptions( ); + + /** + * Causes the protocol to send the specified user input to the remote terminal using + * control channel. The user input can be either DTMF ot Alphanumeric + * @param user_input A pointer to MVTUserInput + * @returns A unique command id for asynchronous completion + **/ + virtual TInt SendUserInputMessageL(MVTUserInput& user_input); + + /** + * This API allows the user to specify observers for the 324m interface. + * + * @param aHandler the observer for command status and unsolicited informational events + **/ + virtual void SetObserverL(MVtProtocolHandler* aHandler); + + private: + TH324ConfigHandler* iH324ConfigHandler; + }; +#endif +// End of File + \ No newline at end of file