alwayson_net_plugin/pdpcontextmanager2/inc/maosettings.h
changeset 0 5a93021fdf25
child 3 f7816ffc66ed
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2004,2006 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:  Defines MAOSettings interface
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MAOSETTINGS_H
       
    20 #define MAOSETTINGS_H
       
    21 
       
    22 // INCLUDE FILES
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 /**
       
    29 *  Settings interface.
       
    30 *
       
    31 *  @lib PDPContextManager2.lib
       
    32 *  @since S60 v3.1
       
    33 */
       
    34 class MAOSettings
       
    35     {
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Gets current acces point id.
       
    40      *
       
    41      * @since S60 v3.1
       
    42      * @return TInt the acces point ID.
       
    43      */
       
    44     virtual TInt AccessPointId() const = 0;
       
    45 
       
    46     /**
       
    47      * Gets current retry timer value in seconds.
       
    48      *
       
    49      * @since S60 v3.1
       
    50      * @return TInt the retry timer interval in seconds.
       
    51      */
       
    52     virtual TInt RetryTimerValue() const = 0;
       
    53     
       
    54     /**
       
    55      * Gets Always-On support in HPLMN (home network).
       
    56      *
       
    57      * @since S60 v3.1
       
    58      * @return ETrue if supported
       
    59      */
       
    60     virtual TBool AlwaysOnSupportedInHPLMN() const = 0;
       
    61     
       
    62     /**
       
    63      * Gets Always-On support in VPLMN (visitor network).
       
    64      *
       
    65      * @since S60 v3.1
       
    66      * @return ETrue if supported.
       
    67      */
       
    68     virtual TBool AlwaysOnSupportedInVPLMN() const = 0;
       
    69     
       
    70     /**
       
    71      * Gets current connection timer value in seconds.
       
    72      *
       
    73      * @since S60 v3.1
       
    74      * @return TInt the connection timer value in seconds.
       
    75      */
       
    76     virtual TInt ConnectionTimerValue() const = 0;
       
    77     
       
    78     /**
       
    79      * Gets current unconnect timer value in seconds.
       
    80      *
       
    81      * @since 3.0
       
    82      * @return TInt
       
    83      */
       
    84     virtual TInt UnconnectTimerValue() const = 0;
       
    85     
       
    86     /**
       
    87      * Gets current linger timer value in seconds.
       
    88      *
       
    89      * @param aIapId Iap id of the connection.
       
    90      * @since 3.2
       
    91      * @return TInt
       
    92      */
       
    93     virtual TInt LingerTimerValue( const TUint aIapId ) const = 0;
       
    94         
       
    95 protected:
       
    96 
       
    97     /**
       
    98      * Prohibit destruction
       
    99      *
       
   100      * @since 3.1
       
   101      */
       
   102     virtual ~MAOSettings(){};
       
   103     };
       
   104 
       
   105 #endif // M_MAOSETTINGS_H