BonoboItemContainer

BonoboItemContainer

Name

BonoboItemContainer -- this implements a simple container interface for compound document containers

Description

This implementation is mostly deprecated, see BonoboItemHandler

Details

BONOBO_ITEM_CONTAINER_TYPE

#define BONOBO_ITEM_CONTAINER_TYPE        BONOBO_TYPE_ITEM_CONTAINER /* deprecated, you should use BONOBO_TYPE_ITEM_CONTAINER */


BonoboClientSiteList

typedef GList BonoboClientSiteList;


struct BonoboItemContainerPrivate

struct BonoboItemContainerPrivate;


BonoboItemContainer

typedef struct {
BonoboObject base;

BonoboItemContainerPrivate *priv;
} BonoboItemContainer;


BonoboItemContainerClass

typedef struct {
BonoboObjectClass parent_class;

POA_Bonobo_ItemContainer__epv epv;

Bonobo_Unknown (*get_object) (BonoboItemContainer *item_container,
      CORBA_char          *item_name,
      CORBA_boolean        only_if_exists,
      CORBA_Environment   *ev);
} BonoboItemContainerClass;


bonobo_item_container_new ()

BonoboItemContainer* bonobo_item_container_new
                                            (void);

Creates a new BonoboItemContainer object. These are used to hold client sites.


bonobo_item_container_add ()

void        bonobo_item_container_add       (BonoboItemContainer *container,
                                             const char *name,
                                             BonoboObject *object);

Adds the object to the list of objects managed by this container


bonobo_item_container_remove_by_name ()

void        bonobo_item_container_remove_by_name
                                            (BonoboItemContainer *container,
                                             const char *name);

Removes the named object from the container