Changeset 17 for trunk/gtk/prefs.h


Ignore:
Timestamp:
Jan 12, 2006, 6:55:27 PM (16 years ago)
Author:
root
Message:

Update 2005-12-18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/prefs.h

    r7 r17  
    3636#define PREF_DIR                "download-directory"
    3737
     38#define DEFAULT_UPLIMIT         20
     39
     40typedef gboolean (*add_torrent_func_t)(tr_handle_t*, GtkWindow*, const char*, const char *, gboolean);
     41typedef void (*torrents_added_func_t)(void *);
     42
    3843void
    3944makeprefwindow(GtkWindow *parent, tr_handle_t *tr);
     
    4348setlimit(tr_handle_t *tr);
    4449
     50/* show the "add a torrent" dialog */
     51void
     52makeaddwind(add_torrent_func_t addfunc, GtkWindow *parent, tr_handle_t *tr,
     53            torrents_added_func_t donefunc, void *donedata);
     54
    4555#endif /* TG_PREFS_H */
Note: See TracChangeset for help on using the changeset viewer.