aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-01 12:16:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-01 12:16:26 +0800
commite0862e69a791b6eae6b35e6d93c28fdd2c92eee1 (patch)
tree9c14527b5d17ccc489a9edbd22b0cae2807d05b4 /shell/e-component-registry.h
parentb90fd7e8a1ed8939be514ce998f2e95b0f42bd9f (diff)
downloadgsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.tar
gsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.tar.gz
gsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.tar.bz2
gsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.tar.lz
gsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.tar.xz
gsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.tar.zst
gsoc2013-evolution-e0862e69a791b6eae6b35e6d93c28fdd2c92eee1.zip
** See #58827.
2004-05-27 Not Zed <NotZed@Ximian.com> ** See #58827. * e-shell-window.c (switch_view): api change * e-shell.c (impl_Shell_handleURI): Fixed for api change. (impl_Shell_handleURI): check the component alias for an alternate uri schema path. 'quick hack' for activating components from command line. This may, or may not, continue to function. * e-component-registry.c (e_component_registry_peek_info): added an id for search type. (e_component_registry_peek_info_for_uri_schema): ^ makes this redundant, removed. (e_component_registry_activate): fixed for api change. svn path=/trunk/; revision=26137
Diffstat (limited to 'shell/e-component-registry.h')
-rw-r--r--shell/e-component-registry.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h
index 470fee289d..f4ba0df912 100644
--- a/shell/e-component-registry.h
+++ b/shell/e-component-registry.h
@@ -57,6 +57,11 @@ struct _EComponentRegistryClass {
GObjectClass parent_class;
};
+enum _EComponentRegistryField {
+ ECR_FIELD_ID,
+ ECR_FIELD_ALIAS,
+ ECR_FIELD_SCHEMA,
+};
struct _EComponentInfo {
char *id;
@@ -85,10 +90,8 @@ EComponentRegistry *e_component_registry_new (void);
GSList *e_component_registry_peek_list (EComponentRegistry *registry);
EComponentInfo *e_component_registry_peek_info (EComponentRegistry *registry,
- const char *id);
-
-EComponentInfo *e_component_registry_peek_info_for_uri_schema (EComponentRegistry *registry,
- const char *schema);
+ enum _EComponentRegistryField type,
+ const char *key);
GNOME_Evolution_Component e_component_registry_activate (EComponentRegistry *registry,
const char *id,