My app puts some files in the trash, but also implements undo to pull them back out again. I need to know if the user empties the trash so I can empty my undo stack.
Do I need to monitor file system events to achieve this, or is there an easier way?