upnpframework/upnpcommand/src/upnpfiletransferbasetask.cpp
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 0 7f85d04be362
equal deleted inserted replaced
32:3785f754ee62 38:5360b7ddc251
     1 /*
     1 /*
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   148 
   148 
   149     // reset drm-note calculator ( note is shown once per operation )
   149     // reset drm-note calculator ( note is shown once per operation )
   150     NoteHandler()->ResetDrmNoteCount();
   150     NoteHandler()->ResetDrmNoteCount();
   151     
   151     
   152     TInt status = KErrNone;
   152     TInt status = KErrNone;
   153     TInt origFileCount = FilePipe()->Count();;    
   153     TInt origFileCount = FilePipe()->Count();
   154     TInt failedFileCount = 0;   
   154     TInt failedFileCount = 0;
   155 
   155 
   156     // Initialise and execute the UpnpFileTransferEngine
   156     // Initialise and execute the UpnpFileTransferEngine
   157     CUpnpFileTransferEngine* ftEngine = NULL;
   157     CUpnpFileTransferEngine* ftEngine = NULL;
   158     ftEngine = CUpnpFileTransferEngine::NewL( iBrowsingSession );
   158     ftEngine = CUpnpFileTransferEngine::NewL( iBrowsingSession );
   159     if( status == KErrNone &&
   159     if( status == KErrNone &&