email_pub/email_widget_api/inc/memailapplaunchdata.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:37:30 +0200
branchRCL_3
changeset 8 e1b6206813b4
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2009 - 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:  Helper classes for interface.
*
*/

#ifndef MEMAILAPPLAUNCHDATA_H
#define MEMAILAPPLAUNCHDATA_H

#include <e32cmn.h>

namespace EmailInterface {

/**
 * Container for launch parameters
 * When user touches the widget, an application launch is initiated with
 * these parameters
 * (see MMailboxData::LaunchParameters() )
 */
class MEmailLaunchParameters
    {
public:
    /**
     * Application UID identifying the application to be launched
     */
    virtual TUid ApplicationUid() const = 0;

    /**
     * ViewId within the application
     */
    virtual TUid ViewId() const = 0;

    /**
     * TUid that will be delivered to the launched application
     */
    virtual TUid CustomMessageId() const = 0;

    /**
     * Data that will be delivered to the launched application
     */
    virtual const TDesC8& CustomMessage() const = 0;
    };

} // namespace

#endif // MEMAILAPPLAUNCHDATA_H