summaryrefslogtreecommitdiff
path: root/components/services/summary/lib/eazel-summary-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/services/summary/lib/eazel-summary-shared.h')
-rw-r--r--components/services/summary/lib/eazel-summary-shared.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/components/services/summary/lib/eazel-summary-shared.h b/components/services/summary/lib/eazel-summary-shared.h
new file mode 100644
index 000000000..8b70a1ad3
--- /dev/null
+++ b/components/services/summary/lib/eazel-summary-shared.h
@@ -0,0 +1,70 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/*
+ * Copyright (C) 2000 Eazel, Inc
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program 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
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Authors: J Shane Culpepper
+ */
+
+#ifndef EAZEL_SUMMARY_SHARED_H
+#define EAZEL_SUAMMRY_SHARED_H
+
+#include <libnautilus/nautilus-view.h>
+#include <gtk/gtk.h>
+
+typedef struct _ServicesData ServicesData;
+typedef struct _EazelNewsData EazelNewsData;
+typedef struct _UpdateNewsData UpdateNewsData;
+typedef struct _SummaryData SummaryData;
+
+struct _ServicesData {
+ char *name;
+ char *icon;
+ char *button_label;
+ char *uri;
+ char *description_header;
+ char *description;
+ gboolean enabled;
+};
+
+struct _EazelNewsData {
+ char *name;
+ char *icon;
+ char *date;
+ char *message;
+};
+
+struct _UpdateNewsData {
+ char *name;
+ char *version;
+ char *priority;
+ char *description;
+ char *icon;
+ char *button_label;
+ char *uri;
+ char *softcat_uri;
+};
+
+struct _SummaryData {
+ GList *services_list;
+ GList *eazel_news_list;
+ GList *update_news_list;
+};
+
+SummaryData * parse_summary_xml_file (const char *url);
+
+#endif /* EAZEL_SUMMARY_SHARED_H */