diff -r 000000000000 -r c8caa15ef882 pressrv_plat/simple_documents_api/inc/msimplepresencelist.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pressrv_plat/simple_documents_api/inc/msimplepresencelist.h Tue Feb 02 01:05:17 2010 +0200 @@ -0,0 +1,85 @@ +/* +* Copyright (c) 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: SIMPLE Engine presence list +* +*/ + + + + +#ifndef M_simplepresencelist_H +#define M_simplepresencelist_H + +#include +#include + +// FORWARD DECLARATION + +class MSimpleMeta; + +/** + * MSimplePresenceList + * + * SIMPLE Engine presence list + * + * @lib simplexmlutils + * @since S60 3.2 + */ + +class MSimplePresenceList + { + +public: + + /** + * Destructor. + * @since S60 3.2 + */ + virtual void Close() = 0; + + /** + * Getting the child elements of this element. + * + * @since S60 3.2 + * @param aDocuments an array of presence entities. This is an empty array if there + * are no entities. OUT. + * Do NOT call ResetAndDestroy() for the array, + * you may call Reset() only. The array is valid only till + * the next call of this method in this entity. + */ + virtual void GetDocuments( RPointerArray& aDocuments ) = 0; + + /** + * Getter for the Metadata document. + * @since S60 3.2 + * @return metadata document. Ownership is not transferred. + */ + virtual MSimpleMeta* MetaData() = 0; + + /** + * Getting the sub-lists + * + * @since S60 3.2 + * @param aLists array of presence sub lists. OUT. + * Do NOT call ResetAndDestroy() for the array, + * you may call Reset() only. The array is valid only till + * the next call of this method in this entity. + */ + virtual void GetSubLists( RPointerArray& aLists ) = 0; + + }; + +#endif + +// End of File