![]() |
![]() |
![]() |
libdmapsharing Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define TYPE_DPAP_RECORD #define DPAP_RECORD (o) #define IS_DPAP_RECORD (o) #define DPAP_RECORD_GET_INTERFACE (o) DPAPRecord; DPAPRecordInterface; GType dpap_record_get_type (void
); GInputStream * dpap_record_read (DPAPRecord *record
,GError **err
); GByteArray * dpap_record_to_blob (DPAPRecord *record
); DPAPRecord * dpap_record_new_from_blob (DPAPRecord *record
,GByteArray *blob
);
"aspect-ratio" gchar* : Read / Write "comments" gchar* : Read / Write "creation-date" gint : Read / Write "filename" gchar* : Read / Write "filesize" gint : Read / Write "format" gchar* : Read / Write "large-filesize" gint : Read / Write "location" gchar* : Read / Write "pixel-height" gint : Read / Write "pixel-width" gint : Read / Write "rating" gint : Read / Write "thumbnail" gpointer : Read / Write
#define DPAP_RECORD(o)
Casts a DPAPRecord or derived pointer into a (DPAPRecord *) pointer. Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.
|
Object which is subject to casting. |
#define IS_DPAP_RECORD(o)
Checks whether a valid GTypeInstance pointer is of type TYPE_DPAP_RECORD
.
|
Instance to check for being a TYPE_DPAP_RECORD .
|
#define DPAP_RECORD_GET_INTERFACE(o)
Get the class structure associated to a DPAPRecord instance.
|
a DPAPRecord instance. |
Returns : |
pointer to object interface structure. |
typedef struct { GTypeInterface parent; GInputStream * (*read) (DPAPRecord *record, GError **err); GByteArray * (*to_blob) (DPAPRecord *record); DPAPRecord * (*new_from_blob) (DPAPRecord *record, GByteArray *blob); } DPAPRecordInterface;
GInputStream * dpap_record_read (DPAPRecord *record
,GError **err
);
|
a DPAPRecord. |
|
a GError. |
Returns : |
A GInputStream that provides read-only access to the data stream associated with record. |
GByteArray * dpap_record_to_blob (DPAPRecord *record
);
|
a DPAPRecord. |
Returns : |
A serialized representation of the record. |
DPAPRecord * dpap_record_new_from_blob (DPAPRecord *record
,GByteArray *blob
);
|
|
|
a serialized DPAPRecord representation. |
Returns : |
A DPAPRecord. |
"aspect-ratio"
property"aspect-ratio" gchar* : Read / Write
Photo aspect ratio.
Default value: NULL
"creation-date"
property"creation-date" gint : Read / Write
Photo creation date.
Allowed values: >= 0
Default value: 0
"filesize"
property"filesize" gint : Read / Write
Photo file size.
Allowed values: >= 0
Default value: 0
"large-filesize"
property"large-filesize" gint : Read / Write
Photo large file size.
Allowed values: >= 0
Default value: 0
"location"
property"location" gchar* : Read / Write
URI pointing to photo data.
Default value: NULL
"pixel-height"
property"pixel-height" gint : Read / Write
Photo pixel height.
Allowed values: >= 0
Default value: 0
"pixel-width"
property"pixel-width" gint : Read / Write
Photo pixel width.
Allowed values: >= 0
Default value: 0
"rating"
property"rating" gint : Read / Write
Photo rating.
Allowed values: >= 0
Default value: 0