source: trunk/third/bonobo/bonobo/bonobo-ui-container.h @ 15579

Revision 15579, 2.0 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15578, 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-ui-container.h: The server side CORBA impl. for BonoboWindow.
4 *
5 * Author:
6 *      Michael Meeks (michael@helixcode.com)
7 *
8 * Copyright 2000 Helix Code, Inc.
9 */
10#ifndef _BONOBO_UI_CONTAINER_H_
11#define _BONOBO_UI_CONTAINER_H_
12
13#include <bonobo/bonobo-win.h>
14#include <bonobo/bonobo-xobject.h>
15
16#define BONOBO_UI_CONTAINER_TYPE        (bonobo_ui_container_get_type ())
17#define BONOBO_UI_CONTAINER(o)          (GTK_CHECK_CAST ((o), BONOBO_UI_CONTAINER_TYPE, BonoboUIContainer))
18#define BONOBO_UI_CONTAINER_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), BONOBO_UI_CONTAINER_TYPE, BonoboUIContainerClass))
19#define BONOBO_IS_UI_CONTAINER(o)       (GTK_CHECK_TYPE ((o), BONOBO_UI_CONTAINER_TYPE))
20#define BONOBO_IS_UI_CONTAINER_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), BONOBO_UI_CONTAINER_TYPE))
21
22typedef struct _BonoboUIContainerPrivate BonoboUIContainerPrivate;
23
24typedef struct {
25        BonoboXObject base;
26
27        BonoboUIContainerPrivate *priv;
28
29        /* For backwards compatibility, strongly deprecated */
30        BonoboWindow *win;
31} BonoboUIContainer;
32
33typedef struct {
34        BonoboXObjectClass parent;
35
36        POA_Bonobo_UIContainer__epv epv;
37} BonoboUIContainerClass;
38
39GtkType                      bonobo_ui_container_get_type            (void);
40BonoboUIContainer           *bonobo_ui_container_construct           (BonoboUIContainer  *container,
41                                                                      Bonobo_UIContainer  corba_container);
42
43BonoboUIContainer           *bonobo_ui_container_new                 (void);
44
45void                         bonobo_ui_container_set_engine          (BonoboUIContainer  *container,
46                                                                      BonoboUIEngine     *engine);
47BonoboUIEngine              *bonobo_ui_container_get_engine          (BonoboUIContainer  *container);
48
49void                         bonobo_ui_container_set_win             (BonoboUIContainer  *container,
50                                                                      BonoboWindow       *win);
51/* Deprecated */
52BonoboWindow                *bonobo_ui_container_get_win             (BonoboUIContainer  *container);
53
54#endif /* _BONOBO_UI_CONTAINER_H_ */
Note: See TracBrowser for help on using the repository browser.