SpeedCrunch  0.11
Classes | Defines
/usr/src/RPM/BUILD/speedcrunch-0.11/src/core/constants.cpp File Reference
#include "core/constants.h"
#include "core/numberformatter.h"
#include "math/hmath.h"
#include <QCoreApplication>
#include <algorithm>
Include dependency graph for constants.cpp:

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 Documentation

#define I18N_CONSTANT (   NAME)
Value:
i->name = NAME; \
    i->category = cat; \
    ++i;
#define I18N_CONSTANT_DAYS (   NAME)
Value:
i->unit = days; \
    I18N_CONSTANT(NAME)
#define PUSH_CONSTANT (   NAME,
  VALUE,
  UNIT 
)
Value:
c.value = VALUE; \
    c.unit = UNIT; \
    list << c;
#define PUSH_CONSTANT_NO_UNIT (   NAME,
  VALUE 
)
Value:
c.value = VALUE; \
    list << c;