--- a/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrSrvSession.cpp Tue Feb 02 00:56:45 2010 +0200
+++ b/browserutilities/downloadmgr/DownloadMgrClntSrv/src/DownloadMgrSrvSession.cpp Fri Mar 19 09:52:28 2010 +0200
@@ -16,14 +16,15 @@
*
*/
+
// INCLUDE FILES
#include "DownloadMgrLogger.h"
#include "DownloadMgrServer.h"
#include "DownloadMgrDef.h"
#include "DownloadMgrEventQueue.h"
-#include "HttpClientAppInstance.h"
-#include "HttpDownload.h"
+#include <HttpClientAppInstance.h>
+#include <HttpDownload.h>
#include <e32svr.h>
#include <basched.h>
@@ -173,11 +174,6 @@
// check for session-relative requests
switch( aMessage.Function() )
{
- case EHttpDownMgrNumOfSubSessions:
- {
- GetNumberOfSubsession();
- return;
- }
case EHttpDownloadMgrInitialize:
{
InitializeL();
@@ -316,24 +312,6 @@
}
// ---------------------------------------------------------
-// CDownloadMgrSession::GetNumberOfSubsession
-// ---------------------------------------------------------
-//
-void CDownloadMgrSession::GetNumberOfSubsession()
- {
- TInt32 value(0);
- for( TInt i = 0; i < iObjectIx->Count(); i++ ){
- CDownloadSubSession* downloadSess
- = ( CDownloadSubSession* )(*iObjectIx)[i];
- if( downloadSess != NULL ){
- value++;
- }
- }
- TPckg<TInt32> pckg( value );
- Write( 0, CurrentMessage(), pckg );
- }
-
-// ---------------------------------------------------------
// CDownloadMgrSession::InitializeL
// ---------------------------------------------------------
//