Imported Upstream version 1.2.0
[psensor-pkg-debian.git] / src / graph.h
index 897ec7b..236b4ea 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2012 jeanfi@gmail.com
+ * Copyright (C) 2010-2016 jeanfi@gmail.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
 
 #include <gtk/gtk.h>
 
-#include "psensor.h"
-#include "cfg.h"
+#include <cfg.h>
+#include <psensor.h>
 
-void graph_update(struct psensor **, GtkWidget *, struct config *config);
+extern bool is_smooth_curves_enabled;
+
+void graph_update(struct psensor **sensors,
+                 GtkWidget *w_graph,
+                 struct config *config,
+                 GtkWidget *window);
+
+/* Compute the number of measures which must be kept. */
+int compute_values_max_length(struct config *);
 
 #endif