#ifndef _PSENSOR_CONFIG_H_
#define _PSENSOR_CONFIG_H_
+#include <gio/gio.h>
+
#include <bool.h>
#include <color.h>
int config_get_slog_interval();
+bool config_is_smooth_curves_enabled();
+void config_set_smooth_curves_enabled(bool);
+
int config_get_sensor_position(const char *);
void config_set_sensor_position(const char *, int);
void config_sync();
+GSettings *config_get_GSettings();
+
#endif
#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,
- GtkWidget * w_graph,
+ GtkWidget *w_graph,
struct config *config,
- GtkWidget * window);
+ GtkWidget *window);
#endif