File: bonobo-context.h

package info (click to toggle)
bonobo 1.0.22-2.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 13,412 kB
  • ctags: 5,445
  • sloc: ansic: 51,714; sh: 7,733; makefile: 1,425; yacc: 318; xml: 266; sed: 16
file content (27 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/**
 * bonobo-context.h: Handle Global Component contexts.
 *
 * Author:
 *     Michael Meeks (michael@helixcode.com)
 *
 * Copyright 2000 Helix Code, Inc.
 */
#ifndef _BONOBO_CONTEXT_H_
#define _BONOBO_CONTEXT_H_

#include <bonobo/bonobo-object.h>

Bonobo_Unknown bonobo_context_get (const CORBA_char  *context_name,
				   CORBA_Environment *opt_ev);

void           bonobo_context_add (const CORBA_char  *context_name,
				   Bonobo_Unknown     context);

BonoboObject  *bonobo_context_running_get (void);
void           bonobo_running_context_auto_exit_unref (BonoboObject *object);

void           bonobo_context_init        (void);
void           bonobo_context_shutdown    (void);

#endif /* _BONOBO_CONTEXT_H_ */