From 12b56cb623711a3a8e1772b25c54be7a01ec915d Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 17 Jan 2007 06:17:44 +0000 Subject: dynamic properties for GPO's git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@743 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- widget_gpo.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'widget_gpo.h') diff --git a/widget_gpo.h b/widget_gpo.h index 4e4b128..d263c47 100644 --- a/widget_gpo.h +++ b/widget_gpo.h @@ -4,7 +4,7 @@ * GPO widget handling * * Copyright (C) 2005 Michael Reinelt - * Copyright (C) 2005 The LCD4Linux Team + * Copyright (C) 2005, 2006, 2007 The LCD4Linux Team * * This file is part of LCD4Linux. * @@ -28,10 +28,13 @@ #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) */ + PROPERTY expression; /* main GPO expression */ + PROPERTY update; /* update interval (msec) */ int num; /* GPO number */ int val; /* GPO value */ } WIDGET_GPO; -- cgit v1.2.3