emailservices/nmclientapi/inc/nmapifolderlisting_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 NMAPIFOLDERLISTINGPRIVATE_H
       
    18 #define NMAPIFOLDERLISTINGPRIVATE_H
       
    19 
       
    20 #include "nmapifolder.h"
       
    21 #include <QObject>
       
    22 
       
    23 class NmEngine;
       
    24 
       
    25 namespace EmailClientApi
       
    26 {
       
    27 
       
    28 class NmFolderListingPrivate : public QObject
       
    29 {
       
    30 public:
       
    31 
       
    32     NmFolderListingPrivate(QObject *parent = 0);
       
    33     virtual ~NmFolderListingPrivate();
       
    34 
       
    35     bool initializeEngine();
       
    36     void releaseEngine();
       
    37     qint32 grabFolders();
       
    38 
       
    39     QList<EmailClientApi::NmFolder> mFolders;//!<List of folders \sa getFolder \sa QSharedData \sa EmailClientApi::NmFolder
       
    40     NmEngine* mEngine;//!<Pointer to engine instance \sa NmUiEngine
       
    41     bool mIsRunning;//!<Keep info if folder listing is running \sa isRunning
       
    42     quint64 mMailboxId;//!<Keep info about mailbox id for foler
       
    43 };
       
    44 }
       
    45 #endif /* NMFOLDERLISTINGPRIVATE_H_ */