Search code examples
c++mobilesymbians60

Unique id of files and monitoring file system changes


Do files or folders on S60 have some unique id value that can identify them?

I would like to have an id that can be later used to extract full path of a file or folder. Is this achievable?

If not, what would be the best way to keep track of files of interest? E.g. if I have a pdf reader, and I want to have a menu option to show all pdf files on the system - how do I prevent my application to search all over the whole system every time I chose this option? Can I search it once and easily monitor changes while my application is active?

Thank you.


Solution

  • I can't quite see anything in the Symbian OS C++ API that would do exactly what you want.

    Using RFs::NotifyChange() is probably your best bet.