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