On 28/04/2018 at 23:01, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R19
Platform: Windows ;
Language(s) : C++ ;
---------
The documentation mentions (in its manual) that the FileMonitor is deprecated and will be replaced in a future release.
So, what should we use in the meantime?
Still rely on this FileMonitor class, and re-implement the whole when the new replacement is available, or ignore this FileMonitor and use some other mechanism? (which one?)
I am looking into using presets (files) stored in a folder, and would want to know when user adds/removes/renames/updates preset, in order to update the list of presets in combobox or similar.
I could keep a cache, with filenames, timestamps, etc ... and check if things have changed. That would be fine when using the preset to check for changes and sync when needed, but this way I will not get triggered when something has changed before actually using the preset.