diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-26 18:32:52 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-29 16:13:03 -0700 |
commit | 937fdb500b94244b2da0d72776d939e78a56fa33 (patch) | |
tree | 6faeafc717b9c9050185280cd76e5c1ec590382a /packaging/ios | |
parent | 634e26cbcea064d6ef3d7550dacf54196547bedb (diff) | |
download | subsurface-937fdb500b94244b2da0d72776d939e78a56fa33.tar.gz |
filter: add primitive filter presets
Add a rudimentary list of filter presets to the core. The list
is sorted by name. Access is provided via a C interface so that
the presets can be written to the git and XML logs. Internally,
the list is realized by a C++ vector for convenience (euphemism for
laziness).
Morover, a C++ interface is provided for the UI. Currently names of
the presets cannot be edited, since this would mean that the order
of the list changes. This may be implemented later if required.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging/ios')
-rw-r--r-- | packaging/ios/Subsurface-mobile.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index fb915a56b..a34e4ad4b 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -55,6 +55,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../core/dive.c \ ../../core/divefilter.cpp \ ../../core/filterconstraint.cpp \ + ../../core/filterpreset.cpp \ ../../core/divelist.c \ ../../core/gas-model.c \ ../../core/gaspressures.c \ @@ -220,6 +221,7 @@ HEADERS += \ ../../core/display.h \ ../../core/divefilter.h \ ../../core/filterconstraint.h \ + ../../core/filterpreset.h \ ../../core/divelist.h \ ../../core/divelogexportlogic.h \ ../../core/divesitehelpers.h \ |