aboutsummaryrefslogtreecommitdiffstats
path: root/widget_gpo.h
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-17 06:17:44 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-17 06:17:44 +0000
commit12b56cb623711a3a8e1772b25c54be7a01ec915d (patch)
treeb810345595c461b788df76ca8c56f782b9bc55ab /widget_gpo.h
parent4047264052093777b4f9dd7cd6fdc09aba812383 (diff)
downloadlcd4linux-12b56cb623711a3a8e1772b25c54be7a01ec915d.tar.gz
dynamic properties for GPO's
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@743 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_gpo.h')
-rw-r--r--widget_gpo.h11
1 files changed, 7 insertions, 4 deletions
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 <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.
*
@@ -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;