1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/app/memailapplaunchdata.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,57 @@
1.4 +/*
1.5 +* Copyright (c) 2009 - 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: Helper classes for interface.
1.18 +*
1.19 +*/
1.20 +
1.21 +#ifndef MEMAILAPPLAUNCHDATA_H
1.22 +#define MEMAILAPPLAUNCHDATA_H
1.23 +
1.24 +#include <e32cmn.h>
1.25 +
1.26 +namespace EmailInterface {
1.27 +
1.28 +/**
1.29 + * Container for launch parameters
1.30 + * When user touches the widget, an application launch is initiated with
1.31 + * these parameters
1.32 + * (see MMailboxData::LaunchParameters() )
1.33 + */
1.34 +class MEmailLaunchParameters
1.35 + {
1.36 +public:
1.37 + /**
1.38 + * Application UID identifying the application to be launched
1.39 + */
1.40 + virtual TUid ApplicationUid() const = 0;
1.41 +
1.42 + /**
1.43 + * ViewId within the application
1.44 + */
1.45 + virtual TUid ViewId() const = 0;
1.46 +
1.47 + /**
1.48 + * TUid that will be delivered to the launched application
1.49 + */
1.50 + virtual TUid CustomMessageId() const = 0;
1.51 +
1.52 + /**
1.53 + * Data that will be delivered to the launched application
1.54 + */
1.55 + virtual const TDesC8& CustomMessage() const = 0;
1.56 + };
1.57 +
1.58 +} // namespace
1.59 +
1.60 +#endif // MEMAILAPPLAUNCHDATA_H