Location:
apparc.h
Link against:
apparc.lib
CApaRecentFile
Supported from 5.0
A set of static functions which manages a list of last used documents.
The list is a set of entries, each of which encapsulates a file name. The list is in file name order with the most recently used document at the beginning of the list.
Defined in CApaRecentFile
:
AddLastUsedEntryL()
, GetRecentFileL()
, GetRecentFileListL()
static void AddLastUsedEntryL(RFs& aFs, const TDesC& aFileName, TUid aAppUid);
Adds an entry for the specified document file name to the beginning of the list.
If an entry with the same name already exists in the list, then that entry is moved from its current position to the beginning of the list.
This entry represents the most recently used document.
|
static TApaLastUsedEntry GetRecentFileL(RFs& aFs, TUid aAppUid, TInt aIndex);
Returns the entry for a recently used document which matches the specified criteria.
The function can return the most recently used document, or the second most recently used, or the third most recently used etc. within the set of documents associated with the specified application UID.
|
|
static CArrayFixFlat<TApaLastUsedEntry>* GetRecentFileListL(RFs& aFs, TUid aAppUid);
Returns all entries for those last used documents which match the specified criteria.
The first entry in the returned array represents the most recently used document, the second entry represents the second most recently used etc.
|
|