src/plugins/bearer/symbian/qnetworksession_impl.h
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
    61 #include <commdbconnpref.h>
    61 #include <commdbconnpref.h>
    62 #include <es_sock.h>
    62 #include <es_sock.h>
    63 #include <rconnmon.h>
    63 #include <rconnmon.h>
    64 #ifdef SNAP_FUNCTIONALITY_AVAILABLE
    64 #ifdef SNAP_FUNCTIONALITY_AVAILABLE
    65     #include <comms-infras/cs_mobility_apiext.h>
    65     #include <comms-infras/cs_mobility_apiext.h>
    66 #endif
       
    67 #ifdef OCC_FUNCTIONALITY_AVAILABLE
       
    68     #include <extendedconnpref.h>
       
    69 #endif
    66 #endif
    70 
    67 
    71 QT_BEGIN_NAMESPACE
    68 QT_BEGIN_NAMESPACE
    72 
    69 
    73 class ConnectionProgressNotifier;
    70 class ConnectionProgressNotifier;
   130 protected: // From CActive
   127 protected: // From CActive
   131     void RunL();
   128     void RunL();
   132     void DoCancel();
   129     void DoCancel();
   133     
   130     
   134 private Q_SLOTS:
   131 private Q_SLOTS:
   135     void configurationStateChanged(TUint32 accessPointId, TUint32 connMonId, QNetworkSession::State newState);
   132     void configurationStateChanged(quint32 accessPointId, quint32 connMonId,
       
   133                                    QNetworkSession::State newState);
   136     void configurationRemoved(QNetworkConfigurationPrivatePointer config);
   134     void configurationRemoved(QNetworkConfigurationPrivatePointer config);
   137     
   135     void configurationAdded(QNetworkConfigurationPrivatePointer config);
       
   136 
   138 private:
   137 private:
   139     TUint iapClientCount(TUint aIAPId) const;
   138     TUint iapClientCount(TUint aIAPId) const;
   140     quint64 transferredData(TUint dataType) const;
   139     quint64 transferredData(TUint dataType) const;
   141     bool newState(QNetworkSession::State newState, TUint accessPointId = 0);
   140     bool newState(QNetworkSession::State newState, TUint accessPointId = 0);
   142     void handleSymbianConnectionStatusChange(TInt aConnectionStatus, TInt aError, TUint accessPointId = 0);
   141     void handleSymbianConnectionStatusChange(TInt aConnectionStatus, TInt aError, TUint accessPointId = 0);
   144     QNetworkConfiguration activeConfiguration(TUint32 iapId = 0) const;
   143     QNetworkConfiguration activeConfiguration(TUint32 iapId = 0) const;
   145 #ifndef QT_NO_NETWORKINTERFACE
   144 #ifndef QT_NO_NETWORKINTERFACE
   146     QNetworkInterface interface(TUint iapId) const;
   145     QNetworkInterface interface(TUint iapId) const;
   147 #endif
   146 #endif
   148 
   147 
       
   148 #if defined(SNAP_FUNCTIONALITY_AVAILABLE)
       
   149     bool easyWlanTrueIapId(TUint32 &trueIapId) const;
       
   150 #endif
       
   151 
       
   152 
   149 private: // data
   153 private: // data
   150     SymbianEngine *engine;
   154     SymbianEngine *engine;
   151 
   155 
   152 #ifndef QT_NO_NETWORKINTERFACE
   156 #ifndef QT_NO_NETWORKINTERFACE
   153     mutable QNetworkInterface activeInterface;
   157     mutable QNetworkInterface activeInterface;