Share

File Event Handling

Product Documentation

File Event Handling

The information associated with a file event is stored in an instance of FileEventNotifier. The different kinds of file events are represented by the class enumeration FileEventNotifier::m_eType. The list of file events which can be handled or triggered are:

  • About to open a file for reading
  • About to open a file for writing
  • A file was read from
  • A file was written to
  • Before browsing for a file to read
  • Before browsing for a file to write

File events are triggered via the method Kernel::TriggerFileEvent().

File events can be handled as node/attribute events by wrapping them in an aptr template. For example see Kernel::FileEvent



File Event Handling

The information associated with a file event is stored in an instance of FileEventNotifier. The different kinds of file events are represented by the class enumeration FileEventNotifier::m_eType. The list of file events which can be handled or triggered are:

  • About to open a file for reading
  • About to open a file for writing
  • A file was read from
  • A file was written to
  • Before browsing for a file to read
  • Before browsing for a file to write

File events are triggered via the method Kernel::TriggerFileEvent().

File events can be handled as node/attribute events by wrapping them in an aptr template. For example see Kernel::FileEvent



Was this information helpful?