diff options
Diffstat (limited to 'src/plugins/fs/upload.h')
-rw-r--r-- | src/plugins/fs/upload.h | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/src/plugins/fs/upload.h b/src/plugins/fs/upload.h index d3b418cc..55bca7f6 100644 --- a/src/plugins/fs/upload.h +++ b/src/plugins/fs/upload.h | |||
@@ -27,36 +27,27 @@ | |||
27 | #ifndef GTK_UPLOAD_H | 27 | #ifndef GTK_UPLOAD_H |
28 | #define GTK_UPLOAD_H | 28 | #define GTK_UPLOAD_H |
29 | 29 | ||
30 | /** | 30 | #include "fs.h" |
31 | */ | ||
32 | void displayUploadUpdate(struct FSUI_UploadList * list, | ||
33 | const char * filename, | ||
34 | unsigned long long completed, | ||
35 | unsigned long long total); | ||
36 | 31 | ||
37 | /** | 32 | void fs_upload_update(UploadList * list, |
38 | */ | 33 | unsigned long long completed); |
39 | void displayUploadComplete(struct FSUI_UploadList * list, | ||
40 | const char * filename, | ||
41 | const struct ECRS_URI * uri); | ||
42 | 34 | ||
35 | void fs_upload_complete(UploadList * list, | ||
36 | struct ECRS_URI * uri); | ||
43 | 37 | ||
38 | void fs_upload_error(UploadList * list); | ||
39 | |||
40 | void fs_upload_stopped(UploadList * list); | ||
44 | 41 | ||
45 | /** | 42 | /** |
46 | * Add the given result to the model (upload result | 43 | * @param uri NULL if upload is not yet finished |
47 | * list). | ||
48 | * @param info the information to add to the model | ||
49 | * @param uri the upload URI | ||
50 | * @param path the tree path that selects where to add | ||
51 | * the information, NULL for top-level | ||
52 | */ | 44 | */ |
53 | void displayUploadResult(const ECRS_FileInfo * info, | 45 | UploadList * |
54 | const struct ECRS_URI * uri, | 46 | fs_upload_started(struct FSUI_UploadList * fsui, |
55 | GtkTreeRowReference * row); | 47 | UploadList * parent, |
56 | 48 | const char * filename, | |
57 | void fs_upload_start(struct GE_Context * e, | 49 | struct ECRS_URI * uri, |
58 | struct GC_Configuration * c); | 50 | unsigned long long total, |
59 | 51 | unsigned long long completed); | |
60 | void fs_upload_stop(void); | ||
61 | 52 | ||
62 | #endif | 53 | #endif |