aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-factory.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-22 22:28:15 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-22 22:28:15 +0800
commitc835d9f34b984d00708ca7a61bddeb4ce98ca9e7 (patch)
tree843a74f8eed67131039b5143ffd839db9cf156f5 /embed/ephy-embed-factory.c
parentdaa7ef352dea475a96aa1c7534b8a874521312fd (diff)
downloadgsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.tar
gsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.tar.gz
gsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.tar.bz2
gsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.tar.lz
gsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.tar.xz
gsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.tar.zst
gsoc2013-epiphany-c835d9f34b984d00708ca7a61bddeb4ce98ca9e7.zip
Add a tip on how to clean docs.
2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference-howto.txt: Add a tip on how to clean docs. * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/ephy-cookie-manager.sgml: * doc/reference/tmpl/ephy-embed-factory.sgml: * doc/reference/tmpl/ephy-embed-single.sgml: * doc/reference/tmpl/ephy-password-manager.sgml: * doc/reference/tmpl/ephy-permission-manager.sgml: Add some files chpe documented to the build. * embed/ephy-embed-factory.c: Document
Diffstat (limited to 'embed/ephy-embed-factory.c')
-rw-r--r--embed/ephy-embed-factory.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/embed/ephy-embed-factory.c b/embed/ephy-embed-factory.c
index 74dfd4853..4c527234f 100644
--- a/embed/ephy-embed-factory.c
+++ b/embed/ephy-embed-factory.c
@@ -56,6 +56,20 @@ type_from_id (const char *object_id)
return result;
}
+/**
+ * ephy_embed_factory_new_object:
+ * @object_id: identifier of the object to create
+ *
+ * Create an instance of the object identified by
+ * object_id string. Valid ids are EphyEmbed, EphyEmbedPersist,
+ * EphyEmbedSingle.
+ * We use a factory instead of creating instances directly
+ * to keep the embed implementation abstract. All the embed
+ * objects should be based on an interface and created by
+ * this factory.
+ *
+ * Return value: the object instance
+ **/
GObject *
ephy_embed_factory_new_object (const char *object_id)
{