diff -r d189ee25cf9d -r 3533d4323edc emailuis/uicomponents/inc/fsactionmenucontrol.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/emailuis/uicomponents/inc/fsactionmenucontrol.h Wed Sep 01 12:28:57 2010 +0100 @@ -0,0 +1,92 @@ +/* +* Copyright (c) 2007 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: A control for action menu component + * +*/ + + +#ifndef C_FSACTIONMENUCONTROL_H +#define C_FSACTIONMENUCONTROL_H + +// SF +#include +// + +class CFsActionMenu; +class CAlfVisual; + +/** + * CFsActionMenuControl is a control for action menu component. + * + * @code + * + * @endcode + * + * @lib + */ +class CFsActionMenuControl : public CAlfControl + { + +public: + + /** + * Constructor. + */ + CFsActionMenuControl( CFsActionMenu* aActionMenu ); + + /** + * Second-phase constructor. + */ + void ConstructL( CAlfEnv& aEnv ); + + /** + * Destructor. + */ + virtual ~CFsActionMenuControl(); + +public: + + /** + * + */ + void SetRootVisual( CAlfVisual* aVisual ); + +protected: + + /** + * From CAlfControl. + * Notifies the owner that the layout of a visual has been recalculated. + * Called only when the EAlfVisualFlagLayoutUpdateNotification flag has + * been set for the visual. + * + * @param aVisual Visual that has been laid out. + */ + void VisualLayoutUpdated( CAlfVisual& aVisual ); + +protected: + + /** + * + */ + CFsActionMenu* iActionMenu; + + /** + * + */ + CAlfVisual* iVisual; + + }; + + +#endif //C_FSACTIONMENUCONTROL_H