sl@0: /* sl@0: * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: #ifndef __CONTENTITERATORINTERFACE_H__ sl@0: #define __CONTENTITERATORINTERFACE_H__ sl@0: sl@0: #include sl@0: sl@0: namespace ContentAccess sl@0: { sl@0: /** sl@0: @internalComponent sl@0: @released sl@0: */ sl@0: class MContentIterator :public CBase sl@0: { sl@0: public: sl@0: /** The location of the current content object sl@0: */ sl@0: virtual const TDesC& FileName() const = 0; sl@0: virtual const TDesC& UniqueId() const = 0; sl@0: virtual const TDesC& Name() const = 0; sl@0: virtual const TDesC8& MimeType() const = 0; sl@0: sl@0: sl@0: /** Move iterator to the next content object sl@0: sl@0: @return KErrNone if successful, KErrNotFound if there are no more content objects in the specified search sl@0: */ sl@0: virtual TInt Next() = 0; sl@0: }; sl@0: } sl@0: #endif