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

/*
* Copyright (c) 2009 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:  ESMR ui factory base class
*
*/

#ifndef MESMRUIFACTORY_H
#define MESMRUIFACTORY_H

class MMRInfoProvider;
class MESMRCalEntry;
class MESMRUiBase;
class MAgnEntryUiCallback;

/**
 *  MESMRUiFactory is responsible of creating correct UI
 *  implemenation based on given policy (CESMRPolicy).
 *  Created UI can use callback object for executing commands.
 *
 *  @see cesmruibase.h, cesmruifactory.h
 *  @lib esmrgui.lib
 */
class MESMRUiFactory
    {
public: // Destruction
    /**
     *  C++ destructor
     */
    virtual ~MESMRUiFactory() { }

public:
    /**
    * Creates UI view
    * @param aInfoProvider Reference to MR Info provider
    * @param aCallback Reference to callback object
    */
    virtual MESMRUiBase* CreateUIL(
            MMRInfoProvider& aInfoProvider,
            MAgnEntryUiCallback& aCallback ) = 0;
    };

#endif // M_ESMRUIFACTORY_H

// EOF