From 5f01c706267c595de92406a32e7f31ef5056c2d0 Mon Sep 17 00:00:00 2001 From: Lucas de Castro Borges Date: Mon, 22 Apr 2024 00:35:53 -0300 Subject: New upstream version 2.0.3pre --- includes/syncmanager.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'includes/syncmanager.h') 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 + * Copyright (C) 2003-2007 L. A. F. Pereira * * 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 -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__ */ -- cgit v1.2.3