From 96644ef5c68b652b59c90caf246645d70a75fc3b Mon Sep 17 00:00:00 2001 From: Adam Hooper Date: Wed, 7 Apr 2004 20:14:20 +0000 Subject: Added forgotten EphyNodeDb documentation --- ChangeLog | 6 ++ doc/reference/tmpl/ephy-node-db.sgml | 131 +++++++++++++++++++++++++++++++++++ 2 files changed, 137 insertions(+) create mode 100644 doc/reference/tmpl/ephy-node-db.sgml diff --git a/ChangeLog b/ChangeLog index d039f74cc..0ba038ece 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-07 Adam Hooper + + * doc/reference/tmpl/ephy-node-db.sgml: + + remembered to commit this file with my EphyNodeDb documentation. + 2004-04-07 Christian Biesinger * embed/mozilla/ExternalProtocolHandlers.cpp: diff --git a/doc/reference/tmpl/ephy-node-db.sgml b/doc/reference/tmpl/ephy-node-db.sgml new file mode 100644 index 000000000..ff753f80f --- /dev/null +++ b/doc/reference/tmpl/ephy-node-db.sgml @@ -0,0 +1,131 @@ + +EphyNodeDb + + +Data tree + + + +An #EphyNodeDb is a database for arbitrary data organized in a tree. + + +Each database is stored along with its name in a global set of databases. +Databases can be created using ephy_node_db_new() and retrieved using +ephy_node_db_get_by_name(). + + +Each #EphyNode inside an #EphyNodeDb is identified by a unique node ID. By +keeping a handle on the ID, one can use ephy_node_db_get_node_from_id() to +retrieve its corresponding #EphyNode. + + +#EphyNodeDbs can be saved to disk using ephy_node_db_write_to_xml_safe() +and restored using ephy_node_db_load_from_file(). + + + + + + + + + + + + + + + + + + +@name: +@Returns: + + + + + + + +@name: +@Returns: + + + + + + + +@db: +@xml_file: +@xml_root: +@xml_version: +@Returns: + + + + + + + +@db: +@filename: +@root: +@version: +@comment: +@node: +@Varargs: +@Returns: + + + + + + + +@db: +@Returns: + + + + + + + +@db: +@Returns: + + + + + + + +@db: +@immutable: + + + + + + + +@db: +@id: +@Returns: + +@Param2: + + + + +%TRUE if no #EphyNodes can be added, removed or modified from this +#EphyNodeDb + + + + +A string identifier unique to this #EphyNodeDb + + -- cgit v1.2.3