javaextensions/wma/sms_cbs/src.s60/cservicecentrenumretrievers60impl.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef CSERVICECENTRENUMRETRIEVERS60IMPL_H
       
    19 #define CSERVICECENTRENUMRETRIEVERS60IMPL_H
       
    20 
       
    21 #include <jni.h>
       
    22 #include "javasmsattributes.h"
       
    23 namespace java
       
    24 {
       
    25 namespace wma
       
    26 {
       
    27 /**
       
    28  * This class provides utilities to retrieve service centre number.
       
    29  * It retrives service centre number fron sms settings if defined
       
    30  * else from sms stack.
       
    31  */
       
    32 class CServiceCentreNumRetrieverS60Impl : public CBase
       
    33 {
       
    34 public:
       
    35     /**
       
    36      * This function retrieves service centre number.
       
    37      * This functions retrieves SC number from sms settings
       
    38      * @param[in] aSmscNum the retrieved SC number is returned through it.
       
    39      * @exception leaves with the error value in case of SMSC not defined
       
    40      * in sms settings.
       
    41      */
       
    42     void static retrieveServiceCentreNumberL(TDes& aSmscNum);
       
    43 
       
    44 };
       
    45 } //namespace wma
       
    46 } //namespace java
       
    47 #endif // CSERVICECENTRENUMRETRIEVERS60IMPL_H
       
    48