diff -r bfc95e24a059 -r c9471d26c7f2 qtinternetradio/irqnetworkcontroller/src/irqnetworkcontrollerbody.cpp --- a/qtinternetradio/irqnetworkcontroller/src/irqnetworkcontrollerbody.cpp Mon Jun 21 22:33:45 2010 +0100 +++ b/qtinternetradio/irqnetworkcontroller/src/irqnetworkcontrollerbody.cpp Thu Jul 22 16:31:41 2010 +0100 @@ -61,68 +61,6 @@ } // --------------------------------------------------------------------------- -// IRQNetworkControllerBody::getAccessPointList() -// Returns the list of available access points -// @return QStringList &aList specifying the access point names -// --------------------------------------------------------------------------- -// -void IRQNetworkControllerBody::getAccessPointList(QStringList &aList) -{ - const CDesCArray *apArray = iNetworkController->GetAccessPointList(); - int count = apArray->MdcaCount(); - for (int i = 0; i < count; ++i) - { - QString str = QString::fromUtf16(apArray->MdcaPoint(i).Ptr(), apArray->MdcaPoint(i).Length()); - aList.append(str); - } -} - -// --------------------------------------------------------------------------- -// IRQNetworkControllerBody::getApIdList() -// Returns the list of iap ids for available access points -// @return QList &aList specifying the iap ids -// --------------------------------------------------------------------------- -// -void IRQNetworkControllerBody::getApIdList(QList &aList) -{ - const RArray& accessPointIDArray = iNetworkController->GetApList(); - for (int i = 0; i < accessPointIDArray.Count(); ++i) - { - aList.append(accessPointIDArray[i]); - } -} - -// --------------------------------------------------------------------------- -// IRQNetworkControllerBody::getBearerList() -// Returns the list of bearer ids for available access points -// @return QList &aList specifying the bearer ids -// --------------------------------------------------------------------------- -// -void IRQNetworkControllerBody::getBearerList(QList &aList) -{ - const RArray& bearerIDArray = iNetworkController->GetBearerList(); - for (int i = 0; i < bearerIDArray.Count(); ++i) - { - aList.append(bearerIDArray[i]); - } -} - -// --------------------------------------------------------------------------- -// IRQNetworkControllerBody::getNetworkList() -// Returns the list of network ids for available access points -// @return QList &aList specifying the network ids -// --------------------------------------------------------------------------- -// -void IRQNetworkControllerBody::getNetworkList(QList &aList) -{ - const RArray& networkIDArray = iNetworkController->GetNetworkList(); - for (int i = 0; i < networkIDArray.Count(); ++i) - { - aList.append(networkIDArray[i]); - } -} - -// --------------------------------------------------------------------------- // IRQNetworkControllerBody::chooseAccessPoint() // Configures the Access Point which is used by all the components for network // connectivity