blob: fc00b7b4234866fe7a71d7ea1448624337572a56 (
plain) (
blame)
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
47
48
49
50
|
/*
* Copyright 2000, Ximian, Inc.
*/
#include <bonobo/bonobo-object.h>
#include <libgnome/gnome-defs.h>
#include <pas/pas-backend.h>
#ifndef __PAS_BOOK_FACTORY_H__
#define __PAS_BOOK_FACTORY_H__
BEGIN_GNOME_DECLS
typedef struct _PASBookFactoryPrivate PASBookFactoryPrivate;
typedef struct {
BonoboObject parent_object;
PASBookFactoryPrivate *priv;
} PASBookFactory;
typedef struct {
BonoboObjectClass parent_class;
/* Notification signals */
void (* last_book_gone) (PASBookFactory *factory);
} PASBookFactoryClass;
PASBookFactory *pas_book_factory_new (void);
void pas_book_factory_register_backend (PASBookFactory *factory,
const char *proto,
PASBackendFactoryFn backend_factory);
int pas_book_factory_get_n_backends (PASBookFactory *factory);
gboolean pas_book_factory_activate (PASBookFactory *factory);
GtkType pas_book_factory_get_type (void);
#define PAS_BOOK_FACTORY_TYPE (pas_book_factory_get_type ())
#define PAS_BOOK_FACTORY(o) (GTK_CHECK_CAST ((o), PAS_BOOK_FACTORY_TYPE, PASBookFactory))
#define PAS_BOOK_FACTORY_CLASS(k) (GTK_CHECK_CLASS_CAST((k), PAS_BOOK_FACTORY_TYPE, PASBookFactoryClass))
#define PAS_IS_BOOK_FACTORY(o) (GTK_CHECK_TYPE ((o), PAS_BOOK_FACTORY_TYPE))
#define PAS_IS_BOOK_FACTORY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), PAS_BOOK_FACTORY_TYPE))
END_GNOME_DECLS
#endif /* ! __PAS_BOOK_FACTORY_H__ */
|