email_pub/email_widget_api/inc/memailapplaunchdata.h
branchRCL_3
changeset 8 e1b6206813b4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/email_pub/email_widget_api/inc/memailapplaunchdata.h	Fri Feb 19 22:37:30 2010 +0200
@@ -0,0 +1,57 @@
+/*
+* 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