diff -r 4697dfb2d7ad -r 238255e8b033 messagingapp/msgsettings/msgsettingsmw/inc/mmssettingprivate.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingapp/msgsettings/msgsettingsmw/inc/mmssettingprivate.h Fri Apr 16 14:56:15 2010 +0300 @@ -0,0 +1,90 @@ +/* + * 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: This provides the messaging mw interface for MMS + * + */ + +#ifndef MMSSETTINS_PRIVATE_H +#define MMSSETTINS_PRIVATE_H + +#include +#include + +#include "msgsettingengine.h" + +/** + * MMS setting class implements the MMSC settings + * The settings will be stored in the central repository. + */ + +class MmsSettingsPrivate +{ +public: + + /** + * 2 phase constructor + */ + static MmsSettingsPrivate* NewL(); + + /* + * Destructor + */ + ~MmsSettingsPrivate(); + + void setDeliveryReport(TBool aReport); + + void setCharacterEncoding(TBool aFlag); + + void settingsDeliverReportAndCharEncoding(TBool& aReport, TBool& aFlag); + + void setMMSCreationmode(MsgSettingEngine::MmsCreationMode aMode); + + void setMMSRetrieval(MsgSettingEngine::MmsRetrieval aRetrieval); + + void setAnonymousMessages(TBool aAnonymous); + + void setReceiveMMSAdverts(TBool aReceiveAdvert); + + void advanceMmsSettings(MsgSettingEngine::MmsCreationMode& aMode, + MsgSettingEngine::MmsRetrieval& aRetrieval, + TBool& aAnonymousStatus, TBool& aMmsAdvertsStatus); + + void getAllAccessPoints(RPointerArray& aAccessPoints, + TInt& aDefaultIndex); + + void setMMSAccesspoint(TInt& aDefaultIndex); + +private: + + /* + * 1st phase Constructor + */ + MmsSettingsPrivate(); + + /** + * 2nd phase constructor + */ + void ConstructL(); + + /* + * Creates the repository + */ + void createRepositoryL(); + +private: + //nothing private data +}; + +#endif // MMSSETTINS_PRIVATE_H +