Imported Upstream version 2.9.0
[debian/cc1111] / sim / ucsim / gui.src / serio.src / posix_signal.hh
1 /******************************************************************************
2  * posix_signal.hh - A signal handleing class for linux + solaris             *
3  * to convert posix into somthing easier to use                               *
4  * Tim Hurman - t.hurman@virgin.net                                           *
5  * Last edited on 01th Oct 1999                                               *
6  ******************************************************************************/
7 typedef void(*SIG_PF)(int);
8 class SigHandler
9 {
10         public:
11                 SigHandler();
12                 ~SigHandler();
13                 int SetSignal(int SIGNAL, SIG_PF ACTION);
14                 int BlockSignal(int SIGNAL);
15                 int UnBlockSignal(int SIGNAL);
16
17         private:
18                 
19 };