aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-download.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@src.gnome.org>2003-10-17 01:28:46 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-17 01:28:46 +0800
commit24fc218c90c70a06011a851df6991bf34b72d6c3 (patch)
tree6bb9ee7e434a3b10e636634cbaaa997e6ccebf1f /embed/mozilla/mozilla-download.h
parentb7a8e995fde6c3cf6ac82ea2390c3c4b510024c5 (diff)
downloadgsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.gz
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.bz2
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.lz
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.xz
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.tar.zst
gsoc2013-epiphany-24fc218c90c70a06011a851df6991bf34b72d6c3.zip
Merge new-downloader branch. We reworked the backend, the user
interface is still incomplete.
Diffstat (limited to 'embed/mozilla/mozilla-download.h')
-rw-r--r--embed/mozilla/mozilla-download.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-download.h b/embed/mozilla/mozilla-download.h
new file mode 100644
index 000000000..3d92cc24d
--- /dev/null
+++ b/embed/mozilla/mozilla-download.h
@@ -0,0 +1,57 @@
+/*
+ * Copyright (C) 2000, 2001, 2002 Marco Pesenti Gritti
+ *
+ * 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, 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.
+ */
+
+#ifndef MOZILLA_DOWNLOAD_H
+#define MOZILLA_DOWNLOAD_H
+
+#include "MozDownload.h"
+
+#include <glib-object.h>
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+#define MOZILLA_TYPE_DOWNLOAD (mozilla_download_get_type ())
+#define MOZILLA_DOWNLOAD(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MOZILLA_TYPE_DOWNLOAD, MozillaDownload))
+#define MOZILLA_DOWNLOAD_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), MOZILLA_TYPE_DOWNLOAD, MozillaDownloadClass))
+#define MOZILLA_IS_DOWNLOAD(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), MOZILLA_TYPE_DOWNLOAD))
+#define MOZILLA_IS_DOWNLOAD_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), MOZILLA_TYPE_DOWNLOAD))
+#define MOZILLA_DOWNLOAD_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), MOZILLA_TYPE_DOWNLOAD, MozillaDownloadClass))
+
+typedef struct MozillaDownloadClass MozillaDownloadClass;
+typedef struct MozillaDownload MozillaDownload;
+typedef struct MozillaDownloadPrivate MozillaDownloadPrivate;
+
+struct MozillaDownload
+{
+ EphyDownload parent;
+ MozDownload *moz_download;
+};
+
+struct MozillaDownloadClass
+{
+ EphyDownloadClass parent_class;
+};
+
+GType mozilla_download_get_type (void);
+
+EphyDownload *mozilla_download_new (void);
+
+G_END_DECLS
+
+#endif