aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-download.h
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2004-07-04 06:52:28 +0800
committerXan Lopez <xan@src.gnome.org>2004-07-04 06:52:28 +0800
commit6a0c3f0befbc71168923838d9f2b2dca7ab9d5df (patch)
treef67a33cf1d657024c861d2bc495eb9e9c6bf403a /embed/ephy-download.h
parent5a4f5d1450a62608504d8e157e63257f214e1ea2 (diff)
downloadgsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.tar
gsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.tar.gz
gsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.tar.bz2
gsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.tar.lz
gsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.tar.xz
gsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.tar.zst
gsoc2013-epiphany-6a0c3f0befbc71168923838d9f2b2dca7ab9d5df.zip
Add a MIME icon in the File column. Some indent fixes.
* embed/downloader-view.c: (downloader_view_get_type), (downloader_view_class_init), (downloader_view_init), (downloader_view_finalize), (format_interval), (downloader_view_add_download), (downloader_view_build_ui), (downloader_view_remove_download): Add a MIME icon in the File column. Some indent fixes. * embed/ephy-download.c: (ephy_download_get_mime): * embed/ephy-download.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: Implement the method to get the MIME of a download and port to nsEmbedString. * embed/mozilla/PrintingPromptService.cpp: Remove bogus nsString.h header.
Diffstat (limited to 'embed/ephy-download.h')
-rw-r--r--embed/ephy-download.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-download.h b/embed/ephy-download.h
index fcdf00815..749c55213 100644
--- a/embed/ephy-download.h
+++ b/embed/ephy-download.h
@@ -59,6 +59,7 @@ struct EphyDownloadClass
char * (* get_source) (EphyDownload *download);
char * (* get_target) (EphyDownload *download);
+ char * (* get_mime) (EphyDownload *download);
int (* get_percent) (EphyDownload *download);
long (* get_current_progress) (EphyDownload *download);
long (* get_total_progress) (EphyDownload *download);
@@ -84,6 +85,8 @@ char *ephy_download_get_source (EphyDownload *download);
char *ephy_download_get_target (EphyDownload *download);
+char *ephy_download_get_mime (EphyDownload *download);
+
int ephy_download_get_percent (EphyDownload *download);
EphyDownloadState ephy_download_get_state (EphyDownload *download);