root/trunk/third/nautilus/components/services/summary/lib/eazel-summary-shared.h @ 15547

Revision 15547, 1.7 KB (checked in by ghudson, 9 years ago)

This commit was generated by cvs2svn to compensate for changes in r15546,
which included commits to RCS files with non-trunk default branches.

Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/*
3 * Copyright (C) 2000 Eazel, Inc
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Authors: J Shane Culpepper
21 */
22
23#ifndef EAZEL_SUMMARY_SHARED_H
24#define EAZEL_SUAMMRY_SHARED_H
25
26#include <libnautilus/nautilus-view.h>
27#include <gtk/gtk.h>
28
29typedef struct _ServicesData ServicesData;
30typedef struct _EazelNewsData EazelNewsData;
31typedef struct _UpdateNewsData UpdateNewsData;
32typedef struct _SummaryData SummaryData;
33
34struct _ServicesData {
35        char            *name;
36        char            *icon;
37        char            *button_label;
38        char            *uri;
39        char            *description_header;
40        char            *description;
41        gboolean        enabled;
42};
43
44struct _EazelNewsData {
45        char            *name;
46        char            *icon;
47        char            *date;
48        char            *message;
49};
50
51struct _UpdateNewsData {
52        char            *name;
53        char            *version;
54        char            *priority;
55        char            *description;
56        char            *icon;
57        char            *button_label;
58        char            *uri;
59        char            *softcat_uri;
60};
61
62struct _SummaryData {
63        GList   *services_list;
64        GList   *eazel_news_list;
65        GList   *update_news_list;
66};
67
68SummaryData * parse_summary_xml_file (const char *url);
69
70#endif /* EAZEL_SUMMARY_SHARED_H */
71
Note: See TracBrowser for help on using the browser.