mmappcomponents/harvester/filehandler/inc/mpxfilescanstateobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 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:  Generic file scanning state change observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMPXFILESCANSTATEOBSERVER_H
       
    20 #define MMPXFILESCANSTATEOBSERVER_H
       
    21     
       
    22 /**
       
    23  *  MMPXFileScanStateObserver 
       
    24  *
       
    25  *  Interface class to handle changes in the scanning state
       
    26  *
       
    27  *  @lib mpxfilehandler.lib
       
    28  *  @since S60 3.0
       
    29  */
       
    30 class MMPXFileScanStateObserver 
       
    31     {
       
    32 public: 
       
    33     
       
    34     // ENUMS
       
    35     enum TScanState
       
    36         {
       
    37         EScanNone,
       
    38         EScanFiles,
       
    39         ECleanupBrokenLink,
       
    40         EScanPlaylists,
       
    41         EScanMetadata
       
    42         };
       
    43 public:
       
    44 
       
    45     /**
       
    46      * Handle a change in the scanning state
       
    47      *
       
    48      * @since S60 3.0
       
    49      * @param aState, state we are on
       
    50      * @param aErr, any error
       
    51      */
       
    52     virtual void HandleScanStateCompleteL( TScanState aState, TInt aErr ) = 0;
       
    53 
       
    54     };
       
    55 
       
    56 
       
    57 #endif // MMPXFILESCANSTATEOBSERVER_H