diff -r 4e54af54a4a1 -r 6c59112cfd31 email_plat/nmail_settings_api/nmapimailboxsettings.h --- a/email_plat/nmail_settings_api/nmapimailboxsettings.h Wed Sep 15 17:47:19 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -/* - * Copyright (c) 2010 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 NMAPIMAILBOXSETTINGS_H_ -#define NMAPIMAILBOXSETTINGS_H_ - -#include -#include - -#include - -namespace EmailClientApi -{ - -class NmApiMailboxSettingsData; -class NmApiMailboxSettingsPrivate; -class NMAPI_EXPORT NmApiMailboxSettings : public QObject -{ - Q_OBJECT -public: - NmApiMailboxSettings(QObject *parent = 0); - ~NmApiMailboxSettings(); - - bool listMailboxIds(QList &idList); - bool loadSettings(quint64 mailboxId, NmApiMailboxSettingsData &data); - bool saveSettings(const NmApiMailboxSettingsData &data); - bool createMailbox(const QString &mailboxType, NmApiMailboxSettingsData &data); - bool deleteMailbox(quint64 mailboxId); - bool populateDefaultSettings(const QString &mailboxType, NmApiMailboxSettingsData &data); - -signals: - void mailboxDeleted(int result = 0); - -protected: - NmApiMailboxSettingsPrivate *d; - -}; - -} - -#endif /* NMAPIMAILBOXSETTINGS_H_ */