diff -r 1957042d8c7e -r ada7962b4308 filemanager/src/inc/fmdrivewatcher/private/symbian/fmdrivewatcherprivate.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/filemanager/src/inc/fmdrivewatcher/private/symbian/fmdrivewatcherprivate.h Mon May 03 12:24:39 2010 +0300 @@ -0,0 +1,53 @@ +/* +* Copyright (c) 2009 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: +* The header file of drive event watcher private +*/ + +#ifndef FMDRIVEWATCHERPRIVATE_H +#define FMDRIVEWATCHERPRIVATE_H + +#include + +#include "fmdriveevent.h" + +#include + +class FmDriveWatcher; + +class FmDriveWatcherPrivate : public QObject, public MFmDriveEventObserver +{ +Q_OBJECT +public: + FmDriveWatcherPrivate( FmDriveWatcher *driveWatcher ); + virtual ~FmDriveWatcherPrivate(); + + void startWatch(); + void cancelWatch(); + + void onDriveAdded(); + void onDriveRemoved(); + + void OnDriveAddedOrChangedL(); +signals: + void driveAddedOrChanged(); + +private: + FmDriveWatcher *q; + CFmDriveEvent *mDriveEvent; + RFs fs; +}; + +#endif