summaryrefslogtreecommitdiff
path: root/src/units.h
diff options
context:
space:
mode:
authorPrzemysław Grzywacz <nexather@gmail.com>2013-05-24 18:55:53 +0200
committerPrzemysław Grzywacz <nexather@gmail.com>2013-05-24 18:55:53 +0200
commit05dc1666dc794ed6aa7f6568b768c652f8922c4e (patch)
treeaf83e22418e912e8eb8b2bc6b9595da344f461c1 /src/units.h
parent703cd73c0baa82d5f8ae3a1b390401f17de32f7a (diff)
parentf9cd8a5d6b4460ffcb945979d1e8cd8ebadc9b8d (diff)
downloadmana-client-05dc1666dc794ed6aa7f6568b768c652f8922c4e.tar.gz
mana-client-05dc1666dc794ed6aa7f6568b768c652f8922c4e.tar.bz2
mana-client-05dc1666dc794ed6aa7f6568b768c652f8922c4e.tar.xz
mana-client-05dc1666dc794ed6aa7f6568b768c652f8922c4e.zip
Merge remote-tracking branch 'origin/master' into lpc2012 branch
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.