Platform Environment API provides interface for quering system paths. Methods provided by the API should be used instead of hard coded path names. All paths have the trailing backslash included. The API consist of the PathInfo class and system paths are defined in PathConfiguration.hrh.
The panic mechanism is used to handle programming errors. GetPath(TInt aPath) method will panic if invalid parameter is given as input. The panic category is named PATHINFO and panic code is:
|
Static Public Member Functions |
| static IMPORT_C const TDesC & | RomRootPath () |
| | This method returns the root path in ROM.
|
| static IMPORT_C const TDesC & | PhoneMemoryRootPath () |
| | This method returns the root path in Phone Memory.
|
| static IMPORT_C const TDesC & | MemoryCardRootPath () |
| | This method returns the root path in Memory Card.
|
| static IMPORT_C const TDesC & | GamesPath () |
| | This method returns the games path to be appended to a root path.
|
| static IMPORT_C const TDesC & | InstallsPath () |
| | This method returns the installs path to be appended to a root path.
|
| static IMPORT_C const TDesC & | OthersPath () |
| | This method returns the others path to be appended to a root path.
|
| static IMPORT_C const TDesC & | VideosPath () |
| | This method returns the videos path to be appended to a root path.
|
| static IMPORT_C const TDesC & | ImagesPath () |
| | This method returns the images path to be appended to a root path.
|
| static IMPORT_C const TDesC & | PicturesPath () |
| | This method returns the pictures path to be appended to a root path.
|
| static IMPORT_C const TDesC & | GmsPicturesPath () |
| | This method returns the GMS pictures path to be appended to a root path.
|
| static IMPORT_C const TDesC & | MmsBackgroundImagesPath () |
| | This method returns the MMS background images path to be appended to a root path.
|
| static IMPORT_C const TDesC & | PresenceLogosPath () |
| | This method returns the presence logos path to be appended to a root path.
|
| static IMPORT_C const TDesC & | SoundsPath () |
| | This method returns the sounds path to be appended to a root path.
|
| static IMPORT_C const TDesC & | DigitalSoundsPath () |
| | This method returns the digital sounds path to be appended to a root path.
|
| static IMPORT_C const TDesC & | SimpleSoundsPath () |
| | This method returns the simple sounds path to be appended to a root path.
|
| static IMPORT_C const TDesC & | ImagesThumbnailPath () |
| | This method returns a thumbnail images path.
|
| static IMPORT_C const TDesC & | MemoryCardContactsPath () |
| | This method returns the full path of the contacts folder in the memory card.
|