diff -r 2e2a89493e2b -r 48dd0f169f0d imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnaildiskunmountobserver.h --- a/imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnaildiskunmountobserver.h Fri Sep 03 10:29:37 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,78 +0,0 @@ -/* -* Copyright (c) 2007 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: Class to monitor when volumes are unmounted - * -*/ - - -#ifndef THUMBNAILDISKUNMOUNTOBSERVER_H -#define THUMBNAILDISKUNMOUNTOBSERVER_H - -#include "f32file.h" - -class CThumbnailServer; - -/** - * Class to monitor when volumes are unmounted - * - * @since S60 v5.0 - */ -class CThumbnailDiskUnmountObserver: public CActive - { -public: - - /** - * Two-phased constructor - * - * @since S60 v5.0 - * @return New CThumbnailDiskUnmountObserver object. - */ - static CThumbnailDiskUnmountObserver* NewL( RFs& aFs, TInt aDrive, CThumbnailServer* aServer ); - /** - * Destructor - * - * @since S60 v5.0 - */ - virtual ~CThumbnailDiskUnmountObserver(); - - void StartNotify(); - -private: - void RunL(); - void DoCancel(); - - - /** - * C++ default constructor - * - * @since S60 v5.0 - * @return New CThumbnailDiskUnmountObserver object. - */ - CThumbnailDiskUnmountObserver( RFs& aFs, TInt aDrive, CThumbnailServer* aServer ); - - /** - * Symbian 2nd phase constructor can leave. - * - * @since S60 v5.0 - */ - void ConstructL(); - -private: - // Data - RFs& iFs; - TInt iDrive; - CThumbnailServer* iServer; -}; - -#endif // THUMBNAILDISKUNMOUNTOBSERVER_H