meetingrequest/mrviewercalplugin/inc/caleneditorsplugin.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 21:08:33 +0300
branchRCL_3
changeset 12 4ce476e64c59
parent 0 8466d47a6819
child 16 b5fbb9b25d57
permissions -rw-r--r--
Revision: 201011 Kit: 201013

/*
* Copyright (c) 2007-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: This file defines class CCalenEditorsPlugin.
*
*/


#ifndef C_CALENEDITORSPLUGIN_H
#define C_CALENEDITORSPLUGIN_H

#include <e32base.h>
#include <ecom/ecom.h>
#include <magnentryui.h>

/**
 * Resolver for loading correct ECOM Implementation for 
 * calendar entry editors.  
 */ 
NONSHARABLE_CLASS( CCalenEditorsPlugin ) : public CBase,
                                           public MAgnEntryUi
    {
public: // factory methods and destructor
    /**
     * Loads and creates default Calendar editors implementation 
     * @return New instance of CCalenEditorsPlugin implementation
     */
    static CCalenEditorsPlugin* NewL();

    /**
    * Destructor.
    */
    virtual ~CCalenEditorsPlugin();

private: // data
    /** iDtor_ID_Key Instance identifier key. When instance of an
     *               implementation is created by ECOM framework, the
     *               framework will assign UID for it. The UID is used in
     *               destructor to notify framework that this instance is
     *               being destroyed and resources can be released.
     * Plugin implementations should leave this untouched, as 
     * inline destructor and constructor method take care of 
     * ECom releasing.
     */
    TUid iDtor_ID_Key;

    };

#include "caleneditorsplugin.inl"

#endif // C_CALENEDITORSPLUGIN_H
// EOF