| Conglomerate Programmer's Reference Manual |
|---|
CongDispspecRegistry —
CongDispspecRegistry* cong_dispspec_registry_new (const gchar *xds_directory, GtkWindow *toplevel_window); void cong_dispspec_registry_add_dir (CongDispspecRegistry *registry, const gchar *xds_directory, GtkWindow *toplevel_window, gboolean raise_errs); void cong_dispspec_registry_free (CongDispspecRegistry *registry); CongDispspec* cong_dispspec_registry_get (CongDispspecRegistry *registry, unsigned int i); void cong_dispspec_registry_add (CongDispspecRegistry *registry, CongDispspec *ds); void cong_dispspec_registry_dump (CongDispspecRegistry *registry); CongDispspec* cong_dispspec_registry_get_appropriate_dispspec (CongDispspecRegistry *registry, xmlDocPtr doc, const gchar *filename_extension);
CongDispspecRegistry* cong_dispspec_registry_new
(const gchar *xds_directory,
GtkWindow *toplevel_window);TODO: Write me
| xds_directory : | |
| toplevel_window : | |
| Returns : |
void cong_dispspec_registry_add_dir (CongDispspecRegistry *registry,
const gchar *xds_directory,
GtkWindow *toplevel_window,
gboolean raise_errs);TODO: Write me
| registry : | |
| xds_directory : | |
| toplevel_window : | |
| raise_errs : |
void cong_dispspec_registry_free (CongDispspecRegistry *registry);
This function is currently just a false assertion
| registry : |
CongDispspec* cong_dispspec_registry_get (CongDispspecRegistry *registry,
unsigned int i);TODO: Write me
| registry : | |
| i : | |
| Returns : |
void cong_dispspec_registry_add (CongDispspecRegistry *registry,
CongDispspec *ds);TODO: Write me
| registry : | |
| ds : |
void cong_dispspec_registry_dump (CongDispspecRegistry *registry);
TODO: Write me
| registry : |
CongDispspec* cong_dispspec_registry_get_appropriate_dispspec
(CongDispspecRegistry *registry,
xmlDocPtr doc,
const gchar *filename_extension);Routine to figure out an appropriate default dispspec for use with this file. Looks for a DTD; if found, it looks up the DTD in a mapping. If this fails, it looks at the top-level tag and makes a guess, but asks the user for confirmation. If this fails, it asks the user.
| registry : | |
| doc : | |
| filename_extension : | |
| Returns : | The appropriate dispspec for use with the file. |
| << CongDispspecElement | DTD Handling >> |