email_pub/email_widget_api/tsrc/3rdpartyapitestplugin2/inc/emaildataimpl.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 email data
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef EMAILDATAIMPL_H
       
    19 #define EMAILDATAIMPL_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <memaildata.h>
       
    23 
       
    24 #include "mailboxdataimpl.h"
       
    25 
       
    26 class MMailboxData;
       
    27 
       
    28 NONSHARABLE_CLASS( CEmailDataImpl ) : public EmailInterface::MEmailData
       
    29     {
       
    30     public:
       
    31         static CEmailDataImpl* NewL();
       
    32         virtual ~CEmailDataImpl();
       
    33         virtual RPointerArray<EmailInterface::MMailboxData>& MailboxesL();
       
    34         
       
    35     private:
       
    36         CEmailDataImpl();
       
    37         void ConstructL();
       
    38 
       
    39     public:    // Data
       
    40         RPointerArray<EmailInterface::MMailboxData> iMailboxes;
       
    41     };
       
    42 
       
    43 #endif // EMAILDATAIMPL_H