realtimenetprots/sipfw/SIP/ConnectionMgr/inc/MSipCellularDataUsageObserver.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-2009 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 * Name          : MSipCellularDataUsageObserver.h
       
    16 * Part of       : ConnectionMgr
       
    17 * See class definition below.
       
    18 */
       
    19 
       
    20 /**
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef MSIPCELLULARDATAUSAGEOBSERVER_H
       
    25 #define MSIPCELLULARDATAUSAGEOBSERVER_H
       
    26 
       
    27 // INCLUDES
       
    28 #include <e32def.h>
       
    29 
       
    30 // CLASS DECLARATION
       
    31 /**
       
    32 */
       
    33 class MSipCellularDataUsageObserver
       
    34     {
       
    35     public: // Abstract methods
       
    36     enum TCellularDataUsageStatus
       
    37             {
       
    38             EDataUsageAllowed,
       
    39             EDataUsageNotAllowed		     
       
    40             };
       
    41 
       
    42         /**
       
    43          * Called when the settings for Cellular Data usage is Updated.
       
    44          */
       
    45      virtual void CellularDataUsageChangedL(MSipCellularDataUsageObserver::TCellularDataUsageStatus aStatus) = 0;
       
    46     };
       
    47 
       
    48 #endif MSIPCELLULARDATAUSAGEOBSERVER_H