aboutsummaryrefslogtreecommitdiff
path: root/details.h
diff options
context:
space:
mode:
authorAgney Lopes Roth Ferraz <agney@users.sourceforge.net>2005-06-13 18:34:20 -0300
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:31 -0500
commit61dfceab1e3e9d77aa2900a6e333961f89c4ef45 (patch)
tree673b0f2f59b4b9ed4c2595a5690aa63480190103 /details.h
parent7d65a12d6431f72e601ea1d0c3ef5d09af8bfb96 (diff)
parenta08438bda21b3e0d7db2db2360d040841970104d (diff)
Import Debian changes 0.3.7pre-1
hardinfo (0.3.7pre-1) unstable; urgency=low * New upstream release. (Closes: #280694, #300114, #233033)
Diffstat (limited to 'details.h')
-rw-r--r--details.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/details.h b/details.h
new file mode 100644
index 00000000..e7512173
--- /dev/null
+++ b/details.h
@@ -0,0 +1,40 @@
+#ifndef __DETAILS_H__
+#define __DETAILS_H__
+
+#include <gtk/gtk.h>
+#include "config.h"
+
+typedef struct _DetailWindow DetailWindow;
+
+struct _DetailWindow {
+ GtkWidget *window;
+ GtkWidget *vbox;
+ GtkWidget *notebook;
+ GtkWidget *icon;
+ GtkWidget *name_label;
+
+ gchar *device_name;
+ gchar *device_type;
+ gchar *manufacturer;
+
+ GtkWidget *info_table;
+ gint last_info;
+};
+
+gboolean detail_window_close(GtkWidget *widget, gpointer data);
+DetailWindow *detail_window_new(void);
+void detail_window_set_icon(DetailWindow *dw, const gchar *path);
+void detail_window_show(GtkWidget *widget, gpointer data);
+
+void detail_window_set_dev_name(DetailWindow *dw, const gchar *name);
+void detail_window_set_dev_type(DetailWindow *dw, const gchar *type);
+void detail_window_update_names(DetailWindow *dw);
+
+void detail_window_append_info(DetailWindow *dw, const gchar *name,
+ gchar *val);
+void detail_window_append_info_int(DetailWindow *dw, const gchar *name,
+ gint val, gboolean hex);
+void detail_window_append_separator(DetailWindow *dw);
+
+
+#endif