harvesterplugins/media/mediautils/inc/mmceventobserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 12:52:35 +0300
changeset 5 3bc31ad99ee7
parent 0 ccd0fd43f247
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* Copyright (c) 2010 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:  mmc instertion removal event observer callback
 *
*/


#ifndef MMCEVENTOBSERVER_H_
#define MMCEVENTOBSERVER_H_

class MMMCEventObserver
    {
public:
    //Observer implement this to get MMC events on mounted drive
    //aMMCInsertRemoval is ETrue when MMC inserted EFalse otherwise
    /*
     * HandleMMCEventL
     * @param TDriveNumber aDrive drive number of MMC
     * @param TBool aMMCInsertRemoval ETrue if inserted else EFalse
     */
    virtual void HandleMMCEventL(const TDriveNumber aDrive,const TBool aMMCInsertRemoval) = 0;
    };
#endif /* MMCEVENTOBSERVER_H_ */