webengine/wrtharvester/inc/wrtusbhandler.h
changeset 27 60c5402cb945
parent 17 c8a366e56285
child 29 a758fa0cb043
--- a/webengine/wrtharvester/inc/wrtusbhandler.h	Thu Sep 24 12:53:48 2009 +0300
+++ b/webengine/wrtharvester/inc/wrtusbhandler.h	Mon Oct 26 08:28:45 2009 +0200
@@ -1,21 +1,22 @@
 /*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+* ============================================================================
+*  Name        : WidgetMMCHandler.h
+*  Part of     : Widget Registry
+*  Description : Acts on MMC card insertion/removal
+*  Version     : 3.1
 *
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Acts on MMC card insertion/removal
-*
+*  Copyright © 2008 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.
+* =============================================================================
 */
 
-
 #ifndef WIDGETMMCHANDLER_H
 #define WIDGETMMCHANDLER_H
 
@@ -35,16 +36,18 @@
  *
  * @since 3.1
  */
-class CWidgetMMCHandler : public CActive
+class CWrtUsbHandler : public CActive
     {
 public:
 
-    static CWidgetMMCHandler* NewL( CWrtHarvester* aHarvester, RFs& aFs );
+    static CWrtUsbHandler* NewL( CWrtHarvester* aHarvester, RFs& aFs );
 
-    virtual ~CWidgetMMCHandler();
+    virtual ~CWrtUsbHandler();
 
     void Start();
     void ToggleUSBMode();
+    void DoScanAndUpdate();
+    void DeleteTimer();
 
 protected:
 
@@ -57,11 +60,11 @@
 private:
 
     // no copy constructor
-    CWidgetMMCHandler( const CWidgetMMCHandler& );
+    CWrtUsbHandler( const CWrtUsbHandler& );
     // no assignment
-    CWidgetMMCHandler& operator=( const CWidgetMMCHandler& );
+    CWrtUsbHandler& operator=( const CWrtUsbHandler& );
 
-    CWidgetMMCHandler( CWrtHarvester* aHarvester, RFs& aFs );
+    CWrtUsbHandler( CWrtHarvester* aHarvester, RFs& aFs );
 
     void ConstructL();
 
@@ -73,6 +76,7 @@
     RFs iFs;
 
     TInt iDriveFlags;
+    CPeriodic* iCallBackTimer;
 
     };