bonobo-moniker-simple

bonobo-moniker-simple

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── BonoboObject
        ╰── BonoboMoniker
            ╰── BonoboMonikerSimple

Description

Functions

BonoboMonikerSimpleResolveFn ()

Bonobo_Unknown
(*BonoboMonikerSimpleResolveFn) (BonoboMoniker *moniker,
                                 const Bonobo_ResolveOptions *options,
                                 const CORBA_char *requested_interface,
                                 CORBA_Environment *ev);

bonobo_moniker_simple_construct ()

BonoboMoniker *
bonobo_moniker_simple_construct (BonoboMonikerSimple *moniker,
                                 const char *name,
                                 GClosure *resolve_closure);

Constructs a simple moniker

Parameters

moniker

the moniker to construct

 

name

the name of the moniker eg. 'file:'

 

resolve_closure

the closure used to resolve the moniker

 

Returns

the constructed moniker or NULL on failure.


bonobo_moniker_simple_new ()

BonoboMoniker *
bonobo_moniker_simple_new (const char *name,
                           BonoboMonikerSimpleResolveFn resolve_fn);

Create a new instance of a simplified moniker.

Parameters

name

the display name for the moniker

 

resolve_fn

a resolve function for the moniker

 

Returns

the moniker object


bonobo_moniker_simple_new_closure ()

BonoboMoniker *
bonobo_moniker_simple_new_closure (const char *name,
                                   GClosure *resolve_closure);

Create a new instance of a simplified moniker.

Instead of the Bonobo_ResolveOptions struct, the closure takes its contents as two arguments: BONOBO_TYPE_RESOLVE_FLAG and G_TYPE_LONG.

Parameters

name

the display name for the moniker

 

resolve_closure

a closure for the resolve process.

 

Returns

the moniker object

Types and Values

struct BonoboMonikerSimple

struct BonoboMonikerSimple;

BonoboMonikerSimpleClass

typedef struct {
	BonoboMonikerClass parent_class;
} BonoboMonikerSimpleClass;