diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-05-28 17:17:09 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-29 14:11:12 -0700 |
commit | d84ffa8fc3162692597c19c42e621f7d8ac58dca (patch) | |
tree | c0817f3684a6adfa025205506bb2d3672e21e997 /qthelper.h | |
parent | a0f3c9992c0f9d2134742b5ba7fd532094c1a865 (diff) | |
download | subsurface-d84ffa8fc3162692597c19c42e621f7d8ac58dca.tar.gz |
Move WeightModel to qt-models
One more step to make it easyer to port the app to Mobile.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.h')
-rw-r--r-- | qthelper.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qthelper.h b/qthelper.h index 0b1e3b111..310133f36 100644 --- a/qthelper.h +++ b/qthelper.h @@ -27,4 +27,10 @@ void add_hash(const QString filename, QByteArray hash); QString localFilePath(const QString originalFilename); QString fileFromHash(char *hash); void learnHash(struct picture *picture, QByteArray hash); +weight_t string_to_weight(const char *str); +depth_t string_to_depth(const char *str); +pressure_t string_to_pressure(const char *str); +volume_t string_to_volume(const char *str, pressure_t workp); +fraction_t string_to_fraction(const char *str); + #endif // QTHELPER_H |