dtag.h

Go to the documentation of this file.
00001 
00042 /*#*
00043  *#* $Log$
00044  *#* Revision 1.2  2006/07/19 12:56:26  bernie
00045  *#* Convert to new Doxygen style.
00046  *#*
00047  *#* Revision 1.1  2005/11/04 18:26:38  bernie
00048  *#* Import into DevLib.
00049  *#*
00050  *#* Revision 1.8  2005/06/07 15:22:29  batt
00051  *#* Add const_dval_t.
00052  *#*
00053  *#* Revision 1.7  2005/06/06 17:42:23  batt
00054  *#* Add error tag TAG_ERROR.
00055  *#*
00056  *#* Revision 1.6  2005/06/06 12:45:33  batt
00057  *#* Add TAG_NONE tag.
00058  *#*
00059  *#* Revision 1.5  2005/06/06 11:04:12  batt
00060  *#* Add some comments.
00061  *#*
00062  *#* Revision 1.4  2005/05/31 11:09:52  batt
00063  *#* Add some tags.
00064  *#*
00065  *#* Revision 1.3  2005/05/26 14:55:12  batt
00066  *#* Add form_processTime; change form_kbdProcess to form_processKey.
00067  *#*
00068  *#* Revision 1.2  2005/05/26 14:43:33  batt
00069  *#* Add new message filter interface.
00070  *#*
00071  *#* Revision 1.1  2005/05/26 08:32:53  batt
00072  *#* Add new Develer widget system :)
00073  *#*
00074  *#*/
00075 
00076 #ifndef DT_DTAG_H
00077 #define DT_DTAG_H
00078 
00079 #include <cfg/macros.h>
00080 
00082 typedef iptr_t dval_t;
00083 
00085 typedef const_iptr_t const_dval_t;
00086 
00088 typedef enum dtag_t
00089 {
00090     TAG_END = 0,
00091     TAG_NONE,
00092     TAG_ANY,
00093     TAG_SETVALUE,
00094     TAG_UP,
00095     TAG_DOWN,
00096     TAG_START,
00097     TAG_STOP,
00098     TAG_TOGGLE,
00099     TAG_KEY,
00100     TAG_TIME,
00101     TAG_ERROR,
00102 } dtag_t;
00103 
00105 typedef struct DTagItem
00106 {
00107     dtag_t tag;
00108     dval_t val;
00109 } DTagItem;
00110 
00112 #define TAG_END_MARKER {{TAG_END, 0}, {TAG_END, 0}}
00113 #endif