diff -r 8bda91a87a00 -r 8ee96d21d9bf profilesservices/FileList/Src/MFLDFileObserver.h --- a/profilesservices/FileList/Src/MFLDFileObserver.h Thu Aug 19 10:12:30 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -/* -* Copyright (c) 2002 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: Abstract interface for check media files. -* -*/ - - - -#ifndef MFLDFILEOBSERVER_H -#define MFLDFILEOBSERVER_H - -// INTERNAL INCLUDES - -// EXTERNAL INCLUDES -#include - -// CLASS DEFINITION - -/** -* Abstract interface for check media files. -* -* @lib filelist.lib -* @since 2.1 -*/ -class MFLDFileObserver - { - public: // Enumerations - - // An enumeration which tells what is the file used for. - enum TIntention - { - EPlay = 1, - ESelect = 2 - }; - - public: // New functions - - /** - * An abstract function for checking if a file is valid. - * @since 2.1 - * @param aFileName Full path and filename. - * @param aIntention Describes what is the file used for. - * @return Returns ETrue if the file is valid for intended use. - */ - virtual TBool IsFileValidL( - const TDesC& aFileName, - TIntention aIntention ) = 0; - - /** - * An abstract function for checking media type - * @since 3.1 - * @param aFileName Full path and filename. - * @return Returns media type - */ - virtual TInt32 MediaFileType( - const TDesC& aFileName ) const = 0; - - protected: - - /** - * Destructor. - */ - virtual ~MFLDFileObserver() {} - - }; - -#endif // MFLDFILEOBSERVER_H - -// End of File