mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
8391d926c7
These just make no sense. Since the value is copied, it has no meaning to the caller whether the function can change the value (and vice versa for return types). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
28 lines
950 B
C++
28 lines
950 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef EXPORTFUNCS_H
|
|
#define EXPORTFUNCS_H
|
|
|
|
#include <QString>
|
|
#include <QFuture>
|
|
|
|
struct dive_site;
|
|
|
|
void exportProfile(QString filename, bool selected_only);
|
|
void export_TeX(const char *filename, bool selected_only, bool plain);
|
|
void export_depths(const char *filename, bool selected_only);
|
|
std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly);
|
|
QFuture<int> exportUsingStyleSheet(QString filename, bool doExport, int units, QString stylesheet, bool anonymize);
|
|
|
|
// prepareDivesForUploadDiveLog
|
|
// prepareDivesForUploadDiveShare
|
|
|
|
// WARNING
|
|
// exportProfile uses the UI and are therefore different between
|
|
// Desktop (UI) and Mobile (QML)
|
|
// In order to solve this difference, the actual implementations
|
|
// are done in
|
|
// desktop-widgets/divelogexportdialog.cpp and
|
|
// mobile-widgets/qmlmanager.cpp
|
|
void exportProfile(const struct dive *dive, const QString filename);
|
|
|
|
#endif // EXPORT_FUNCS_H
|