summaryrefslogtreecommitdiff
path: root/src/units.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/units.h')
-rw-r--r--src/units.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/units.h b/src/units.h
index 1e923f33..96953b30 100644
--- a/src/units.h
+++ b/src/units.h
@@ -23,14 +23,16 @@
#define UNITS_H
#include <string>
+#include "utils/xml.h"
class Units
{
public:
- /**
- * Loads and parses the units.xml file (if found).
- */
- static void loadUnits();
+ static void init();
+
+ static void readUnitNode(xmlNodePtr node, const std::string &filename);
+
+ static void checkStatus();
/**
* Formats the given number in the correct currency format.