javamanager/javaregistry/legacy/server/inc/mjavaregcacheupdater.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:27:20 +0300
changeset 21 2a9601315dfc
permissions -rw-r--r--
Revision: v2.1.22 Kit: 201018

/*
* Copyright (c) 2005-2006 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:  mjavaregcacheupdater definition
*
*/


#ifndef MJAVAREGCACHEUPDATER_H
#define MJAVAREGCACHEUPDATER_H

namespace Java
{
namespace Manager
{
namespace Registry
{
class CJavaPropertyArray;

/**
 * This interface is intended to let handle the cache in the registry,
 * to add, and remove entries.
 * @since S60 v3.2
 */
class MJavaRegCacheUpdater
{
public:

    /**
     * Adds the given registry entry to the cache.
     *
     * @since S60 v3.2
     * @param aFile The path of the registry entry to be added
     *              to the cache.
     * @param aProperties property array or null if not available
     */
    virtual void CacheEntryL(const TDesC& aFile,
                             CJavaPropertyArray* aProperties) = 0;

    /**
     * Removes the given registry entry from the cache.
     *
     * @since S60 v3.2
     * @param aFile The path of the registry entry to be removed
     *              from the cache.
     */
    virtual void RemoveCachedEntry(const TDesC& aFile) = 0;
};

}//namespace Registry
}//namespace Manager
}//namespace Java

#endif // MJAVAREGCACHEUPDATER_H

// End of File