sipvoipprovider/src/svpcontroller.cpp
branchRCL_3
changeset 16 df4dfb214df5
parent 12 876a3df1f464
child 20 65a3ef1d5bd0
equal deleted inserted replaced
15:43658d24f35d 16:df4dfb214df5
    31 #include <crcseprofileentry.h>
    31 #include <crcseprofileentry.h>
    32 #include <crcseprofileregistry.h>
    32 #include <crcseprofileregistry.h>
    33 
    33 
    34 #include <wlantrafficstreamparameters.h> // CWlanMgmtClient
    34 #include <wlantrafficstreamparameters.h> // CWlanMgmtClient
    35 #include <ccpdefs.h>
    35 #include <ccpdefs.h>
       
    36 #include <featdiscovery.h>
    36 
    37 
    37 #include "svpcontroller.h"
    38 #include "svpcontroller.h"
    38 #include "svpmosession.h"
    39 #include "svpmosession.h"
    39 #include "svpmtsession.h"
    40 #include "svpmtsession.h"
    40 #include "svplogger.h"
    41 #include "svplogger.h"
    70     iIncomingReferCallIndex = KErrNotFound;
    71     iIncomingReferCallIndex = KErrNotFound;
    71     iHoldCallIndex = KErrNotFound;
    72     iHoldCallIndex = KErrNotFound;
    72     iSuppServices = CSVPSupplementaryServices::NewL();
    73     iSuppServices = CSVPSupplementaryServices::NewL();
    73     iSVPUtility = CSVPUtility::NewL();
    74     iSVPUtility = CSVPUtility::NewL();
    74     iRtpObserver = CSVPRtpObserver::NewL();
    75     iRtpObserver = CSVPRtpObserver::NewL();
       
    76     TBool wlanSupported = CFeatureDiscovery::IsFeatureSupportedL( KFeatureIdProtocolWlan );
    75 #ifndef __WINS__
    77 #ifndef __WINS__
    76     iWlanMgmt = CWlanMgmtClient::NewL();
    78     if ( wlanSupported )
       
    79         {
       
    80         iWlanMgmt = CWlanMgmtClient::NewL();
       
    81         }
    77 #endif // __WINS__
    82 #endif // __WINS__
    78 
    83 
    79     SVPDEBUG1( "CSVPController::ConstructL Out" )
    84     SVPDEBUG1( "CSVPController::ConstructL Out" )
    80     }
    85     }
    81 
    86