filemanager/src/inc/fmdrivewatcher/private/symbian/fmdrivewatcherprivate.h
changeset 16 ada7962b4308
--- /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 <QObject>
+
+#include "fmdriveevent.h"
+
+#include <f32file.h>
+
+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