[Xfce4-commits] <xfce4-weather-plugin:master> Add enums for supported units.

Harald Judt noreply at xfce.org
Tue Nov 27 16:46:08 CET 2012


Updating branch refs/heads/master
         to 3f0f65deee4f534daf5ffe6be5ecac40c176124a (commit)
       from a830d1570a5edfe35e928347e6e8d561c02cfbdf (commit)

commit 3f0f65deee4f534daf5ffe6be5ecac40c176124a
Author: Harald Judt <h.judt at gmx.at>
Date:   Fri Nov 23 09:01:40 2012 +0100

    Add enums for supported units.

 panel-plugin/weather-data.h |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/panel-plugin/weather-data.h b/panel-plugin/weather-data.h
index 288ceaf..59091bd 100644
--- a/panel-plugin/weather-data.h
+++ b/panel-plugin/weather-data.h
@@ -48,6 +48,34 @@ typedef enum {
 } unit_systems;
 
 typedef enum {
+    CELSIUS,
+    FAHRENHEIT
+} units_temperature;
+
+typedef enum {
+    HECTOPASCAL,
+    INCH_MERCURY,
+    PSI,
+    TORR
+} units_pressure;
+
+typedef enum {
+    KMH,
+    MPH,
+    MPS
+} units_windspeed;
+
+typedef enum {
+    MILLIMETERS,
+    INCHES
+} units_precipitations;
+
+typedef enum {
+    METERS,
+    FEET
+} units_altitude;
+
+typedef enum {
     MORNING,
     AFTERNOON,
     EVENING,


More information about the Xfce4-commits mailing list