media: add small C++ helper describing a picture struct

By using a std::string instead of a C-string, memory management
becomes so much simpler! This class will be used for keeping track
of deleted/added pictures in the undo system.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-17 16:49:15 +02:00 committed by Dirk Hohndel
parent 6f8cc5aafe
commit fe82cb32b9
4 changed files with 56 additions and 0 deletions

View file

@ -64,6 +64,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \
../../core/parse-xml.c \
../../core/parse.c \
../../core/picture.c \
../../core/pictureobj.cpp \
../../core/import-suunto.c \
../../core/import-shearwater.c \
../../core/import-cobalt.c \
@ -205,6 +206,7 @@ HEADERS += \
../../core/units.h \
../../core/version.h \
../../core/picture.h \
../../core/pictureobj.h \
../../core/planner.h \
../../core/divesite.h \
../../core/checkcloudconnection.h \