aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.h
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2006-05-23 04:40:51 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2006-05-23 04:40:51 +0800
commit50c28923803300d68df2529c44d482066f072346 (patch)
tree911630acbff9ec97af0289b2693041805f31ea30 /lib/ephy-node.h
parentf603ea80caff9dc9e9e2a7f4193c11091b350f94 (diff)
downloadgsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.tar
gsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.tar.gz
gsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.tar.bz2
gsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.tar.lz
gsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.tar.xz
gsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.tar.zst
gsoc2013-epiphany-50c28923803300d68df2529c44d482066f072346.zip
Add methods to EphyNode to set typed properties. This change improves the
2006-05-16 Jean-François Rameau <jframeau@cvs.gnome.org> * lib/ephy-node.h: * lib/ephy-node.c: * src/epiphany.defs: Add methods to EphyNode to set typed properties. This change improves the Python API so it should be easy now to play with bookmarks. Also clean up the code with unnecessary checks.
Diffstat (limited to 'lib/ephy-node.h')
-rw-r--r--lib/ephy-node.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/ephy-node.h b/lib/ephy-node.h
index f4e0b0411..ec87315f9 100644
--- a/lib/ephy-node.h
+++ b/lib/ephy-node.h
@@ -89,16 +89,34 @@ gboolean ephy_node_get_property (EphyNode *node,
const char *ephy_node_get_property_string (EphyNode *node,
guint property_id);
+void ephy_node_set_property_string (EphyNode *node,
+ guint property_id,
+ const char *value);
gboolean ephy_node_get_property_boolean (EphyNode *node,
guint property_id);
+void ephy_node_set_property_boolean (EphyNode *node,
+ guint property_id,
+ gboolean value);
long ephy_node_get_property_long (EphyNode *node,
guint property_id);
+void ephy_node_set_property_long (EphyNode *node,
+ guint property_id,
+ long value);
int ephy_node_get_property_int (EphyNode *node,
guint property_id);
+void ephy_node_set_property_int (EphyNode *node,
+ guint property_id,
+ int value);
double ephy_node_get_property_double (EphyNode *node,
guint property_id);
+void ephy_node_set_property_double (EphyNode *node,
+ guint property_id,
+ double value);
float ephy_node_get_property_float (EphyNode *node,
guint property_id);
+void ephy_node_set_property_float (EphyNode *node,
+ guint property_id,
+ float value);
EphyNode *ephy_node_get_property_node (EphyNode *node,
guint property_id);