diff -r e8e63152f320 -r 2a9601315dfc javaextensions/wma/sms_cbs/src.s60/cservicecentrenumretrievers60impl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/javaextensions/wma/sms_cbs/src.s60/cservicecentrenumretrievers60impl.h Mon May 03 12:27:20 2010 +0300 @@ -0,0 +1,48 @@ +/* +* Copyright (c) 2008 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 CSERVICECENTRENUMRETRIEVERS60IMPL_H +#define CSERVICECENTRENUMRETRIEVERS60IMPL_H + +#include +#include "javasmsattributes.h" +namespace java +{ +namespace wma +{ +/** + * This class provides utilities to retrieve service centre number. + * It retrives service centre number fron sms settings if defined + * else from sms stack. + */ +class CServiceCentreNumRetrieverS60Impl : public CBase +{ +public: + /** + * This function retrieves service centre number. + * This functions retrieves SC number from sms settings + * @param[in] aSmscNum the retrieved SC number is returned through it. + * @exception leaves with the error value in case of SMSC not defined + * in sms settings. + */ + void static retrieveServiceCentreNumberL(TDes& aSmscNum); + +}; +} //namespace wma +} //namespace java +#endif // CSERVICECENTRENUMRETRIEVERS60IMPL_H +