r105: This commit was manufactured by cvs2svn to create tag
[cinelerra_cv/mob.git] / hvirtual / cinelerra / sighandler.h
blob7eee60fc50eb8ce2ddaf54fc9d23831eabf39b38
1 #ifndef SIGHANDLER_H
2 #define SIGHANDLER_H
4 #include "bcsignals.h"
5 #include "file.h"
7 class SigHandler : public BC_Signals
9 public:
10 SigHandler();
11 void signal_handler(int signum);
14 // Put file pointer on table
15 void push_file(File *file);
16 // Remove file pointer from table
17 void pull_file(File *file);
19 // Files currently open for writing.
20 // During a crash, the sighandler should close them all.
21 ArrayList<File*> files;
25 #endif