summaryrefslogtreecommitdiffstats
path: root/src/download.h
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-29 14:51:07 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-29 14:51:07 (EDT)
commit4c3e1927b48a981e7481c27514393fc1e32f408d (patch)
treef2eb021b4ad18eecc4e7eb63dece324edb4a9aa8 /src/download.h
parent6b25c8a994a84da1b629e14cc4ce149d43da9b3a (diff)
downloadmarquee-4c3e1927b48a981e7481c27514393fc1e32f408d.zip
marquee-4c3e1927b48a981e7481c27514393fc1e32f408d.tar.gz
marquee-4c3e1927b48a981e7481c27514393fc1e32f408d.tar.bz2
MqDownload: New type
Diffstat (limited to 'src/download.h')
-rw-r--r--src/download.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/download.h b/src/download.h
new file mode 100644
index 0000000..92681fc
--- /dev/null
+++ b/src/download.h
@@ -0,0 +1,38 @@
+/*
+ * Download
+ *
+ * Copyright (C) 2017 Patrick McDermott
+ *
+ * This file is part of Marquee.
+ *
+ * Marquee 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Marquee 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 Marquee. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MQ_DOWNLOAD_H
+#define MQ_DOWNLOAD_H
+
+typedef struct _MqDownload MqDownload;
+
+#include <webkit2/webkit2.h>
+
+#include "config.h"
+
+G_BEGIN_DECLS
+
+MqDownload *
+mq_download_new(MqConfig *config, WebKitDownload *wk_download);
+
+G_END_DECLS
+
+#endif /* MQ_DOWNLOAD_H */