|
SpeedCrunch
0.11
|
#include "core/constants.h"#include "core/numberformatter.h"#include "math/hmath.h"#include <QCoreApplication>#include <algorithm>
Classes | |
| struct | Constants::Private |
Defines | |
| #define | PUSH_CONSTANT(NAME, VALUE, UNIT) |
| #define | PUSH_CONSTANT_NO_UNIT(NAME, VALUE) |
| #define | I18N_CONSTANT(NAME) |
| #define | I18N_CONSTANT_DAYS(NAME) |
| #define I18N_CONSTANT | ( | NAME | ) |
i->name = NAME; \
i->category = cat; \
++i;
| #define I18N_CONSTANT_DAYS | ( | NAME | ) |
i->unit = days; \
I18N_CONSTANT(NAME)
| #define PUSH_CONSTANT | ( | NAME, | |
| VALUE, | |||
| UNIT | |||
| ) |
c.value = VALUE; \
c.unit = UNIT; \
list << c;
| #define PUSH_CONSTANT_NO_UNIT | ( | NAME, | |
| VALUE | |||
| ) |
c.value = VALUE; \
list << c;
1.7.6.1