os/security/contentmgmt/referencedrmagent/contentiterator/ContentIteratorInterface.h
First public contribution.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #ifndef __CONTENTITERATORINTERFACE_H__
20 #define __CONTENTITERATORINTERFACE_H__
24 namespace ContentAccess
30 class MContentIterator :public CBase
33 /** The location of the current content object
35 virtual const TDesC& FileName() const = 0;
36 virtual const TDesC& UniqueId() const = 0;
37 virtual const TDesC& Name() const = 0;
38 virtual const TDesC8& MimeType() const = 0;
41 /** Move iterator to the next content object
43 @return KErrNone if successful, KErrNotFound if there are no more content objects in the specified search
45 virtual TInt Next() = 0;