source: trunk/third/evolution/shell/e-uri-schema-registry.h @ 16787

Revision 16787, 2.5 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16786, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/* e-uri-schema-registry.h
3 *
4 * Copyright (C) 2001  Ximian, Inc.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Author: Ettore Perazzoli <ettore@ximian.com>
21 */
22
23#ifndef _E_URI_SCHEMA_REGISTRY_H_
24#define _E_URI_SCHEMA_REGISTRY_H_
25
26#include "evolution-shell-component-client.h"
27
28#include <gtk/gtkobject.h>
29
30#ifdef __cplusplus
31extern "C" {
32#pragma }
33#endif /* __cplusplus */
34
35#define E_TYPE_URI_SCHEMA_REGISTRY                      (e_uri_schema_registry_get_type ())
36#define E_URI_SCHEMA_REGISTRY(obj)                      (GTK_CHECK_CAST ((obj), E_TYPE_URI_SCHEMA_REGISTRY, EUriSchemaRegistry))
37#define E_URI_SCHEMA_REGISTRY_CLASS(klass)              (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_URI_SCHEMA_REGISTRY, EUriSchemaRegistryClass))
38#define E_IS_URI_SCHEMA_REGISTRY(obj)                   (GTK_CHECK_TYPE ((obj), E_TYPE_URI_SCHEMA_REGISTRY))
39#define E_IS_URI_SCHEMA_REGISTRY_CLASS(klass)           (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_URI_SCHEMA_REGISTRY))
40
41
42typedef struct _EUriSchemaRegistry        EUriSchemaRegistry;
43typedef struct _EUriSchemaRegistryPrivate EUriSchemaRegistryPrivate;
44typedef struct _EUriSchemaRegistryClass   EUriSchemaRegistryClass;
45
46struct _EUriSchemaRegistry {
47        GtkObject parent;
48
49        EUriSchemaRegistryPrivate *priv;
50};
51
52struct _EUriSchemaRegistryClass {
53        GtkObjectClass parent_class;
54};
55
56
57GtkType             e_uri_schema_registry_get_type  (void);
58EUriSchemaRegistry *e_uri_schema_registry_new       (void);
59
60void                           e_uri_schema_registry_set_handler_for_schema  (EUriSchemaRegistry            *registry,
61                                                                              const char                    *schema,
62                                                                              EvolutionShellComponentClient *shell_component);
63EvolutionShellComponentClient *e_uri_schema_registry_get_handler_for_schema  (EUriSchemaRegistry            *registry,
64                                                                              const char                    *schema);
65
66#ifdef __cplusplus
67}
68#endif /* __cplusplus */
69
70#endif /* _E_URI_SCHEMA_REGISTRY_H_ */
Note: See TracBrowser for help on using the repository browser.