webengine/wrtharvester/inc/wrtusbhandler.h
changeset 65 5bfc169077b2
parent 42 d39add9822e2
child 66 cacf6ee57968
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * ============================================================================
     3 * All rights reserved.
     3 *  Name        : WidgetMMCHandler.h
     4 * This component and the accompanying materials are made available
     4 *  Part of     : Widget Registry
     5 * under the terms of "Eclipse Public License v1.0"
     5 *  Description : Acts on MMC card insertion/removal
     6 * which accompanies this distribution, and is available
     6 *  Version     : 3.1
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
     7 *
     9 * Initial Contributors:
     8 *  Copyright © 2008 Nokia Corporation.
    10 * Nokia Corporation - initial contribution.
     9 *  This material, including documentation and any related
    11 *
    10 *  computer programs, is protected by copyright controlled by
    12 * Contributors:
    11 *  Nokia Corporation. All rights are reserved. Copying,
    13 *
    12 *  including reproducing, storing, adapting or translating, any
    14 * Description:  Acts on MMC card insertion/removal
    13 *  or all of this material requires the prior written consent of
    15 *
    14 *  Nokia Corporation. This material also contains confidential
       
    15 *  information which may not be disclosed to others without the
       
    16 *  prior written consent of Nokia Corporation.
       
    17 * =============================================================================
    16 */
    18 */
    17 
       
    18 
    19 
    19 #ifndef WIDGETMMCHANDLER_H
    20 #ifndef WIDGETMMCHANDLER_H
    20 #define WIDGETMMCHANDLER_H
    21 #define WIDGETMMCHANDLER_H
    21 
    22 
    22 // INCLUDES
    23 // INCLUDES
    42     static CWrtUsbHandler* NewL( CWrtHarvester* aHarvester, RFs& aFs );
    43     static CWrtUsbHandler* NewL( CWrtHarvester* aHarvester, RFs& aFs );
    43 
    44 
    44     virtual ~CWrtUsbHandler();
    45     virtual ~CWrtUsbHandler();
    45 
    46 
    46     void Start();
    47     void Start();
    47     void DoScanAndUpdate();   
    48     void ToggleUSBMode();
       
    49     void DoScanAndUpdate();
       
    50     void DeleteTimer();
    48 
    51 
    49 protected:
    52 protected:
    50 
    53 
    51     void RunL();
    54     void RunL();
    52 
    55 
    71     
    74     
    72     CWrtHarvester* iHarvester;
    75     CWrtHarvester* iHarvester;
    73     RFs iFs;
    76     RFs iFs;
    74 
    77 
    75     TInt iDriveFlags;
    78     TInt iDriveFlags;
       
    79     CPeriodic* iCallBackTimer;
       
    80 
    76     };
    81     };
    77 
    82 
    78 #endif // #ifndef WIDGETMMCHANDLER_H
    83 #endif // #ifndef WIDGETMMCHANDLER_H