annotate Gui/mplayer/psignal.h @ 1795:4dde03edb55e

add mplayer.h
author pontscho
date Fri, 31 Aug 2001 10:08:03 +0000
parents b60319205152
children 62b8e85865a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef __GUI_SIGNAL
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define __GUI_SIGNAL
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 #include <stdlib.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6 #include <stdio.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 #include <string.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 #include <unistd.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 #include <signal.h>
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 #define mplNoneEvent 0
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 #define mplResizeEvent 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 #define mplQuit 2
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 #define mplPauseEvent 3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 #define mplEndOfFile 4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 #define mplExposeEvent 5
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17 #define mplSetVideoData 6
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 #define mplAudioError 7
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 #define mplUnknowError 8
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
20 #define mplSeekEvent 9
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
21 #define mplUnknowFileType 10
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22 #define mplCodecConfNotFound 11
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
23 #define mplErrorDVDKeyProcess 12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
24 #define mplErrorDVDAuth 13
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
25 #define mplErrorAVINI 14
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
26 #define mplAVIErrorMissingVideoStream 15
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
27 #define mplASFErrorMissingVideoStream 16
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
28 #define mplMPEGErrorSeqHeaderSearch 17
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
29 #define mplErrorShMemAlloc 18
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
30 #define mplMPEGErrorCannotReadSeqHeader 19
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
31 #define mplMPEGErrorBadSeqHeader 20
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
32 #define mplMPEGErrorCannotReadSeqHeaderExt 21
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
33 #define mplMPEGErrorBadSeqHeaderExt 22
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
34 #define mplCantFindCodecForVideoFormat 23
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
35 #define mplIncompatibleVideoOutDevice 24
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
36 #define mplCompileWithoutDSSupport 25
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
37 #define mplDSCodecNotFound 26
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
38 #define mplCantInitVideoDriver 27
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
39 #define mplIncAudioBufferDelay 28
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
40 #define mplDecAudioBufferDelay 29
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
41
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
42 #define SIGTYPE _NSIG - 1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
43
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
44 extern int gtkIsOk;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
45
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
46 extern pid_t mplMPlayerPID;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
47 extern pid_t mplParentPID;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
48
1741
b60319205152 fix sinal handling
pontscho
parents: 1693
diff changeset
49 extern pid_t gtkPID;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
50
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
51 extern void gtkSigHandler( int s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
52 extern void mplPlayerSigHandler( int s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
53 extern void mplMainSigHandler( int s );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
54
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
55 extern void mplSendMessage( int msg );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
56 extern void gtkSendMessage( int msg );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
57
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
58 extern void mplErrorHandler( int critical,const char * format, ... );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
59
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
60 #endif