javamanager/javaregistry/legacy/server/inc/mjavaregmmcobserver.h
branchRCL_3
changeset 14 04becd199f91
equal deleted inserted replaced
13:f5050f1da672 14:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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 * Description:  m_javaregmmcobserver definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MJAVAREGMMCOBSERVER_H
       
    20 #define MJAVAREGMMCOBSERVER_H
       
    21 
       
    22 namespace Java
       
    23 {
       
    24 namespace Manager
       
    25 {
       
    26 namespace Registry
       
    27 {
       
    28 
       
    29 /**
       
    30  * This class contains the abstract method which is called in case of
       
    31  * mmc status changing.
       
    32  * Class interested in any mmc event should inherit from this class.
       
    33  *
       
    34  * @since S60 v3.2
       
    35  */
       
    36 class MMemoryCardObserver
       
    37 {
       
    38 public:
       
    39     /**
       
    40      * Implement this method to be notified when MMC status
       
    41      * changes.
       
    42      *
       
    43      * @param aDrive the drive number in which mmc status changed
       
    44      * @param aMmcId the mmc id or 0 if mmc not present
       
    45      * @since S60 v3.2
       
    46      */
       
    47     virtual void MMCStatusChangedL(TInt aDrive, TUint aMmcId) = 0;
       
    48 };
       
    49 
       
    50 }//namespace Registry
       
    51 }//namespace Manager
       
    52 }//namespace Java
       
    53 
       
    54 #endif // MJAVAREGMMCOBSERVER_H
       
    55 
       
    56 // End of File