~ubuntu-branches/ubuntu/trusty/totem-pl-parser/trusty-proposed

« back to all changes in this revision

Viewing changes to plparse/totem-pl-parser.h

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2012-03-09 13:39:14 UTC
  • mfrom: (1.4.16) (1.5.12 sid)
  • Revision ID: package-import@ubuntu.com-20120309133914-e6iab9fcyg8cmw33
Tags: 3.2.0-1
* New upstream release.
* debian/patches/01-libquvi-0.4.patch: Removed, merged upstream.
* debian/control.in: Bump (Build-)Depends on libglib2.0-dev to (>= 2.31.0).

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        TOTEM_PL_PARSER_RESULT_CANCELLED
58
58
} TotemPlParserResult;
59
59
 
 
60
typedef struct TotemPlParserPrivate TotemPlParserPrivate;
 
61
 
60
62
/**
61
63
 * TotemPlParser:
62
64
 *
63
65
 * All the fields in the #TotemPlParser structure are private and should never be accessed directly.
64
66
 **/
65
 
typedef struct _TotemPlParser          TotemPlParser;
66
 
typedef struct TotemPlParserClass      TotemPlParserClass;
67
 
typedef struct TotemPlParserPrivate    TotemPlParserPrivate;
68
 
 
69
 
struct _TotemPlParser {
 
67
typedef struct {
70
68
        GObject parent;
71
69
        TotemPlParserPrivate *priv;
72
 
};
 
70
} TotemPlParser;
73
71
 
74
72
/* Known metadata fields */
75
73
 
273
271
 *
274
272
 * The class structure for the #TotemPlParser type.
275
273
 **/
276
 
struct TotemPlParserClass {
 
274
typedef struct {
277
275
        GObjectClass parent_class;
278
276
 
279
277
        /* signals */
285
283
                                  GHashTable *metadata);
286
284
        void (*playlist_ended) (TotemPlParser *parser,
287
285
                                const char *uri);
288
 
};
 
286
} TotemPlParserClass;
289
287
 
290
288
/**
291
289
 * TotemPlParserType:
364
362
 
365
363
TotemPlParser *totem_pl_parser_new (void);
366
364
 
 
365
/**
 
366
 * TotemPlParserMetadata:
 
367
 *
 
368
 * An alias for #GHashTable, used in the #TotemPlParser::entry-parsed and
 
369
 * #TotemPlParser::playlist-started signals due to #GHashTable not being a
 
370
 * boxed type when totem-pl-parser was originally written.
 
371
 *
 
372
 * The hash table is a mapping from field names (such as
 
373
 * %TOTEM_PL_PARSER_FIELD_ALBUM) to their associated values.
 
374
 *
 
375
 * It is safe to use #GHashTable instead of #TotemPlParserMetadata everywhere.
 
376
 */
 
377
typedef GHashTable TotemPlParserMetadata;
 
378
 
367
379
GType totem_pl_parser_metadata_get_type (void) G_GNUC_CONST;
368
380
#define TOTEM_TYPE_PL_PARSER_METADATA (totem_pl_parser_metadata_get_type())
369
381