emailuis/uicomponents/inc/fsactionmenucontrol.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:28:57 +0100
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* 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

// <cmail> SF
#include <alf/alfcontrol.h>
// </cmail>

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