class TAppMngr2DriveUtils |
Utility functions to get TAppMngr2Location values and to construct resource and bitmap file names.
Public Member Functions | |
---|---|
IMPORT_C HBufC * | FullBitmapFileNameLC(const TDesC &, RFs &) |
IMPORT_C TAppMngr2Location | LocationFromDriveL(TInt, RFs &) |
IMPORT_C TAppMngr2Location | LocationFromFileNameL(const TDesC &, RFs &) |
IMPORT_C TFileName * | NearestResourceFileLC(const TDesC &, RFs &) |
IMPORT_C HBufC * | FullBitmapFileNameLC | ( | const TDesC & | aBitmapFile, |
RFs & | aFs | |||
) | [static] |
Returns full bitmap file name. Constructs file name using EDefaultRom drive, KDC_APP_BITMAP_DIR directory, and given MBM/MIF file name.
Full file name is allocated on heap and it is left in the cleanup stack. The caller of this method is responsible to delete the allocated HBufC object.
IMPORT_C TAppMngr2Location | LocationFromDriveL | ( | TInt | aDrive, |
RFs & | aFs | |||
) | [static] |
Returns location info (TAppMngr2Location) based on given drive (aDrive).
IMPORT_C TAppMngr2Location | LocationFromFileNameL | ( | const TDesC & | aFileName, |
RFs & | aFs | |||
) | [static] |
Returns location info (TAppMngr2Location) based on given file name (aFileName).
IMPORT_C TFileName * | NearestResourceFileLC | ( | const TDesC & | aFileName, |
RFs & | aFs | |||
) | [static] |
Returns the nearest resource file using for given file (aFileName) using EDefaultRom drive, KDC_RESOURCE_FILES_DIR, and BaflUtils::NearestLanguageFile().
TFileName object is allocated on heap and it is left in the cleanup stack. The caller of this method is responsible to delete the allocated TFileName object.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.