diff options
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index c0457256b..152da7f89 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -21,6 +21,7 @@ enum watertypes {FRESHWATER, BRACKISHWATER, EN13319WATER, SALTWATER, DC_WATERTYP #include <QString> #include "core/gettextfromc.h" +class QImage; QString weight_string(int weight_in_grams); QString distance_string(int distanceInMeters); @@ -86,6 +87,8 @@ QString getUserAgent(); QString printGPSCoords(const location_t *loc); std::vector<int> get_cylinder_map_for_remove(int count, int n); std::vector<int> get_cylinder_map_for_add(int count, int n); +QImage renderSVGIcon(const char *id, int size); +QImage renderSVGIconWidth(const char *id, int size); extern QString (*changesCallback)(); void uiNotification(const QString &msg); |