aboutsummaryrefslogtreecommitdiffstats
path: root/widget_gpo.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget_gpo.h')
-rw-r--r--widget_gpo.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/widget_gpo.h b/widget_gpo.h
index cc93f84..ca4c068 100644
--- a/widget_gpo.h
+++ b/widget_gpo.h
@@ -1,9 +1,10 @@
-/* $Id: widget_gpo.h,v 1.1 2005/12/18 16:18:36 reinelt Exp $
+/* $Id: widget_gpo.h 751 2007-01-20 13:52:43Z michael $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/widget_gpo.h $
*
* GPO widget handling
*
* Copyright (C) 2005 Michael Reinelt <reinelt@eunet.at>
- * Copyright (C) 2005 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
+ * Copyright (C) 2005, 2006, 2007 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
*
* This file is part of LCD4Linux.
*
@@ -21,23 +22,17 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- *
- * $Log: widget_gpo.h,v $
- * Revision 1.1 2005/12/18 16:18:36 reinelt
- * GPO's added again
- *
*/
#ifndef _WIDGET_GPO_H_
#define _WIDGET_GPO_H_
+#include "property.h"
+
typedef struct WIDGET_GPO {
- char *expression; /* expression that delivers the value */
- void *tree; /* pre-compiled expression that delivers the value */
- int update; /* update interval (msec) */
- int num; /* GPO number */
- int val; /* GPO value */
+ PROPERTY expression; /* main GPO expression */
+ PROPERTY update; /* update interval (msec) */
} WIDGET_GPO;