filemanager/src/inc/fmdrivewatcher/private/symbian/fmdrivewatcherprivate.h
branchRCL_3
changeset 39 65326cf895ed
parent 38 491b3ed49290
child 42 f5c50b8af68c
equal deleted inserted replaced
38:491b3ed49290 39:65326cf895ed
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 * 
       
    12 * Contributors:
       
    13 *
       
    14 * 
       
    15 * Description:
       
    16 *     The header file of drive event watcher private
       
    17 */
       
    18 
       
    19 #ifndef FMDRIVEWATCHERPRIVATE_H
       
    20 #define FMDRIVEWATCHERPRIVATE_H
       
    21 
       
    22 #include <QObject>
       
    23 
       
    24 #include "fmdriveevent.h"
       
    25 
       
    26 #include <f32file.h>
       
    27 
       
    28 class FmDriveWatcher;
       
    29 
       
    30 class FmDriveWatcherPrivate : public QObject, public MFmDriveEventObserver
       
    31 {
       
    32 Q_OBJECT
       
    33 public:
       
    34     FmDriveWatcherPrivate( FmDriveWatcher *driveWatcher );
       
    35     virtual ~FmDriveWatcherPrivate();
       
    36 
       
    37     void startWatch();
       
    38     void cancelWatch();
       
    39 
       
    40     void onDriveAdded();
       
    41     void onDriveRemoved();
       
    42     
       
    43     void OnDriveAddedOrChangedL();
       
    44 signals:
       
    45     void driveAddedOrChanged();
       
    46 
       
    47 private:
       
    48     FmDriveWatcher  *q;
       
    49     CFmDriveEvent   *mDriveEvent;
       
    50     RFs             fs;
       
    51 };
       
    52 
       
    53 #endif