filemanager/src/inc/fmdrivewatcher/fmdrivewatcher.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 watcher
       
    17 */
       
    18 
       
    19 #ifndef FMDRIVEWATCHER_H
       
    20 #define FMDRIVEWATCHER_H
       
    21 
       
    22 #include <QObject>
       
    23 
       
    24 class FmDriveWatcherPrivate;
       
    25 
       
    26 class FmDriveWatcher : public QObject
       
    27 {
       
    28 Q_OBJECT
       
    29 public:
       
    30     FmDriveWatcher( QObject *parent = 0 );
       
    31     virtual ~FmDriveWatcher();
       
    32     void startWatch();
       
    33     void cancelWatch();
       
    34 
       
    35 signals:
       
    36     void driveAddedOrChanged();
       
    37 private slots:
       
    38     void onDriveAddedOrChanged();
       
    39 private:
       
    40     FmDriveWatcherPrivate *d;
       
    41 };
       
    42 
       
    43 
       
    44 #endif