email_pub/email_widget_api/tsrc/3rdpartyapitestplugin2/inc/applaunchdataimpl.h
branchRCL_3
changeset 8 e1b6206813b4
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
       
     1 /*
       
     2 * Copyright (c) 2009 - 2010 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:  3rd party api testplugin app launcher data
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef APPLAUNCHDATAIMPL_H
       
    19 #define APPLAUNCHDATAIMPL_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <e32des8.h>
       
    23 
       
    24 #include "memailapplaunchdata.h"
       
    25 
       
    26 NONSHARABLE_CLASS( CAppLaunchDataImpl ) : public EmailInterface::MEmailLaunchParameters
       
    27     {
       
    28     public:
       
    29         static CAppLaunchDataImpl* NewL( TUid aAppUid, TUid aViewUid );
       
    30         virtual ~CAppLaunchDataImpl();
       
    31 
       
    32     public:
       
    33         virtual TUid ApplicationUid() const;
       
    34         virtual TUid ViewId() const;
       
    35         virtual TUid CustomMessageId() const;
       
    36         virtual const TDesC8& CustomMessage() const;
       
    37 
       
    38     private:
       
    39         CAppLaunchDataImpl( TUid aAppUid, TUid aViewUid );
       
    40         void ConstructL();
       
    41 
       
    42     public:    // Data
       
    43         TUid iAppUid;
       
    44         TUid iViewUid;
       
    45         TUid iCustMsgUid;
       
    46         HBufC8* iCustomMessage;
       
    47     };
       
    48 
       
    49 #endif // APPLAUNCHDATAIMPL_H