/usr/include/libgrss/feed-item.h is in libgrss-dev 0.5.0-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | /*
* Copyright (C) 2009-2012, Roberto Guido <rguido@src.gnome.org>
* Michele Tameni <michele@amdplanet.it>
*
* This library 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 3 of the License, or (at your option) any later version.
*
* This library 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 this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __FEED_ITEM_H__
#define __FEED_ITEM_H__
#include "libgrss.h"
#define GRSS_FEED_ITEM_TYPE (grss_feed_item_get_type())
#define GRSS_FEED_ITEM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GRSS_FEED_ITEM_TYPE, GrssFeedItem))
#define GRSS_FEED_ITEM_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GRSS_FEED_ITEM_TYPE, GrssFeedItemClass))
#define GRSS_IS_FEED_ITEM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GRSS_FEED_ITEM_TYPE))
#define GRSS_IS_FEED_ITEM_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GRSS_FEED_ITEM_TYPE))
#define GRSS_FEED_ITEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GRSS_FEED_ITEM_TYPE, GrssFeedItemClass))
typedef struct _GrssFeedItem GrssFeedItem;
typedef struct _GrssFeedItemPrivate GrssFeedItemPrivate;
struct _GrssFeedItem {
GObject parent;
GrssFeedItemPrivate *priv;
};
typedef struct {
GObjectClass parent;
} GrssFeedItemClass;
GType grss_feed_item_get_type () G_GNUC_CONST;
GrssFeedItem* grss_feed_item_new (GrssFeedChannel *parent);
GrssFeedChannel* grss_feed_item_get_parent (GrssFeedItem *item);
void grss_feed_item_set_id (GrssFeedItem *item, gchar *id);
const gchar* grss_feed_item_get_id (GrssFeedItem *item);
void grss_feed_item_set_title (GrssFeedItem *item, gchar *title);
const gchar* grss_feed_item_get_title (GrssFeedItem *item);
void grss_feed_item_set_description (GrssFeedItem *item, gchar *description);
const gchar* grss_feed_item_get_description (GrssFeedItem *item);
void grss_feed_item_add_category (GrssFeedItem *item, gchar *category);
const GList* grss_feed_item_get_categories (GrssFeedItem *item);
void grss_feed_item_set_source (GrssFeedItem *item, gchar *source);
const gchar* grss_feed_item_get_source (GrssFeedItem *item);
void grss_feed_item_set_real_source (GrssFeedItem *item, gchar *realsource, gchar *title);
void grss_feed_item_get_real_source (GrssFeedItem *item, const gchar **realsource, const gchar **title);
void grss_feed_item_set_related (GrssFeedItem *item, gchar *related);
const gchar* grss_feed_item_get_related (GrssFeedItem *item);
void grss_feed_item_set_copyright (GrssFeedItem *item, gchar *copyright);
const gchar* grss_feed_item_get_copyright (GrssFeedItem *item);
void grss_feed_item_set_author (GrssFeedItem *item, gchar *author);
const gchar* grss_feed_item_get_author (GrssFeedItem *item);
void grss_feed_item_add_contributor (GrssFeedItem *item, gchar *contributor);
const GList* grss_feed_item_get_contributors (GrssFeedItem *item);
void grss_feed_item_set_comments_url (GrssFeedItem *item, gchar *url);
const gchar* grss_feed_item_get_comments_url (GrssFeedItem *item);
void grss_feed_item_set_geo_point (GrssFeedItem *item, double latitude, double longitude);
gboolean grss_feed_item_get_geo_point (GrssFeedItem *item, double *latitude, double *longitude);
void grss_feed_item_set_publish_time (GrssFeedItem *item, time_t publish);
time_t grss_feed_item_get_publish_time (GrssFeedItem *item);
void grss_feed_item_add_enclosure (GrssFeedItem *item, GrssFeedEnclosure *enclosure);
const GList* grss_feed_item_get_enclosures (GrssFeedItem *item);
#endif /* __FEED_ITEM_H__ */
|