summaryrefslogtreecommitdiff
path: root/multiload/load-graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'multiload/load-graph.h')
-rw-r--r--multiload/load-graph.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/multiload/load-graph.h b/multiload/load-graph.h
new file mode 100644
index 00000000..a45542c1
--- /dev/null
+++ b/multiload/load-graph.h
@@ -0,0 +1,24 @@
+#ifndef LOAD_GRAPH_H__
+#define LOAD_GRAPH_H__
+
+#include "global.h"
+
+/* Create new load graph. */
+G_GNUC_INTERNAL LoadGraph *
+load_graph_new (MultiloadApplet *multiload, guint n, const gchar *label,
+ guint id, guint speed, guint size, gboolean visible,
+ const gchar *name, LoadGraphDataFunc get_data);
+
+/* Start load graph. */
+G_GNUC_INTERNAL void
+load_graph_start (LoadGraph *g);
+
+/* Stop load graph. */
+G_GNUC_INTERNAL void
+load_graph_stop (LoadGraph *g);
+
+/* free load graph */
+G_GNUC_INTERNAL void
+load_graph_unalloc (LoadGraph *g);
+
+#endif