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