javamanager/javaregistry/legacy/server/inc/mjavaregcacheupdater.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19: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:  mjavaregcacheupdater definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MJAVAREGCACHEUPDATER_H
       
    20 #define MJAVAREGCACHEUPDATER_H
       
    21 
       
    22 namespace Java
       
    23 {
       
    24 namespace Manager
       
    25 {
       
    26 namespace Registry
       
    27 {
       
    28 class CJavaPropertyArray;
       
    29 
       
    30 /**
       
    31  * This interface is intended to let handle the cache in the registry,
       
    32  * to add, and remove entries.
       
    33  * @since S60 v3.2
       
    34  */
       
    35 class MJavaRegCacheUpdater
       
    36 {
       
    37 public:
       
    38 
       
    39     /**
       
    40      * Adds the given registry entry to the cache.
       
    41      *
       
    42      * @since S60 v3.2
       
    43      * @param aFile The path of the registry entry to be added
       
    44      *              to the cache.
       
    45      * @param aProperties property array or null if not available
       
    46      */
       
    47     virtual void CacheEntryL(const TDesC& aFile,
       
    48                              CJavaPropertyArray* aProperties) = 0;
       
    49 
       
    50     /**
       
    51      * Removes the given registry entry from the cache.
       
    52      *
       
    53      * @since S60 v3.2
       
    54      * @param aFile The path of the registry entry to be removed
       
    55      *              from the cache.
       
    56      */
       
    57     virtual void RemoveCachedEntry(const TDesC& aFile) = 0;
       
    58 };
       
    59 
       
    60 }//namespace Registry
       
    61 }//namespace Manager
       
    62 }//namespace Java
       
    63 
       
    64 #endif // MJAVAREGCACHEUPDATER_H
       
    65 
       
    66 // End of File