mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a0f3c9992c
commit
d84ffa8fc3
10 changed files with 337 additions and 319 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue