diff options
Diffstat (limited to 'includes/syncmanager.h')
-rw-r--r-- | includes/syncmanager.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/includes/syncmanager.h b/includes/syncmanager.h index ae0ed267..3b886b0f 100644 --- a/includes/syncmanager.h +++ b/includes/syncmanager.h @@ -1,10 +1,10 @@ /* * HardInfo - Displays System Information - * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org> + * Copyright (C) 2003-2007 L. A. F. Pereira <l@tia.mat.br> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, version 2. + * the Free Software Foundation, version 2 or later. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,17 +21,15 @@ #include <gtk/gtk.h> -typedef struct _SyncEntry SyncEntry; +typedef struct _SyncEntry SyncEntry; struct _SyncEntry { - gchar *name; - gchar *fancy_name; - gchar *save_to; - - gchar *(*get_data)(void); - void (*callback)(SyncEntry *entry, const gchar *response); - - gboolean selected; + const gchar *name; + const gchar *file_name; + + gchar *(*generate_contents_for_upload)(gsize *size); + + gboolean selected; }; void sync_manager_add_entry(SyncEntry *entry); @@ -39,4 +37,6 @@ void sync_manager_clear_entries(void); void sync_manager_show(GtkWidget *parent); gint sync_manager_count_entries(void); -#endif /* __SYNCMANAGER_H__ */ +void sync_manager_update_on_startup(void); + +#endif /* __SYNCMANAGER_H__ */ |