diff -r 000000000000 -r 1bce908db942 multimediacommsengine/tsrc/MCETestUI/inc/CMCEPoCSessionSettingsListContainer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multimediacommsengine/tsrc/MCETestUI/inc/CMCEPoCSessionSettingsListContainer.h Tue Feb 02 01:04:58 2010 +0200 @@ -0,0 +1,78 @@ +/* +* Copyright (c) 2004 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: +* +*/ + + + + +#ifndef CMCEPOCSESSIONSETTINGSLISTCONTAINER_H +#define CMCEPOCSESSIONSETTINGSLISTCONTAINER_H + +// INCLUDES + +// System includes +#include // CCoeControl + +//App +#include +#include "MCETestUI.hrh" + +//App Qos +//#include "TMCEPoCSessionParams.h" +#include "CMCEPoCSessionSettingsListContainer.h" +#include "CMCEPoCSessionSettingsItemList.h" + + +// CLASS DECLARATION + +/** +* CMCEPoCSessionSettingsListContainer class. +* Settings List container for Generic QoS +*/ + + + +class CMCEPoCSessionSettingsListContainer : public CCoeControl + { +public: // Constructors and destructor + + static CMCEPoCSessionSettingsListContainer * NewL(const TRect& aRect, TMCEPoCSessionParams& aSettings ); + static CMCEPoCSessionSettingsListContainer * NewLC(const TRect& aRect, TMCEPoCSessionParams& aSettings ); + ~CMCEPoCSessionSettingsListContainer (); + +public: // members + void ChangeSelectedItemL(); + +private: // constructor + CMCEPoCSessionSettingsListContainer ( TMCEPoCSessionParams& aSettings ); + void ConstructL(const TRect& aRect); + + +private: // from CoeControl + + TInt CountComponentControls() const; + CCoeControl* ComponentControl(TInt aIndex) const; + TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); + +private: //data + + CMCEPoCSessionSettingsItemList* iSettingItemList; + TMCEPoCSessionParams& iSettings; + }; + +#endif + +// End of File