aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-persist.h
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-11 20:56:54 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-11 20:56:54 +0800
commit476dd3a483d5002b07859036b1b7dbb6f883e4f9 (patch)
tree1d25606e82e82faf3a06b85635b0b3502d6416c2 /embed/ephy-embed-persist.h
parentaa24bfd629dfa18c35b98eedcbb06f6d1e64cec2 (diff)
downloadgsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar
gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.gz
gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.bz2
gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.lz
gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.xz
gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.tar.zst
gsoc2013-epiphany-476dd3a483d5002b07859036b1b7dbb6f883e4f9.zip
Implement a cancel api. Fix refcount to really destroy the WebPersist
2003-01-11 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_cancel): * embed/ephy-embed-persist.h: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-persist.h: Implement a cancel api. Fix refcount to really destroy the WebPersist object when done.
Diffstat (limited to 'embed/ephy-embed-persist.h')
-rw-r--r--embed/ephy-embed-persist.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed/ephy-embed-persist.h b/embed/ephy-embed-persist.h
index 2ad883647..144927003 100644
--- a/embed/ephy-embed-persist.h
+++ b/embed/ephy-embed-persist.h
@@ -69,10 +69,14 @@ struct EphyEmbedPersistClass
gresult (* set_source) (EphyEmbedPersist *persist,
const char *url);
+
gresult (* set_dest) (EphyEmbedPersist *persist,
const char *dir);
+
gresult (* save) (EphyEmbedPersist *persist);
+ gresult (* cancel) (EphyEmbedPersist *persist);
+
gresult (* set_max_size) (EphyEmbedPersist *persist,
int max_size);
@@ -124,6 +128,8 @@ gresult ephy_embed_persist_get_flags (EphyEmbedPersist *persist,
gresult ephy_embed_persist_save (EphyEmbedPersist *persist);
+gresult ephy_embed_persist_cancel (EphyEmbedPersist *persist);
+
G_END_DECLS
#endif