epoc32/include/app/memailapplaunchdata.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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