updated copyright end date to 2013
[psensor.git] / src / lib / psensor.h
index 0390773..292525a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2010-2013 jeanfi@gmail.com
+ * Copyright (C) 2010-2014 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
@@ -84,7 +84,7 @@ struct psensor {
        struct color *color;
 
        /* Whether the graph sensor is displayed. */
-       bool enabled;
+       bool graph_enabled;
 
        /* see psensor_type */
        unsigned int type;
@@ -136,6 +136,8 @@ void psensor_free(struct psensor *sensor);
 void psensor_list_free(struct psensor **sensors);
 int psensor_list_size(struct psensor **sensors);
 
+struct psensor **psensor_list_filter_graph_enabled(struct psensor **);
+
 struct psensor *psensor_list_get_by_id(struct psensor **sensors,
                                       const char *id);