diff -r 238255e8b033 -r 84d9eb65b26f messagingapp/msgsettings/msgsettingsmw/inc/smssettingsprivate.h --- a/messagingapp/msgsettings/msgsettingsmw/inc/smssettingsprivate.h Fri Apr 16 14:56:15 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,138 +0,0 @@ -/* - * 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 sms - * - */ - -#ifndef SMSSETTINS_H -#define SMSSETTINS_H - -#include - -/** - * SMS setting class implements the SMSC settings - * The settings will be stored in the central repository. - */ -class SmsSettingsPrivate : public CBase -{ -public: - - //2phase constructor - static SmsSettingsPrivate* NewL(); - - /* - * Destructor - */ - ~SmsSettingsPrivate(); - - /** - * sets the delivery report - * @param report status true or false - */ - void setDeliveryReport(TBool report); - - /** - * set the character encoding - * @param status true or false - */ - void setCharacterEncoding(TBool status); - - /** - * get the status of deliver report and - * character encoding - * @param report status of delivery report - * @param statusEncoding charcter encoding - */ - void settingsDeliverReportAndCharEncoding(TBool& report, - TBool& statusEncoding); - - /** - * get all the sms service names and - * the default selected index - * @param accessPoints array of access names - * @param defaultIndex, default set index - */ - void getAllSMSMessageCenter(RPointerArray& accessPoints, - int &defaultIndex); - - /** - * set the default index - * @param index default index - */ - void setSMSMessageCenter(int index); - - /** - * edit the sms service address - * @param address sms address number - * @param name sms service name - * @param index value to modify - */ - void editSMSServiceCentre(HBufC* address, HBufC* name, TInt index); - - /** - * add a new sms service address - * @param address service address number - * @param name service name - */ - void addSmsMessageCenter(HBufC* address, HBufC* name); - - /** - * get the service name and number by the index value - * @param index for the service need - * @param centerNumber address of the service - * @param centerName name of the service - */ - void smsCenterNameAndNumber(int index, HBufC** centerNumber, - HBufC** centerName); - - /** - * set the sms email gateway address - * @param emailGateway an address - */ - void setEmailGateway(HBufC* emailGateway); - - /** - * set the sms email gateway number - * @param emailGateway an number - */ - void setEmailSeriveCenterNumber(HBufC* emailNumber); - - /** - * get the email gateway and service center number - * @param emailGateway - * @param serviceNumber - */ - void emailEmailGatewayAndServiceCenterNumber(HBufC** emailGateway, - HBufC** serviceNumber); - -private: - - /* - * 1st phase Constructor - */ - SmsSettingsPrivate(); - - /** - * 2nd phase constructor - */ - void ConstructL(); - - /* - * Creates the repository first time - */ - void createRepositoryL(); -}; - -#endif // SMSSETTINS_H -