diff -r 000000000000 -r 8466d47a6819 emailcontacts/contactactionmenu/inc/tfsccontactactionmenuconstructparameters.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emailcontacts/contactactionmenu/inc/tfsccontactactionmenuconstructparameters.h Thu Dec 17 08:39:21 2009 +0200 @@ -0,0 +1,65 @@ +/* +* 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: Declaration of construct parameters class for Action Menu +* +*/ + + +#ifndef C_FSCCONTACTACTIONMENUCONSTRUCTPARAMETERS_H +#define C_FSCCONTACTACTIONMENUCONSTRUCTPARAMETERS_H + +#include + +// +#include "fsccontactactionmenudefines.h" +// + +// FORWARD DECLARATIONS +class CFscContactActionService; + +/** + * Construction parameters for Action Menu + * + * @since S60 3.1 + */ +class TFscContactActionMenuConstructParameters + { + +public: // Public methods + + /** + * Constructor + * + * @param aService Pointer to Contact Action Service + * @param aMode Menu mode + */ + TFscContactActionMenuConstructParameters( + CFscContactActionService& aService, + TFscContactActionMenuMode aMode ) + : iService( aService ), iMode( aMode ) {} + +public: // Public members + + /** + * Pointer to CAS + */ + CFscContactActionService& iService; + + /** + * Mode of the menu + */ + TFscContactActionMenuMode iMode; + + }; +#endif // C_FSCCONTACTACTIONMENUCONSTRUCTPARAMETERS_H