aboutsummaryrefslogtreecommitdiff
path: root/syncmanager.h
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:41 -0500
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:41 -0500
commit11b8179a57e675c6672cbe649c655230ae3e9744 (patch)
tree2919c366d51e154e65279156fef5b4f97b8fd2f9 /syncmanager.h
parent720f5023a8f68aaaa54cb6b7bf46efee23b5b4c3 (diff)
Import Upstream version 0.4.2.1
Diffstat (limited to 'syncmanager.h')
-rw-r--r--syncmanager.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/syncmanager.h b/syncmanager.h
new file mode 100644
index 00000000..9cd812d0
--- /dev/null
+++ b/syncmanager.h
@@ -0,0 +1,39 @@
+/*
+ * HardInfo - Displays System Information
+ * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@linuxmag.com.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.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __SYNCMANAGER_H__
+#define __SYNCMANAGER_H__
+
+#include <gtk/gtk.h>
+
+typedef struct _SyncEntry SyncEntry;
+
+struct _SyncEntry {
+ gchar *name;
+ gchar *fancy_name;
+ gchar *save_to;
+
+ gchar *(*get_data)(void);
+
+ gboolean selected;
+};
+
+void sync_manager_add_entry(SyncEntry *entry);
+void sync_manager_show(void);
+
+#endif /* __SYNCMANAGER_H__ */