smf/smfservermodule/smfserver/transportmgr/smftransportmanager.cpp
changeset 25 a180113055cb
parent 18 013a02bf2bb0
equal deleted inserted replaced
24:1cee9f1b95e0 25:a180113055cb
    30  * Method to get the instance of SmfTransportManager class
    30  * Method to get the instance of SmfTransportManager class
    31  * @return The instance of SmfTransportManager class
    31  * @return The instance of SmfTransportManager class
    32  */
    32  */
    33 SmfTransportManager* SmfTransportManager::getInstance ( )
    33 SmfTransportManager* SmfTransportManager::getInstance ( )
    34 	{
    34 	{
    35 	qDebug()<<"Inside SmfTransportManager::getInstance()";
       
    36 	if(NULL == m_myInstance)
    35 	if(NULL == m_myInstance)
    37 		m_myInstance = new SmfTransportManager( );
    36 		m_myInstance = new SmfTransportManager( );
    38 	return m_myInstance;
    37 	return m_myInstance;
    39 	}
    38 	}
    40 
    39 
    42  * Constructor with default argument
    41  * Constructor with default argument
    43  * @param aParent The parent object
    42  * @param aParent The parent object
    44  */
    43  */
    45 SmfTransportManager::SmfTransportManager ( )
    44 SmfTransportManager::SmfTransportManager ( )
    46 	{
    45 	{
    47 	qDebug()<<"Inside SmfTransportManager::SmfTransportManager()";
       
    48 
       
    49 	m_systemInfo = new QSystemNetworkInfo(this);
    46 	m_systemInfo = new QSystemNetworkInfo(this);
    50 	
    47 	
    51 	m_netwConfigMngr = new QNetworkConfigurationManager(this);
    48 	m_netwConfigMngr = new QNetworkConfigurationManager(this);
    52 	
    49 	
    53 	// Register for monitoring changes in IAPs (network configurations)
    50 	// Register for monitoring changes in IAPs (network configurations)