summaryrefslogtreecommitdiff
path: root/src/trg-files-model.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-12 10:54:29 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-04-12 10:54:29 +0000
commit42eddac0e9f0216175fef223fd9b1023ed502a6e (patch)
tree7fd853c8fdabc678bc1df0f4eb5160420347ac8e /src/trg-files-model.h
parentf4a194f08d0c48641f5394cd07be61931a432241 (diff)
some quite significant changes to only receive/update recently-active torrents, if enabled. also use a hash table and tree row references for lookup. hopefully performance will be much better for people with large number of torrents.
Diffstat (limited to 'src/trg-files-model.h')
-rw-r--r--src/trg-files-model.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-files-model.h b/src/trg-files-model.h
index 76dccf7..c47c361 100644
--- a/src/trg-files-model.h
+++ b/src/trg-files-model.h
@@ -62,7 +62,7 @@ G_END_DECLS enum {
void
trg_files_model_update(TrgFilesModel * model, gint64 updateSerial,
- JsonObject * t, gboolean first);
+ JsonObject * t, gint mode);
gint64 trg_files_model_get_torrent_id(TrgFilesModel * model);
void trg_files_model_set_accept(TrgFilesModel * model, gboolean accept);