emailservices/nmclientapi/inc/nmapimailboxlisting_p.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 15:41:10 +0300
changeset 23 2dc6caa42ec3
parent 18 578830873419
child 76 38bf5461e270
permissions -rw-r--r--
Revision: 201017 Kit: 201019

/*
 * Copyright (c) 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: 
 *
 */
#ifndef NMAPIMAILBOXLISTINGPRIVATE_H
#define NMAPIMAILBOXLISTINGPRIVATE_H

class NmApiEngine;

namespace EmailClientApi
{

class NmApiMailbox;

class NmApiMailboxListingPrivate : public QObject
{
public:

    NmApiMailboxListingPrivate(QObject *parent = 0);
    virtual ~NmApiMailboxListingPrivate();

    bool initializeEngine();

    void releaseEngine();

    qint32 grabMailboxes();

    QList<EmailClientApi::NmApiMailbox> mMailboxes;//!<List of mailboxes \sa getMailboxInfo \sa QSharedData \sa EmailClientApi::NmApiMailbox
    NmApiEngine *mNmApiEngine;//!<Pointer to engine instance \sa NmUiEngine
    bool mIsRunning;//!<Keep info if mailbox listing is running \sa isRunning
};

}

#endif /* NMAPIMAILBOXLISTINGPRIVATE_H */