File: foo-some-interface.gob

package info (click to toggle)
gob2 2.0.20-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,616 kB
  • sloc: ansic: 5,189; yacc: 2,052; sh: 1,139; lex: 641; perl: 431; makefile: 70
file content (36 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (8)
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
28
29
30
31
32
33
34
35
36
/*
 * Example BonoboXObject class
 *
 * see GNOME_Foo_SomeInterface.idl
 */
requires 2.0.0

%{
/* some standard includes */
#include <gnome.h>
#include <bonobo.h>

/* this requires you to use orbit-idl on GNOME_Foo_SomeInterface.idl first */
#include "GNOME_Foo_SomeInterface.h"

#include "foo-some-interface.h"
#include "foo-some-interface-private.h"
%}

class Foo:Some:Interface from Bonobo:Object
	(BonoboObject GNOME_Foo_SomeInterface)
{

	BonoboObject
	private void
	fooBar (PortableServer_Servant servant,
	        const CORBA_char *string,
	        CORBA_Environment *ev)
	{
		Self *self = SELF (bonobo_object_from_servant (servant));

		/* your code here */
	}

	/* rest of class */
}