1693
|
1
|
|
2 #ifndef __GUI_SIGNAL
|
|
3 #define __GUI_SIGNAL
|
|
4
|
|
5 #include <stdlib.h>
|
|
6 #include <stdio.h>
|
|
7 #include <string.h>
|
|
8 #include <unistd.h>
|
|
9 #include <signal.h>
|
|
10
|
|
11 #define mplNoneEvent 0
|
|
12 #define mplResizeEvent 1
|
|
13 #define mplQuit 2
|
|
14 #define mplPauseEvent 3
|
|
15 #define mplEndOfFile 4
|
|
16 #define mplExposeEvent 5
|
|
17 #define mplSetVideoData 6
|
|
18 #define mplAudioError 7
|
|
19 #define mplUnknowError 8
|
|
20 #define mplSeekEvent 9
|
|
21 #define mplUnknowFileType 10
|
|
22 #define mplCodecConfNotFound 11
|
|
23 #define mplErrorDVDKeyProcess 12
|
|
24 #define mplErrorDVDAuth 13
|
|
25 #define mplErrorAVINI 14
|
|
26 #define mplAVIErrorMissingVideoStream 15
|
|
27 #define mplASFErrorMissingVideoStream 16
|
|
28 #define mplMPEGErrorSeqHeaderSearch 17
|
|
29 #define mplErrorShMemAlloc 18
|
|
30 #define mplMPEGErrorCannotReadSeqHeader 19
|
|
31 #define mplMPEGErrorBadSeqHeader 20
|
|
32 #define mplMPEGErrorCannotReadSeqHeaderExt 21
|
|
33 #define mplMPEGErrorBadSeqHeaderExt 22
|
|
34 #define mplCantFindCodecForVideoFormat 23
|
|
35 #define mplIncompatibleVideoOutDevice 24
|
|
36 #define mplCompileWithoutDSSupport 25
|
|
37 #define mplDSCodecNotFound 26
|
|
38 #define mplCantInitVideoDriver 27
|
|
39 #define mplIncAudioBufferDelay 28
|
|
40 #define mplDecAudioBufferDelay 29
|
|
41
|
|
42 #define SIGTYPE _NSIG - 1
|
|
43
|
|
44 extern int gtkIsOk;
|
|
45
|
|
46 extern pid_t mplMPlayerPID;
|
|
47 extern pid_t mplParentPID;
|
|
48
|
1741
|
49 extern pid_t gtkPID;
|
1693
|
50
|
|
51 extern void gtkSigHandler( int s );
|
|
52 extern void mplPlayerSigHandler( int s );
|
|
53 extern void mplMainSigHandler( int s );
|
|
54
|
|
55 extern void mplSendMessage( int msg );
|
|
56 extern void gtkSendMessage( int msg );
|
|
57
|
|
58 extern void mplErrorHandler( int critical,const char * format, ... );
|
|
59
|
|
60 #endif |