Project

General

Profile

Feature #3946

ActivityRegistry callbacks preCloseFile and postCloseFile should pass the file name as an argument.

Added by Herbert Greenlee over 6 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/28/2013
Due date:
% Done:

0%

Estimated time:
Scope:
Experiment:
SSI Package:
Duration:

Description

ActivityRegistry callbacks preCloseFile and postCloseFile are currently called with no arguments. At least one, and preferably both, methods should pass the name of the file that is about to be or was closed as a string argument. If more than one input file is open, the callback method would have no way of knowing which input file was closed. Or is it guaranteed that only one input file can be open at a time?

History

#1 Updated by Christopher Green about 6 years ago

  • Status changed from New to Rejected

It is certainly true that only one input "file" is open at a time from the point of view of the framework, but the concept of just what a "file" really is, is left entirely to the input module concerned. Also, sPostOpenFile() watchpoint does actually receive the "file name" as an argument (whatever the input source specified when it made the FileBlock), so the information should be redundant given the behavior above.



Also available in: Atom PDF