phoneengine/networkhandlingstarter/inc/cnetworklistener.h
changeset 56 5bcb308bd24d
parent 45 6b911d05207e
child 60 1eef62f5c541
equal deleted inserted replaced
46:bc5a64e5bc3c 56:5bcb308bd24d
     1 /*
     1 /*
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    20 #define CNETWORKLISTENER_H
    20 #define CNETWORKLISTENER_H
    21 
    21 
    22 // System includes
    22 // System includes
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <nwhandlingengine.h>
    24 #include <nwhandlingengine.h>
       
    25 #include <qsysteminfo.h>
    25 
    26 
    26 // User includes
    27 // User includes
    27 
    28 
    28 // Forward declarations
    29 // Forward declarations
    29 class CNWSession;
    30 class CNWSession;
    30 class CRepository;
       
    31 class MNetworkListenerObserver;
    31 class MNetworkListenerObserver;
       
    32 
       
    33 using namespace QtMobility;
    32 
    34 
    33 /**
    35 /**
    34  *  Network info listener.
    36  *  Network info listener.
    35  */
    37  */
    36 NONSHARABLE_CLASS( CNetworkListener ) : public CBase, 
    38 NONSHARABLE_CLASS( CNetworkListener ) : public CBase, 
   116      * A true value if registered to network.
   118      * A true value if registered to network.
   117      */
   119      */
   118     TBool iRegistered;
   120     TBool iRegistered;
   119     
   121     
   120     /**
   122     /**
   121      * Profile API.
       
   122      */
       
   123     CRepository* iProfileApi;
       
   124     
       
   125     /**
       
   126      * Observer.
   123      * Observer.
   127      */
   124      */
   128     MNetworkListenerObserver& iObserver;
   125     MNetworkListenerObserver& iObserver;
   129     
   126 
       
   127     /**
       
   128      * System device info API.
       
   129      * Own.
       
   130      */
       
   131     QSystemDeviceInfo* iDeviceInfo;
   130     };
   132     };
   131     
   133     
   132 #endif // CNETWORKLISTENER_H
   134 #endif // CNETWORKLISTENER_H