blob: 98e2d415fc7b2fa61f63c8e7b829039bde9605ba (
plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/*
* Copyright (C) 2007 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
* Copyright (C) 2006, 2007 OpenedHand Ltd.
*
* Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
* Jorn Baayen <jorn@openedhand.com>
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef GUPNP_RESOURCE_FACTORY_H
#define GUPNP_RESOURCE_FACTORY_H
#include <glib-object.h>
G_BEGIN_DECLS
#define GUPNP_TYPE_RESOURCE_FACTORY \
(gupnp_resource_factory_get_type ())
G_DECLARE_DERIVABLE_TYPE (GUPnPResourceFactory,
gupnp_resource_factory,
GUPNP,
RESOURCE_FACTORY,
GObject)
struct _GUPnPResourceFactoryClass {
GObjectClass parent_class;
/* future padding */
void (* _gupnp_reserved1) (void);
void (* _gupnp_reserved2) (void);
void (* _gupnp_reserved3) (void);
void (* _gupnp_reserved4) (void);
};
GUPnPResourceFactory *
gupnp_resource_factory_new (void);
GUPnPResourceFactory *
gupnp_resource_factory_get_default (void);
void
gupnp_resource_factory_register_resource_type
(GUPnPResourceFactory *factory,
const char *upnp_type,
GType type);
gboolean
gupnp_resource_factory_unregister_resource_type
(GUPnPResourceFactory *factory,
const char *upnp_type);
void
gupnp_resource_factory_register_resource_proxy_type
(GUPnPResourceFactory *factory,
const char *upnp_type,
GType type);
gboolean
gupnp_resource_factory_unregister_resource_proxy_type
(GUPnPResourceFactory *factory,
const char *upnp_type);
G_END_DECLS
#endif /* GUPNP_RESOURCE_FACTORY_H */
|