File: bonobo-ui-sync-status.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 (46 lines) | stat: -rw-r--r-- 1,400 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * bonobo-ui-sync-status.h: The Bonobo UI/XML sync engine for statuss
 *
 * Author:
 *	Michael Meeks (michael@helixcode.com)
 *
 * Copyright 2000 Helix Code, Inc.
 */

#ifndef _BONOBO_UI_SYNC_STATUS_H_
#define _BONOBO_UI_SYNC_STATUS_H_

#include <gtk/gtkstatusbar.h>

#include <bonobo/bonobo-ui-sync.h>

BEGIN_GNOME_DECLS

#define BONOBO_TYPE_UI_SYNC_STATUS            (bonobo_ui_sync_status_get_type ())
#define BONOBO_UI_SYNC_STATUS(obj)            (GTK_CHECK_CAST ((obj), BONOBO_TYPE_UI_SYNC_STATUS, BonoboUISyncStatus))
#define BONOBO_UI_SYNC_STATUS_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), BONOBO_TYPE_UI_SYNC_STATUS, BonoboUISyncStatusClass))
#define BONOBO_IS_UI_SYNC_STATUS(obj)         (GTK_CHECK_TYPE ((obj), BONOBO_TYPE_UI_SYNC_STATUS))
#define BONOBO_IS_UI_SYNC_STATUS_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), BONOBO_TYPE_UI_SYNC_STATUS))

typedef struct _BonoboUISyncStatusPrivate BonoboUISyncStatusPrivate;

typedef struct {
	BonoboUISync parent;

	GtkBox       *status;
	GtkStatusbar *main_status;

	BonoboUISyncStatusPrivate *priv;
} BonoboUISyncStatus;

typedef struct {
	BonoboUISyncClass parent_class;
} BonoboUISyncStatusClass;

BonoboUISync *bonobo_ui_sync_status_new      (BonoboUIEngine *engine,
					      GtkBox         *status);

END_GNOME_DECLS

#endif /* _BONOBO_UI_SYNC_STATUS_H_ */