[AdgModel] Added "reset" signal
commit1ffa27ff0ee1259b9c6efeba5728f2362441c5cd
authorNicola Fontana <ntd@entidi.it>
Fri, 2 Jul 2010 20:37:15 +0000 (2 22:37 +0200)
committerNicola Fontana <ntd@entidi.it>
Fri, 2 Jul 2010 20:39:17 +0000 (2 22:39 +0200)
treea26d6be3bdd04ff67156884af362cd5663360c70
parenta09920ae91aff0fcd43217b82ea87cab8c31693f
[AdgModel] Added "reset" signal

New signal to reset the model to the initial state. Actually, it
basically removes all the named pairs. Now it is possible to redefine
the model with optional parts: the named pairs are cleared, hence the
eventual entities bound to those pairs are not rendered.

The issue #44 is basically resolved with this commit but will be closed
as soon as the optional rendering of parts will be included in the demo.
src/adg/adg-model.c
src/adg/adg-model.h