Imported Upstream version 1.2.0
[psensor-pkg-debian.git] / src / graph.h
index 88d4e0e..236b4ea 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (C) 2010-2014 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
  *
  * 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 <gtk/gtk.h>
 
-#include "psensor.h"
-#include "cfg.h"
+#include <cfg.h>
+#include <psensor.h>
+
+extern bool is_smooth_curves_enabled;
 
 void graph_update(struct psensor **sensors,
 
 void graph_update(struct psensor **sensors,
-                 GtkWidget * w_graph,
+                 GtkWidget *w_graph,
                  struct config *config,
                  struct config *config,
-                 GtkWidget * window);
+                 GtkWidget *window);
+
+/* Compute the number of measures which must be kept. */
+int compute_values_max_length(struct config *);
 
 #endif
 
 #endif