diff -r 2580314736af -r 2669f8761a99 xdmprotocols/XcapProtocol/XcapCache/Server/inc/XcapCacheIndex.h --- a/xdmprotocols/XcapProtocol/XcapCache/Server/inc/XcapCacheIndex.h Thu Aug 19 10:19:02 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,125 +0,0 @@ -/* -* Copyright (c) 2005 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: CXcapCacheIndex -* -*/ - - - - -#ifndef __XCAPCACHEINDEX_H__ -#define __XCAPCACHEINDEX_H__ - -// INCLUDES -#include -#include -#include "CommonDefines.h" - -//FORWARD DECLARATIONs -class CXcapCacheIndexEntry; - -// CLASS DECLARATION -NONSHARABLE_CLASS( CXcapCacheIndex ) : public CBase - { - public: // Constructors and destructor - - /** - * Returns Cache Index - * @return Created Cache Index - */ - static CXcapCacheIndex* NewL(); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - static TInt Compare( const CXcapCacheIndexEntry& aFirst, - const CXcapCacheIndexEntry& aSecond ); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - TInt UpdateIndexL( const CXcapCacheIndexEntry* aEntry ); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - CXcapCacheIndexEntry* Entry( TInt aIndex ) const; - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - TInt EntryCount() const; - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - void SortEntriesL(); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - void RemoveEntry( TInt aIndex ); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - void StoreCacheDataL(); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - ~CXcapCacheIndex(); - - private: - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - CXcapCacheIndex(); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - void ConstructL(); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - RFile InitialiseIndexL(); - - /** - * Returns the MIME type of the messages - * @return TPtrC8 The MIME type of the messages - */ - void ReadEntriesL( TPtr8& aIndexData ); - - private: // Data - - RPointerArray iEntryList; - }; - -#endif - -// End of File