basiclocationinfodisplay/blid/ui/inc/FileSystemInfo.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:31:27 +0100
branchRCL_3
changeset 18 870918037e16
parent 0 522cd55cc3d7
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* 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: Declaration of CFileSystemInfo class which is convenience class that is able to provide application private path information1
*
*/


 
#ifndef FILE_SYSTEM_INFO_H
#define FILE_SYSTEM_INFO_H

// INCLUDES
#include <e32base.h>

// CLASS DECLARATION

/**
* CFileSystemInfo is a convenience class that is able to provide
* application private path information.
*/
class CFileSystemInfo : public CBase
    {
    public:
    	/**
	     * Constructs new instance of CFileSystemInfo class.
	     * 
	     * @return Pointer to a new CFileSystemInfo object.
	     * @leave KErrNotFound If multimediamenu application is not installed.
	     */
	    static CFileSystemInfo* NewL(const TUid & aApplicationUid);

	    /**
	     * Constructs new instance of CFileSystemInfo class and leaves it in the cleanup stack.
	     * 
	     * @return Pointer to a new CFileSystemInfo object.
	     * @leave KErrNotFound If multimediamenu application is not installed.
	     */    
	    static CFileSystemInfo* NewLC(const TUid & aApplicationUid);

	    /**
	     * Default destructor.
	     */
	    virtual ~CFileSystemInfo();
	               	
		/**
		 * Returns the application private path. The returned path will have a trailing backslash.
		 */
		TFileName PrivatePath() const;
	               	
   	private:

	    /**
	    * Default constructor
	    */
	    CFileSystemInfo();
			
	    /**
	     * Second phase constructor.
	     * 
	     * @leave KErrNotFound If multimediamenu application is not installed.
	     */
	    void ConstructL(const TUid & aApplicationUid);
   	
   	private:
   	
   		/** Current private path */
   		TFileName iPrivatePath;
   		   	
    };
    
#endif // FILE_SYSTEM_INFO_H

// End of file