os/security/contentmgmt/referencedrmagent/contentiterator/ContentIteratorInterface.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     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".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 #ifndef __CONTENTITERATORINTERFACE_H__
    20 #define __CONTENTITERATORINTERFACE_H__
    21 
    22 #include <e32base.h>
    23 
    24 namespace ContentAccess 
    25 	{
    26 	/**
    27 	@internalComponent
    28 	@released
    29 	*/
    30 	class MContentIterator :public CBase
    31 		{
    32 	public:
    33 		/** The location of the current content object 
    34 		*/
    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;
    39 		
    40 	
    41 		/** Move iterator to the next content object 
    42 
    43 		@return KErrNone if successful, KErrNotFound if there are no more content objects in the specified search
    44 		*/
    45 		virtual TInt Next() = 0;
    46 		};
    47 	}
    48 #endif