PathInfo.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : PathInfo.h
00004 *  Part of     : Common Services / Platform Environment
00005 *  Interface   : SDK, Platform Environment API
00006 *  Description : Interface for quering system paths.
00007 *  Version     : %version: ou1cfspd#8 %
00008 *
00009 *  Copyright © 2002-2006 Nokia. All rights reserved.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia. All rights are reserved. Copying, including 
00013 *  reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef PATH_INFO_H
00023 #define PATH_INFO_H
00024 
00025 //  INCLUDES
00026 #include <e32std.h>
00027 
00028 // CLASS DECLARATION
00062 class PathInfo
00063     {
00064     public:
00065 
00070                 enum TSystemPaths
00071                         {
00074                         ERomRootPath = 0,
00077             EPhoneMemoryRootPath,
00080                         EMemoryCardRootPath, 
00083             EGamesPath,
00086             EInstallsPath,
00089             EOthersPath,
00092             EVideosPath,
00095             EImagesPath,
00098             EGsmPicturesPath,
00101             EMmsBackgroundImagesPath,
00104             EPresenceLogosPath,
00107             ESoundsPath,            
00110             EDigitalSoundsPath,
00113             ESimpleSoundsPath,
00119             EImagesThumbnailPath,
00124             EMemoryCardContactsPath
00125                         };
00126 
00132         IMPORT_C static const TDesC& RomRootPath();
00138         IMPORT_C static const TDesC& PhoneMemoryRootPath();
00144         IMPORT_C static const TDesC& MemoryCardRootPath();
00145 
00146 
00152         IMPORT_C static const TDesC& GamesPath();
00158         IMPORT_C static const TDesC& InstallsPath();
00164         IMPORT_C static const TDesC& OthersPath();
00170         IMPORT_C static const TDesC& VideosPath();
00176         IMPORT_C static const TDesC& ImagesPath();  
00184         IMPORT_C static const TDesC& PicturesPath();       
00191         IMPORT_C static const TDesC& GmsPicturesPath();
00198         IMPORT_C static const TDesC& MmsBackgroundImagesPath();
00205         IMPORT_C static const TDesC& PresenceLogosPath();
00211         IMPORT_C static const TDesC& SoundsPath();
00218         IMPORT_C static const TDesC& DigitalSoundsPath();
00225         IMPORT_C static const TDesC& SimpleSoundsPath();
00226 
00227         // ---------------------------------------------------------------------
00228         // Paths that are not necessarily under root directories
00229         // ---------------------------------------------------------------------
00230 
00238         IMPORT_C static const TDesC& ImagesThumbnailPath();
00239 
00247         IMPORT_C static const TDesC& MemoryCardContactsPath();
00248 
00249         
00271         IMPORT_C static const TDesC& GetPath( TInt aPath );
00272         
00273 
00274     private:
00275 
00279         PathInfo();
00280     };
00281 
00282 #endif      // PATH_INFO_H   
00283             
00284 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top