emailservices/nmclientapi/inc/nmapimailboxlisting_p.h
changeset 18 578830873419
child 23 2dc6caa42ec3
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     1 /*
       
     2  * Copyright (c) 2009 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: 
       
    15  *
       
    16  */
       
    17 #ifndef NMAPIMAILBOXLISTINGPRIVATE_H
       
    18 #define NMAPIMAILBOXLISTINGPRIVATE_H
       
    19 
       
    20 #include "nmapimailbox.h"
       
    21 #include <QObject>
       
    22 #include <QList>
       
    23 
       
    24 class NmEngine;
       
    25 
       
    26 namespace EmailClientApi
       
    27 {
       
    28 class NmMailboxListingPrivate : public QObject
       
    29 {
       
    30 
       
    31 public:
       
    32 
       
    33     NmMailboxListingPrivate(QObject *parent = 0);
       
    34     virtual ~NmMailboxListingPrivate();
       
    35 
       
    36     bool initializeEngine();
       
    37 
       
    38     void releaseEngine();
       
    39 
       
    40     qint32 grabMailboxes();
       
    41 
       
    42     QList<EmailClientApi::NmMailbox> mMailboxes;//!<List of mailboxes \sa getMailboxInfo \sa QSharedData \sa EmailClientApi::NmMailbox
       
    43     NmEngine* mNmEngine;//!<Pointer to engine instance \sa NmUiEngine
       
    44     bool mIsRunning;//!<Keep info if mailbox listing is running \sa isRunning
       
    45 };
       
    46 }
       
    47 #endif /* NMMAILBOXLISTINGPRIVATE_H_ */