source: trunk/third/bonobo/bonobo/bonobo-moniker-simple.h @ 16750

Revision 16750, 1.9 KB checked in by ghudson, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16749, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*
3 * bonobo-moniker-simple: Simplified object naming abstraction
4 *
5 * Author:
6 *      Michael Meeks (michael@helixcode.com)
7 *
8 * Copyright 2000, Helix Code, Inc.
9 */
10#ifndef _BONOBO_MONIKER_SIMPLE_SIMPLE_H_
11#define _BONOBO_MONIKER_SIMPLE_SIMPLE_H_
12
13#include <bonobo/bonobo-moniker.h>
14
15BEGIN_GNOME_DECLS
16
17#define BONOBO_MONIKER_SIMPLE_TYPE        (bonobo_moniker_simple_get_type ())
18#define BONOBO_MONIKER_SIMPLE(o)          (GTK_CHECK_CAST ((o), BONOBO_MONIKER_SIMPLE_TYPE, BonoboMonikerSimple))
19#define BONOBO_MONIKER_SIMPLE_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), BONOBO_MONIKER_SIMPLE_TYPE, BonoboMonikerSimpleClass))
20#define BONOBO_IS_MONIKER_SIMPLE(o)       (GTK_CHECK_TYPE ((o), BONOBO_MONIKER_SIMPLE_TYPE))
21#define BONOBO_IS_MONIKER_SIMPLE_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), BONOBO_MONIKER_SIMPLE_TYPE))
22
23typedef struct _BonoboMonikerSimple        BonoboMonikerSimple;
24typedef struct _BonoboMonikerSimplePrivate BonoboMonikerSimplePrivate;
25
26typedef Bonobo_Unknown (*BonoboMonikerSimpleResolveFn) (BonoboMoniker               *moniker,
27                                                        const Bonobo_ResolveOptions *options,
28                                                        const CORBA_char            *requested_interface,
29                                                        CORBA_Environment           *ev);
30
31
32struct _BonoboMonikerSimple {
33        BonoboMoniker                moniker;
34        BonoboMonikerSimpleResolveFn resolve_fn;
35        BonoboMonikerSimplePrivate  *priv;
36};
37
38typedef struct {
39        BonoboMonikerClass parent_class;
40} BonoboMonikerSimpleClass;
41
42GtkType        bonobo_moniker_simple_get_type  (void);
43
44BonoboMoniker *bonobo_moniker_simple_construct (BonoboMonikerSimple         *moniker,
45                                                const char                  *name,
46                                                BonoboMonikerSimpleResolveFn resolve_fn);
47
48BonoboMoniker *bonobo_moniker_simple_new       (const char                  *name,
49                                                BonoboMonikerSimpleResolveFn resolve_fn);
50
51
52END_GNOME_DECLS
53
54#endif /* _BONOBO_MONIKER_SIMPLE_H_ */
55
Note: See TracBrowser for help on using the repository browser.