/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* * GData Client * Copyright (C) Philip Withnall 2008-2009 * * GData Client is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * GData Client is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with GData Client. If not, see . */ #ifndef GDATA_FEED_H #define GDATA_FEED_H #include #include #include #include #include #include G_BEGIN_DECLS #define GDATA_TYPE_FEED (gdata_feed_get_type ()) #define GDATA_FEED(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_FEED, GDataFeed)) #define GDATA_FEED_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDATA_TYPE_FEED, GDataFeedClass)) #define GDATA_IS_FEED(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDATA_TYPE_FEED)) #define GDATA_IS_FEED_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDATA_TYPE_FEED)) #define GDATA_FEED_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDATA_TYPE_FEED, GDataFeedClass)) typedef struct _GDataFeedPrivate GDataFeedPrivate; /** * GDataFeed: * * All the fields in the #GDataFeed structure are private and should never be accessed directly. **/ typedef struct { /*< private >*/ GDataParsable parent; GDataFeedPrivate *priv; } GDataFeed; /** * GDataFeedClass: * * All the fields in the #GDataFeedClass structure are private and should never be accessed directly. **/ typedef struct { /*< private >*/ GDataParsableClass parent; } GDataFeedClass; GType gdata_feed_get_type (void) G_GNUC_CONST; GList *gdata_feed_get_entries (GDataFeed *self) G_GNUC_PURE; GDataEntry *gdata_feed_look_up_entry (GDataFeed *self, const gchar *id) G_GNUC_PURE; GList *gdata_feed_get_categories (GDataFeed *self) G_GNUC_PURE; GList *gdata_feed_get_links (GDataFeed *self) G_GNUC_PURE; GDataLink *gdata_feed_look_up_link (GDataFeed *self, const gchar *rel) G_GNUC_PURE; GList *gdata_feed_get_authors (GDataFeed *self) G_GNUC_PURE; const gchar *gdata_feed_get_title (GDataFeed *self) G_GNUC_PURE; const gchar *gdata_feed_get_subtitle (GDataFeed *self) G_GNUC_PURE; const gchar *gdata_feed_get_id (GDataFeed *self) G_GNUC_PURE; const gchar *gdata_feed_get_etag (GDataFeed *self) G_GNUC_PURE; gint64 gdata_feed_get_updated (GDataFeed *self); const gchar *gdata_feed_get_logo (GDataFeed *self) G_GNUC_PURE; GDataGenerator *gdata_feed_get_generator (GDataFeed *self) G_GNUC_PURE; const gchar *gdata_feed_get_rights (GDataFeed *self) G_GNUC_PURE; guint gdata_feed_get_items_per_page (GDataFeed *self) G_GNUC_PURE; guint gdata_feed_get_start_index (GDataFeed *self) G_GNUC_PURE; guint gdata_feed_get_total_results (GDataFeed *self) G_GNUC_PURE; const gchar *gdata_feed_get_icon (GDataFeed *self) G_GNUC_PURE; G_END_DECLS #endif /* !GDATA_FEED_H */