email_pub/email_widget_api/inc/memailapplaunchdata.h
branchRCL_3
changeset 8 e1b6206813b4
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
       
     1 /*
       
     2 * Copyright (c) 2009 - 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Helper classes for interface.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MEMAILAPPLAUNCHDATA_H
       
    19 #define MEMAILAPPLAUNCHDATA_H
       
    20 
       
    21 #include <e32cmn.h>
       
    22 
       
    23 namespace EmailInterface {
       
    24 
       
    25 /**
       
    26  * Container for launch parameters
       
    27  * When user touches the widget, an application launch is initiated with
       
    28  * these parameters
       
    29  * (see MMailboxData::LaunchParameters() )
       
    30  */
       
    31 class MEmailLaunchParameters
       
    32     {
       
    33 public:
       
    34     /**
       
    35      * Application UID identifying the application to be launched
       
    36      */
       
    37     virtual TUid ApplicationUid() const = 0;
       
    38 
       
    39     /**
       
    40      * ViewId within the application
       
    41      */
       
    42     virtual TUid ViewId() const = 0;
       
    43 
       
    44     /**
       
    45      * TUid that will be delivered to the launched application
       
    46      */
       
    47     virtual TUid CustomMessageId() const = 0;
       
    48 
       
    49     /**
       
    50      * Data that will be delivered to the launched application
       
    51      */
       
    52     virtual const TDesC8& CustomMessage() const = 0;
       
    53     };
       
    54 
       
    55 } // namespace
       
    56 
       
    57 #endif // MEMAILAPPLAUNCHDATA_H