webengine/wrtharvester/src/wrtusbhandler.cpp
changeset 42 d39add9822e2
parent 38 6297cdf66332
child 46 ea4b2e4f7cac
child 65 5bfc169077b2
--- a/webengine/wrtharvester/src/wrtusbhandler.cpp	Mon Jan 18 21:20:18 2010 +0200
+++ b/webengine/wrtharvester/src/wrtusbhandler.cpp	Tue Feb 02 00:56:45 2010 +0200
@@ -1,26 +1,22 @@
-//
-// ============================================================================
-//  Name     : WidgetMMCHandler.cpp
-//  Part of  : SW Installer UIs / WidgetInstallerUI
-//
-//  Description: Handle notifications of MMC events.
-//
-//
-//  Version     : 3.1
-//
-//  Copyright © 2006 Nokia Corporation.
-//  This material, including documentation and any related
-//  computer programs, is protected by copyright controlled by
-//  Nokia Corporation. All rights are reserved. Copying,
-//  including reproducing, storing, adapting or translating, any
-//  or all of this material requires the prior written consent of
-//  Nokia Corporation. This material also contains confidential
-//  information which may not be disclosed to others without the
-//  prior written consent of Nokia Corporation.
-// ==============================================================================
-///
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Handle notifications of MMC events.
+*
+*
+*
+*/
 
-// INCLUDE FILES
 #include "wrtusbhandler.h"
 #include "wrtharvester.h"
 #include "wrtusbhandler.h"
@@ -170,9 +166,9 @@
                 {
                 // Mass storage was unplugged
                 if(iHarvester->IsInMSMode() == 1)
-                  {            
-                  iHarvester->ClearAllOperations();
-                  iHarvester->SetRegistryAccess(EFalse);
+                  {
+                  iHarvester->SetMSMode(0);	            
+                  iHarvester->ClearAllOperations();                  
                   }
                 }
               }