summaryrefslogtreecommitdiffstats
path: root/subsurface-core/units.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2016-01-22 18:37:18 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-24 21:27:05 -0800
commitfd175e87812a0ec83206c60b18c50f2f49ed1838 (patch)
treebc3f74d2b5817ddb2da537367e89cd520b97a5cb /subsurface-core/units.h
parentb01bca7953808332e216d1254256c1bfb57017c5 (diff)
downloadsubsurface-fd175e87812a0ec83206c60b18c50f2f49ed1838.tar.gz
Make it compile
This is not hoocked up on Subsurface code yet, but it's already being compilled. now I just need to hoock things up. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/units.h')
-rw-r--r--subsurface-core/units.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/subsurface-core/units.h b/subsurface-core/units.h
index 9d1b0fc8c..9ad4b7282 100644
--- a/subsurface-core/units.h
+++ b/subsurface-core/units.h
@@ -228,29 +228,29 @@ static inline int mbar_to_PSI(int mbar)
#undef PASCAL
#endif
struct units {
- enum {
+ enum LENGHT {
METERS,
FEET
} length;
- enum {
+ enum VOLUME {
LITER,
CUFT
} volume;
- enum {
+ enum PRESSURE {
BAR,
PSI,
PASCAL
} pressure;
- enum {
+ enum TEMPERATURE {
CELSIUS,
FAHRENHEIT,
KELVIN
} temperature;
- enum {
+ enum WEIGHT {
KG,
LBS
} weight;
- enum {
+ enum TIME {
SECONDS,
MINUTES
} vertical_speed_time;