mpxplugins/viewplugins/plugins/addtracksdialogplugin/inc/mpxaddtracksdialogplugin.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 08:45:05 +0200
changeset 0 ff3acec5bc43
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* Copyright (c) 2006 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:  MPX Add tracls dialog plugin definition.
*
*/



#ifndef C_CMPXADDTRACKSDIALOGPLUGIN_H
#define C_CMPXADDTRACKSDIALOGPLUGIN_H


// INCLUDES
#include <mpxakndialogplugin.h>


// CLASS DECLARATION

/**
 *  MPX Add tracks dialog plugin definition.
 *
 *  @lib mpxaddtracksdialogplugin.lib
 *  @since S60 v3.0
 */
NONSHARABLE_CLASS( CMPXAddTracksDialogPlugin ) : public CMPXAknDialogPlugin
    {
public:

    /**
     * Two-phased constructor.
     *
     * @since 3.0
     * @return Pointer to newly created object.
     */
    static CMPXAddTracksDialogPlugin* NewL();

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

private:

    /**
     * From CMPXAknDialogPlugin
     * Construct Avkon dialog.
     *
     * @since S60 v3.0
     * @return Pointer to a newly created Avkon dialog.
     */
    CAknDialog* ConstructDialogL();
    
    /**
     * From CMPXAknDialogPlugin
     * Resource Id of the dialog
     *
     * @since S60 v3.0
     * @return Dialog resource ID
     */
    TInt ResourceId();

private:

    /**
     * C++ default constructor.
     */
    CMPXAddTracksDialogPlugin();

    /**
     * By default Symbian 2nd phase constructor is private.
     */
    void ConstructL();
    };

#endif  // C_CMPXADDTRACKSDIALOGPLUGIN_H

// End of File