internetradio2.0/cachemgmtinc/ircacheobserver.h
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MIRCACHEOBSERVER_H
       
    20 #define MIRCACHEOBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 class MIRCacheObserver
       
    25 {
       
    26     public:
       
    27  //!General error condition   
       
    28     virtual void CacheError() = 0;
       
    29 //! If seeked data not in cache    
       
    30     virtual void CacheFailed() = 0;
       
    31 //!If cached data is stale    
       
    32     virtual void CacheInvalid() = 0;
       
    33 //!Data is valid and extracted into the structure    
       
    34     virtual void CachedStructureL(TInt aChoice) = 0;
       
    35                     
       
    36 };
       
    37 
       
    38 #endif //MIRCACHEOBSERVER_H