summaryrefslogtreecommitdiff
path: root/libgupnp/gupnp-root-device.h
diff options
context:
space:
mode:
authorJorn Baayen <jorn@openedhand.com>2007-10-09 19:17:59 +0000
committerJorn Baayen <jorn@openedhand.com>2007-10-09 19:17:59 +0000
commit34725eefb94febbd62310658e164b2d01ff9c3aa (patch)
tree3defd58b34c0942d3d51e4f8edf03566dc465c73 /libgupnp/gupnp-root-device.h
parent47a20237383b80ff843259d496f90bab3c9b74a1 (diff)
downloadgupnp-34725eefb94febbd62310658e164b2d01ff9c3aa.tar.gz
2007-10-09 Zeeshan Ali <zeenix@gstreamer.net>
Jorn Baayen <jorn@openedhand.com> * libgupnp/gupnp-resource-factory.c: * libgupnp/gupnp-resource-factory.h: - Instead of asking the users to subclass resource factory, provide an API to register GTypes for UPnP types. - Make the resource and resource proxy creation functions private. * libgupnp/gupnp-resource-factory-private.h: Make the resource and resource proxy creation functions private. * libgupnp/gupnp-control-point.c: * libgupnp/gupnp-root-device.c: - "resource-factory" prop can only be set at contruction time. - Make _new() a wrapper around_new_full(). - Provide getter for resource factory. - Fix a copy&paste mistake. * libgupnp/gupnp-control-point.h: * libgupnp/gupnp-root-device.h: Provide getter for resource factory. * libgupnp/gupnp-device.c: * libgupnp/gupnp-device.h: * libgupnp/gupnp-device-info.c: * libgupnp/gupnp-device-info.h: * libgupnp/gupnp-device-proxy.c: Move "resource-factory" prop to DeviceInfo class. * libgupnp/Makefile.am: Add gupnp-resource-factory-private.h to build. * doc/gupnp-sections.txt: - Add resource factory getter functions. - Add type assignment (un)registeration functions. - Remove the now private resource and resource proxy creation functions. git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@536 d8cb91d7-bff9-0310-92b9-80b65e4482b2
Diffstat (limited to 'libgupnp/gupnp-root-device.h')
-rw-r--r--libgupnp/gupnp-root-device.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/libgupnp/gupnp-root-device.h b/libgupnp/gupnp-root-device.h
index 85bc574..20fead4 100644
--- a/libgupnp/gupnp-root-device.h
+++ b/libgupnp/gupnp-root-device.h
@@ -73,24 +73,26 @@ typedef struct {
} GUPnPRootDeviceClass;
GUPnPRootDevice *
-gupnp_root_device_new (GUPnPContext *context,
- xmlDoc *description_doc,
- const char *relative_location);
+gupnp_root_device_new (GUPnPContext *context,
+ xmlDoc *description_doc,
+ const char *relative_location);
GUPnPRootDevice *
gupnp_root_device_new_full (GUPnPContext *context,
GUPnPResourceFactory *factory,
xmlDoc *description_doc,
const char *relative_location);
+
void
-gupnp_root_device_set_available (GUPnPRootDevice *root_device,
- gboolean available);
+gupnp_root_device_set_available (GUPnPRootDevice *root_device,
+ gboolean available);
gboolean
-gupnp_root_device_get_available (GUPnPRootDevice *root_device);
+gupnp_root_device_get_available (GUPnPRootDevice *root_device);
const char *
-gupnp_root_device_get_relative_location (GUPnPRootDevice *root_device);
+gupnp_root_device_get_relative_location
+ (GUPnPRootDevice *root_device);
G_END_DECLS