1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                ICEVENTS.H                                 */
4 /*                                                                           */
5 /* (C) 1996     Ullrich von Bassewitz                                        */
6 /*              Wacholderweg 14                                              */
7 /*              D-70597 Stuttgart                                            */
8 /* EMail:       uz@ibb.schwaben.com                                          */
9 /*                                                                           */
10 /*****************************************************************************/
11 
12 
13 
14 // $Id$
15 //
16 // $Log$
17 //
18 //
19 
20 
21 
22 // ESTIC event codes
23 
24 
25 
26 #ifndef _ICEVENTS_H
27 #define _ICEVENTS_H
28 
29 
30 
31 #include "eventid.h"
32 
33 
34 
35 /*****************************************************************************/
36 /*                                Event codes                                */
37 /*****************************************************************************/
38 
39 
40 
41 // Charges have changed
42 const unsigned evChargeUpdate           = evUser + 1;
43 
44 // A matrix row has changed. Info.P is a pointer to the DevStateInfo entry
45 const unsigned evMatrixChange           = evUser + 2;
46 
47 // Log message for call. Info.O is a pointer to a string containing the message
48 const unsigned evCallLogMsg             = evUser + 3;
49 
50 // Call complete. Info.O is a pointer to a DevStateInfo object containing the
51 // call data.
52 const unsigned evCallComplete           = evUser + 4;
53 
54 // Ring a phone. The U parameter is the device plus 256 times the duration
55 // in seconds.
56 const unsigned evForcedRing             = evUser + 5;
57 
58 // Incoming call. Info.O points to a CLI object.
59 const unsigned evIncomingCall           = evUser + 6;
60 
61 // Log message for incoming call, Info.O points to a string containing the log
62 // message
63 const unsigned evIncomingLogMsg         = evUser + 7;
64 
65 // CRON daemon has switched the active configuration. Info.U contains the new
66 // DayNight setting
67 const unsigned evDayNightChange         = evUser + 8;
68 
69 
70 // Changes for some windows. Info.U contains the window count
71 const unsigned evMatrixWinChange        = evUser + 10;
72 const unsigned evCallWinChange          = evUser + 11;
73 const unsigned evChargeWinChange        = evUser + 12;
74 const unsigned evIMonWinChange          = evUser + 13;
75 const unsigned evCLIWinChange           = evUser + 14;
76 
77 
78 
79 // End of ICEVENTS.H
80 
81 #endif
82 
83 
84