|
Packit |
8563b2 |
/*
|
|
Packit |
8563b2 |
* Copyright (C) 2007 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
|
|
Packit |
8563b2 |
* Copyright (C) 2006, 2007 OpenedHand Ltd.
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* Author: Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
8563b2 |
* modify it under the terms of the GNU Library General Public
|
|
Packit |
8563b2 |
* License as published by the Free Software Foundation; either
|
|
Packit |
8563b2 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
8563b2 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
8563b2 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
8563b2 |
* Library General Public License for more details.
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* You should have received a copy of the GNU Library General Public
|
|
Packit |
8563b2 |
* License along with this library; if not, write to the
|
|
Packit |
8563b2 |
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Packit |
8563b2 |
* Boston, MA 02110-1301, USA.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
#ifndef __GUPNP_TYPES_H__
|
|
Packit |
8563b2 |
#define __GUPNP_TYPES_H__
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
#include <glib-object.h>
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
G_BEGIN_DECLS
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_BIN_BASE64:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type containing Base-64 encoded binary data.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_BIN_BASE64 \
|
|
Packit |
8563b2 |
(gupnp_bin_base64_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_BIN_HEX:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type containing binary hexadecimal encoded binary data.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_BIN_HEX \
|
|
Packit |
8563b2 |
(gupnp_bin_hex_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_DATE:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type representing a date in ISO 8601 format with no time or timezone.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_DATE \
|
|
Packit |
8563b2 |
(gupnp_date_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_DATE_TIME:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type representing a date in ISO 8601 format with optional time but no timezone.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_DATE_TIME \
|
|
Packit |
8563b2 |
(gupnp_date_time_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_DATE_TIME_TZ:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type representing a date in ISO 8601 format with optional time and timezone.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_DATE_TIME_TZ \
|
|
Packit |
8563b2 |
(gupnp_date_time_tz_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_TIME:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type representing a time in ISO 8601 format with no date or timezone.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_TIME \
|
|
Packit |
8563b2 |
(gupnp_time_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_TIME_TZ:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type representing a time in ISO 8601 format with optional timezone and no date.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_TIME_TZ \
|
|
Packit |
8563b2 |
(gupnp_time_tz_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_URI:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A string type representing a Universal Resource Indentifier.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_URI \
|
|
Packit |
8563b2 |
(gupnp_uri_get_type ())
|
|
Packit |
8563b2 |
/**
|
|
Packit |
8563b2 |
* GUPNP_TYPE_UUID:
|
|
Packit |
8563b2 |
*
|
|
Packit |
8563b2 |
* A Universally Unique ID represented as a hexadecimal-encoded string.
|
|
Packit |
8563b2 |
*/
|
|
Packit |
8563b2 |
#define GUPNP_TYPE_UUID \
|
|
Packit |
8563b2 |
(gupnp_uuid_get_type ())
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_bin_base64_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_bin_hex_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_date_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_date_time_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_date_time_tz_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_time_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_time_tz_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_uri_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
GType
|
|
Packit |
8563b2 |
gupnp_uuid_get_type (void) G_GNUC_CONST; /* string */
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
#define gupnp_value_get_xml_node( value ) \
|
|
Packit |
8563b2 |
(xmlNode *) g_value_get_boxed ((value))
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
#define gupnp_value_get_string( value ) \
|
|
Packit |
8563b2 |
(const char *) g_value_get_boxed ((value))
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
G_END_DECLS
|
|
Packit |
8563b2 |
|
|
Packit |
8563b2 |
#endif /* __GUPNP_TYPES_H__ */
|